Unhandled Exception: System.Web.Services.Protocols.SoapException: Server was unable to process request.

Jul 20, 2010 at 12:33 PM
Edited Jul 20, 2010 at 3:36 PM

Hi, I have a hosted account of Microsoft CRM and I am installing the Customer Portal Accelerator on http://mycompany.mycrmprovider.net/ but getting an error message when I run the websitecopy.exe command (Page 11 – Step 6).

WebsiteCopy.exe /targetConnectionString:"Authentication Type=SPLA; Server=http://mycompany.mycrmprovider.net; User ID=admin@xxx.com; Password=xxx;" /targetWebsiteName:"Customer Portal" /SourceFile:customerportal.xml

It is giving some soap related error message. Can you please look into it and advise me what could be causing this error.

Unhandled Exception: System.Web.Services.Protocols.SoapException: Server was unable to process request.

at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

at Microsoft.Xrm.Client.Services.Proxy.CrmDiscoveryService.Execute(Request Request)

at Microsoft.Xrm.Client.CrmConnection.GetCrmConnectionDetails(String reason)

at Microsoft.Xrm.Client.CrmConnection.<>c__DisplayClass2.<.ctor>b__0(String load)

at Microsoft.Xrm.Client.Threading.MutexExtensions.<>c__DisplayClass2`1.<Get>b__0(Mutex _)

at Microsoft.Xrm.Client.Threading.MutexExtensions.Lock(String key, Int32 mill isecondsTimeout, Action`1 action)

at Microsoft.Xrm.Client.Threading.MutexExtensions.Get[T](String key, Int32 mi llisecondsTimeout, Func`2 loadFromCache, Func`2 loadFromService)

at Microsoft.Xrm.Client.Threading.MutexExtensions.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)

at Microsoft.Xrm.Client.Caching.Cache.Get[T](String label, Func`2 load, Action`1 insert)

at Microsoft.Xrm.Client.CrmConnection..ctor(String connectionStringName, String connectionString)

at WebsiteCopy.WebsiteImporter.Import(XElement element, String websiteName)

at WebsiteCopy.WebsiteImporter.Import(Stream input, String websiteName)

at WebsiteCopy.WebsiteImporter.Import(String inputXml, String websiteName)

at WebsiteCopy.Copier.Copy(String[] args) at WebsiteCopy.Program.Main(String[] args)


Regards Zack

Jul 20, 2010 at 3:38 PM

Your User ID will likely have to be in domain\username format.  You also will likely have to add the orgname in your server url as well.  ie: http://mycompany.mycrmprovider.net/mycompany.  Different hosting providers provision CRM differently with the metadata service on a separate url.  Some use SSL and others do not.  I would recommend contacting them to identify the connection string you need to use to connect to your hosted CRM org.

Shan McArthur