I have developed one web application using .Net 4.0. Now i want to host that application on windows azure. when i have write the code for establishing the connection with CRM 2011 online in worker role then it works fine and i am able to establish the connection successfully. But when i try to connect to the CRM 2011 on-premise server from my worker role it throws an error while establishing the connection . For this,I am using service reference of CRM 2011 on-premise into my application. Please help.