简体   繁体   中英

Metadata contains a reference that cannot be resolved. Error while trying to connect to CRM Online 2015

Background: I am using a Windows Service to connect to CRM Online 2015 to get specific data from there and move it to a local SQL database for reporting purposes.

This is a well tested code that was running on the server of our client. Recently the service stopped and when i debugged it i got the following error. 在此处输入图片说明

This is otherwise working on my local machine but not on the server the service was originally installed on. What could be the reason for this? The client says that there is no firewall on the server. Could it be the domain credentials I am using?

Here is the piece of code I am using to connect to CRM 在此处输入图片说明

I get an error at

OrganizationServiceProxy serviceProxy=newOrganizationServiceProxy(OrganizationUri, null, credentials, null);

NOTE: When I try to open any website or even crm instance itself the browser shows me the following:

在此处输入图片说明

Any Help guys?

I think your client installed a new set of rules on his SonicWALL or even started to use a SonicWALL. If I see it right the SonicWALL blocks your request.

SonicWall是路由器,网络管理可能已在路由器中阻止了此类别。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM