Can't connect to CrmDeploymentService.asmx from Deployment Server RRS feed

  • Question

  • Hi there,

            I want to connect my CrmDeploymentService.asmx from my Crm Deployment server and my Deployment Service is on same  server. 

            I m using correct url ServerUrl: http://deploymentServer:5555/MSCRMServices/2007/CrmDeploymentService.asmx 
           and correct credentials (of Crm Deployment Admin's) but getting this error when 

    retrieving all crm Organizations:

           Exception: The request failed with HTTP status 401: Unauthorized..StackTrace:    at 


    message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, 

    Object[] parameters)
       at CreateCRMOrg.DeploymentServer.CrmDeploymentService.Execute(DeploymentServiceRequest 

       at GetAllCrmOrgs.Program.Main(String[] args)

         I have also tried Default Credentials System.Net.CredentialCache.DefaultCredentials 

    but no benefit. I have logged into crm Deployment  server using Crm Deployment Admin Credentials.

         Thanx in anticipation of a solution.

    • Moved by ashawani_dubey Wednesday, March 31, 2010 2:53 AM user Forum Merge (Feladó:Microsoft Dynamics CRM)
    Thursday, August 13, 2009 1:20 PM

All replies

  • Hi there,

    Don't try to retrieve all organizations. Use your targeted organization explicitly within the calls.


    Friday, August 14, 2009 7:42 AM