[debug]Set-XrmSolutionVersion : The request channel timed out while waiting for a reply after 00:02:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
[debug]at , D:\APGVisualStudioAgent-1_work_tool\MSCRMBuildTools\12.0.95\xRMCIFramework\9.0.0\UpdateSolutionVersionInCRM.ps1: line 32
[debug]at , D:\APGVisualStudioAgent-1_work_tasks\MSCRMSetVersion_1cacdeec-c8dd-4091-a522-5a8fbf49c851\12.0.4\MSCRMSetVersion.ps1: line 38
[debug]at , : line 1
[debug]at , : line 22
[debug]at , : line 18
[debug]at , : line 1
[debug]Exception:
[debug]System.TimeoutException: The request channel timed out while waiting for a reply after 00:02:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'https://dev-apg.crm4.dynamics.com/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.0.45.2282' has exceeded the allotted timeout of 00:02:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
[debug] at System.Net.HttpWebRequest.GetResponse()
[debug] at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
[debug] --- End of inner exception stack trace ---
[debug] at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
[debug] at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
[debug] at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
[debug] --- End of inner exception stack trace ---
[debug]
[debug]Server stack trace:
[debug] at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
[debug] at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
These are the entries in the logging of the task:
[debug]Set-XrmSolutionVersion : The request channel timed out while waiting for a reply after 00:02:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
[debug]At D:\APGVisualStudioAgent-1_work_tool\MSCRMBuildTools\12.0.95\xRMCIFramework\9.0.0\UpdateSolutionVersionInCRM.ps1:32 char:1
[debug]+ Set-XrmSolutionVersion -ConnectionString $CrmConnectionString -Soluti ...
[debug]+
~~~~~~~~~~~~~~~~~[debug] + CategoryInfo : NotSpecified: (:) [Set-XrmSolutionVersion], TimeoutException
[debug] + FullyQualifiedErrorId : System.TimeoutException,Xrm.Framework.CI.PowerShell.Cmdlets.SetXrmSolutionVersionCommand
[debug]
[debug]Script stack trace:
[debug]at, D:\APGVisualStudioAgent-1_work_tool\MSCRMBuildTools\12.0.95\xRMCIFramework\9.0.0\UpdateSolutionVersionInCRM.ps1: line 32
[debug]at, D:\APGVisualStudioAgent-1_work_tasks\MSCRMSetVersion_1cacdeec-c8dd-4091-a522-5a8fbf49c851\12.0.4\MSCRMSetVersion.ps1: line 38
[debug]at, : line 1
[debug]at, : line 22
[debug]at, : line 18
[debug]at, : line 1
[debug]Exception:
[debug]System.TimeoutException: The request channel timed out while waiting for a reply after 00:02:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'https://dev-apg.crm4.dynamics.com/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.0.45.2282' has exceeded the allotted timeout of 00:02:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
[debug] at System.Net.HttpWebRequest.GetResponse()
[debug] at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
[debug] --- End of inner exception stack trace ---
[debug] at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
[debug] at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
[debug] at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
[debug] --- End of inner exception stack trace ---
[debug]
[debug]Server stack trace:
[debug] at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
[debug] at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
[debug] at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
[debug] at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
[debug] at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
[debug]
[debug]Exception rethrown at [0]:
[debug] at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.Update(Entity entity)
[debug] at Xrm.Framework.CI.PowerShell.Cmdlets.SetXrmSolutionVersionCommand.ProcessRecord()
[debug] at System.Management.Automation.CommandProcessor.ProcessRecord()