locked
Unable to access the Microsoft CRM 4.0 Deployment service other than default administrator account RRS feed

  • Question

  •  

    While accessing the Microsoft CRM deployment service 4.0 from the server, it is giving following error,

     

      <?xml version="1.0" encoding="utf-8" ?>
    - <soap:Envelope xmlnsTongue Tiedoap="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap:Body>
    - <soap:Fault>
      <faultcode>Server</faultcode>
      <faultstring>No Microsoft Dynamics CRM user exists with the specified domain name and user ID</faultstring>
    - <detail>
    - <error xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <code>0x80040354</code>
      <displaytitle>No Microsoft Dynamics CRM user exists with the specified domain name and user ID</displaytitle>
      <displaytext>A Microsoft Dynamics CRM user record does not exist with the specified domain name and user ID.</displaytext>
      <description>No Microsoft Dynamics CRM user exists with the specified domain name and user ID</description>
      <file>Not available</file>
      <line>Not available</line>
      <details>No Microsoft Dynamics CRM user exists with the specified domain name and user ID</details>
      <requesturl>http://10.76.15.7:5555/MSCRMServices/2007/CrmDeploymentService.asmx</requesturl>
      <pathAndQuery>/MSCRMServices/2007/CrmDeploymentService.asmx</pathAndQuery>
      <source>SOAP</source>
      <stacktrace />
      </error>
      </detail>
      </soap:Fault>
      </soap:Body>
      </soap:Envelope>

     

    Does anybody have an idea about this ???

    Monday, February 11, 2008 1:32 PM

Answers

  • Programatically thru’ the CrmDeploymentService.asmx (http://<crmserver>/MSCRMServices/2007/CrmDeploymentService.asmx ).

    The code snippet below assumes you have generated a proxy against the above web service.

    First, create an instance of Organization class and specify properties of the organization you want to create.

    Organization myOrg = new Organization();

    myOrg.UniqueName = "TestOrg";

    myOrg.FriendlyName = "Display Name for TestOrg";

    myOrg.SqlServerName = "testsql"; // Replace this with the name of your sql server.

    myOrg.SrsUrl = "http://localhost/ReportServer"; // Replace this with the name of your SRS Server URL.

    myOrg.BaseCurrencyCode = "USD";

    myOrg.BaseCurrencyName = "US Dollar";

    myOrg.BaseCurrencySymbol = "$";

    Next, create an instance of the CrmDeploymentService proxy and execute the CreateRequest on it. Provisioning a new organization can take some time, so be sure to override the default timeout to a reasonably high value.

    CrmDeploymentService deploymentService = new CrmDeploymentService();

    deploymentService.Timeout = 10 * 60 * 1000; // 10 minutes.

    CreateRequest request = new CreateRequest();

    request.Entity = myOrg;

    CreateResponse response = (CreateResponse)deploymentService.Execute(request);

     

    Can you check this, its working fine with me.

     

    Regards,

    Imran

     

    http://microsoftcrm3.blogspot.com

     

    Tuesday, February 12, 2008 10:40 AM
    Moderator

All replies

  • Dear,

    have you given them the deployment right?  can you share the code as well.

    as eror showing only access rights, can you please check the complete log file.

    Regards,
    Imran

    http://microsoftcrm3.blogspot.com

    Monday, February 11, 2008 2:52 PM
    Moderator
  • Hello,

     

    After adding the same user in CRM application which we have ued for the service deployment, now I can access the Deployment service correctlly.

     

    Can you give some idea , suppose we want to access this service by the other domain acccount which is below some OU in AD, then what are the necessary steps that we need to follow up??

     

    I am trying to access the following service with the diffrent user other than the default domain admin and the user which we have used for the CRM service deployment.

     

    http://localhost:5555/MSCRMServices/2007/CrmDeploymentService.asmx

     

    While accessing it is giving the same error which I had mention in my main thread.

     

    Please ellaborate on this in broad.

     

    Thanks in advance,

    Tushar

    Tuesday, February 12, 2008 5:04 AM
  • Programatically thru’ the CrmDeploymentService.asmx (http://<crmserver>/MSCRMServices/2007/CrmDeploymentService.asmx ).

    The code snippet below assumes you have generated a proxy against the above web service.

    First, create an instance of Organization class and specify properties of the organization you want to create.

    Organization myOrg = new Organization();

    myOrg.UniqueName = "TestOrg";

    myOrg.FriendlyName = "Display Name for TestOrg";

    myOrg.SqlServerName = "testsql"; // Replace this with the name of your sql server.

    myOrg.SrsUrl = "http://localhost/ReportServer"; // Replace this with the name of your SRS Server URL.

    myOrg.BaseCurrencyCode = "USD";

    myOrg.BaseCurrencyName = "US Dollar";

    myOrg.BaseCurrencySymbol = "$";

    Next, create an instance of the CrmDeploymentService proxy and execute the CreateRequest on it. Provisioning a new organization can take some time, so be sure to override the default timeout to a reasonably high value.

    CrmDeploymentService deploymentService = new CrmDeploymentService();

    deploymentService.Timeout = 10 * 60 * 1000; // 10 minutes.

    CreateRequest request = new CreateRequest();

    request.Entity = myOrg;

    CreateResponse response = (CreateResponse)deploymentService.Execute(request);

     

    Can you check this, its working fine with me.

     

    Regards,

    Imran

     

    http://microsoftcrm3.blogspot.com

     

    Tuesday, February 12, 2008 10:40 AM
    Moderator
  • Hi Imran,

     

    Thanks for you comments ..

     

    I had recycled that setup & try to rebuild new setup.

    I havc added two windows2k3r2 machines , one for CRM 4.0 Application , and other for the Deployment server.

    I had installed SQL2005, reporting service and Application server on the same server, this server had been installed in typical mode under the netwrok service account. I had installed other one i.e deployment server by passing xml configuration file to setupserver.exe ,this xml file uses domain user account for deploymetn service.

     

    So my both the installation went fine , so here one server i.e. crm application pool is running under the network system account and the other one i.e. deployment server crm application pool  running under the domain user account.

     

    In addition to this , i had ran setspn on the deployment server,

     

     

    setspn -A http/crm-400.400net30.lab 400net30\crmservice

    setspn -A http/crm-400 400net30\crmservice

     

    My both application and deployment servers are running on 5555 port

    Still when I try to access the either application server

    http://localhost:5555/infosupport

    I am getting following error,

     

    Business management error

     

    while accessing deployment service,

     

    http://localhost:5555/MSCRMServices/2007/CrmDeploymentService.asmx

     

    <?xml version="1.0" encoding="utf-8" ?>

    - <soap:Envelope xmlnsTongue Tiedoap="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap:Body>
    - <soap:Fault>
      <faultcode>Server</faultcode>
      <faultstring>Could not find GUID for server: CRM-400$</faultstring>
    - <detail>
    - <error xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <code>0x80041D2A</code>
      <displaytitle>Business Management Error</displaytitle>
      <displaytext>You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again.</displaytext>
      <description>Could not find GUID for server: CRM-400$</description>
      <file>Not available</file>
      <line>Not available</line>
      <details>Could not find GUID for server: CRM-400$</details>
      <requesturl>http://localhost:5555/MSCRMServices/2007/CrmDeploymentService.asmx</requesturl>
      <pathAndQuery>/MSCRMServices/2007/CrmDeploymentService.asmx</pathAndQuery>
      <source>SOAP</source>
      <stacktrace />
      </error>
      </detail>
      </soap:Fault>
      </soap:Body>
      </soap:Envelope>
     
    Kindlly look into this ..
     
    Regards,
    TusharK

     

     

    Wednesday, February 13, 2008 2:15 PM