Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Import-CRMOrganization fails with timeout error

$
0
0

Hi All,

Import-CRMOrganization fails while importing the CRM2011 organization in CRM2013 with the below error. But everything works fine when doing it from GUI (Deployment Manager).

PS C:\> Import-CrmOrganization -SqlServerName Server1 -DatabaseName Organization_MSCRM -SrsUrl $url -UserMappingMethod KeepExisting -ErrorAction SilentlyContinue -Timeout 0
Import-CrmOrganization : Source    : mscorlib
Method    : HandleReturnMessage
Date    : 7:56:25 AM
Time    : 12/4/2015
Error    : The request channel timed out while waiting for a reply after 00:01:59.9902174. 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.
Stack Trace    :
======================================================================================================================
Inner Exception Level 1    :
Source    : System.ServiceModel
Method    : ProcessGetResponseWebException
Date    : 7:56:25 AM
Time    : 12/4/2015
Error    : The HTTP request to 'server1/.../deployment.svc' has exceeded the allotted timeout of 00:02:00. The
time allotted to this operation may have been a portion of a longer timeout.
Stack Trace    :
======================================================================================================================
Inner Exception Level 2    :
Source    : System
Method    : GetResponse
Date    : 7:56:25 AM
Time    : 12/4/2015
Error    : The operation has timed out
Stack Trace    :
======================================================================================================================
At line:1 char:1
+ Import-CrmOrganization -SqlServerName Server1 -DatabaseName Organization_MSCRM -Srs ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Crm.P...anizationCmdlet:ImportCrmOrganizationCmdlet) [Import-CrmOrganization], Timeou
   tException
    + FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.ImportCrmOrganizationCmdlet


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>