locked
website copy fails to connect to CRM 2011 online RRS feed

  • Question

  • Hi I tried to use both the command line as well as the GUI websitecopy utility to connect to CRM 2011 online but it fails.

    I actually downloaded the latest CRM 2011 SDK and run from the command prompt

    WebsiteCopy.exe /sourceFile: C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml /targetConnectionString:"Url= https://mycompany.crm.dynamics.com; UserName= myliveid@live.com; Password= 23949-393; DeviceID= MYCOMPANY35008AD; DevicePassword= HowlongbeforeweseerealUFO2020" /targetWebsiteName:"Customer Portal"

    Could any one point me what is wrong with this?

    Wednesday, August 3, 2011 5:00 PM

Answers

  • Hi PMO Champ,

    I think it's too late to help :) - it should be fixed till October. But this is an answer anyways:

    This is the command line I use and it works. Let's spot the differences.

    Mine:

    WebsiteCopy.exe /sourceFile:customerportal.xml /targetConnectionString:"Url=https://mycompany.crm5.dynamics.com; UserName=liveid@hotmail.com; Password=10051744_livepassword; Device ID=11tezl12490ojp3fkh38o1gf29; Device Password=RdGsGl9KcK`Wmn*h3)ryEew." /targetWebsiteName:"Customer Portal"

    Yours:

    WebsiteCopy.exe /sourceFile: C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml /targetConnectionString:"Url= https://mycompany.crm.dynamics.com; UserName=myliveid@live.com; Password= 23949-393; DeviceID= MYCOMPANY35008AD; DevicePassword= HowlongbeforeweseerealUFO2020" /targetWebsiteName:"Customer Portal"

    First of all, WebsiteCopy utility and CustomerPortal.xml are in the same folder so /sourceFile:customerportal.xml  not /sourceFile: C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml (CustomerPortal.exe (?)\CustomerPortal - looks weird, but I might be wrong).

    Secondly, I use connection string from my web.config - the same format. In your connection string Device ID and Device Password are look like DeviceID and DevicePassword in your command line  - should be splited in two different words.

    Cheers.

     

    • Proposed as answer by Maria Joaquin Tuesday, October 25, 2011 7:40 PM
    • Marked as answer by Palak Kadakia Thursday, November 10, 2011 10:30 PM
    Sunday, October 23, 2011 10:05 PM
  • There is a space between /sourceFile: and the filename.  There should be no space.  Also, as Alena mentioned, the format for Device ID and Device Password are important - you cannot remove the spaces arbitrarily in the connection strings.


    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com

    Friday, October 28, 2011 5:25 PM
    Moderator

All replies

  • Hi I tried to use both the command line as well as the GUI websitecopy utility to connect to CRM 2011 online but it fails.

    I actually downloaded the latest CRM 2011 SDK and run from the command prompt

    WebsiteCopy.exe /sourceFile: C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml  /targetConnectionString:"Url= https://mycompany.crm.dynamics.com; UserName= myliveid@live.com; Password= 23949-393; DeviceID= MYCOMPANY35008AD; DevicePassword= HowlongbeforeweseerealUFO2020" /targetWebsiteName:"Customer Portal"

    Could any one point me what is wrong with this?

    • Merged by Palak Kadakia Wednesday, August 17, 2011 5:35 AM Identical question
    Wednesday, August 3, 2011 4:59 PM
  • What is the error you're seeing?
    Wednesday, August 17, 2011 5:32 AM
  • May I know what error you are seeing? Can you also try to enclose "C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml" in quotes?

    Thanks,

    Maria

    Thursday, October 20, 2011 11:47 PM
  • Hi PMO Champ,

    I think it's too late to help :) - it should be fixed till October. But this is an answer anyways:

    This is the command line I use and it works. Let's spot the differences.

    Mine:

    WebsiteCopy.exe /sourceFile:customerportal.xml /targetConnectionString:"Url=https://mycompany.crm5.dynamics.com; UserName=liveid@hotmail.com; Password=10051744_livepassword; Device ID=11tezl12490ojp3fkh38o1gf29; Device Password=RdGsGl9KcK`Wmn*h3)ryEew." /targetWebsiteName:"Customer Portal"

    Yours:

    WebsiteCopy.exe /sourceFile: C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml /targetConnectionString:"Url= https://mycompany.crm.dynamics.com; UserName=myliveid@live.com; Password= 23949-393; DeviceID= MYCOMPANY35008AD; DevicePassword= HowlongbeforeweseerealUFO2020" /targetWebsiteName:"Customer Portal"

    First of all, WebsiteCopy utility and CustomerPortal.xml are in the same folder so /sourceFile:customerportal.xml  not /sourceFile: C:\CustomerPortal.exe\CustomerPortal\CustomerPortal.xml (CustomerPortal.exe (?)\CustomerPortal - looks weird, but I might be wrong).

    Secondly, I use connection string from my web.config - the same format. In your connection string Device ID and Device Password are look like DeviceID and DevicePassword in your command line  - should be splited in two different words.

    Cheers.

     

    • Proposed as answer by Maria Joaquin Tuesday, October 25, 2011 7:40 PM
    • Marked as answer by Palak Kadakia Thursday, November 10, 2011 10:30 PM
    Sunday, October 23, 2011 10:05 PM
  • There is a space between /sourceFile: and the filename.  There should be no space.  Also, as Alena mentioned, the format for Device ID and Device Password are important - you cannot remove the spaces arbitrarily in the connection strings.


    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com

    Friday, October 28, 2011 5:25 PM
    Moderator