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
me where i am making the mistake? is there any other option to consume the service and establish the connection? please help me
hi arwind i can able to connect crm 2011 on premise from web role (even in normal website ) but when i try to connec crm 2011 on premise from worker role of azure it s giving me error so please tell me is anything i m missing???
"Can you provide more details info about the exception? Or provide a test application (include code) for testing?"
As i was posted above, because i can not get more details about your exception (errors logs, stack message), or a simple test application from you, so i can hardly say which step you miss or where the error happens, i know you've get the "Metadata
contains a refrence that can not be resolved" in Worker role applicaiton already.
I use your code at my side (both in WebRole and WorkRole) and get the same exception, but i find inner exception is "The remote name could not be resolved: 'crmservername'", could you make sure the service url is correct and client credential is