worker role: Metadata contains reference that can not be resolved.
-
2012年5月22日 13:07
Hi,
I want to establish the connection with CRM 2011 on-premise for doing CRUD (create,read,update,delete) operation using my custom application which is hosted on azure server.But while establishing the connection ,it throwing an exception like "metadata contains reference that can not be resolved". why this is happening? please help me.
全部回复
-
2012年5月22日 13:26
Windows Azure OS doesn't have same GAC like you on premise, so you have to export all of your referenced assemblies(bin deployment - mark referenced assemblies as content), that are not in current OS version your application is running at.
Try to compare your refenrences in project on this site under compare link where you upload your .csproj or .vbproj http://gacviewer.cloudapp.net/Default.aspx
Hope it helps you and its the main reason of this exception
Microsoft Platform Developer Cloudikka blog
- 已标记为答案 Arwind - MSFTModerator 2012年5月28日 9:42
-
2012年5月22日 13:58
-
2012年5月23日 6:07版主
You have posted the same thread here:
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework
- 已标记为答案 Arwind - MSFTModerator 2012年5月28日 9:42
-
2012年5月29日 12:20Why you are using Worker role? for which purpose? Worker role is windows server without IIS, so it behaves differently.
Microsoft Platform Developer Cloudikka blog

