What assemblies do need to add/change to deploy si

2020-05-04 17:30发布

I have a silverlight based application consisting of charts using silverlight toolkit and connected to database using RIA Services (Domain Service class, ADO.NET entity model). I want to deploy it to my windows azure account online.

I recently encountered

Instance 1 of role Website is busy
Instance 1 of role Website is cycling

I encountered this issue again and again.

Note : My Windows Azure SDK is updated and I already deployed a MVC based application.

This SOF answer guides that i should add these assemblies : https://stackoverflow.com/a/8966859/1319922

But these are for MVC based project and mine is Silverlight based (using C#).

Is there any assemblies left which i need to add ? Also my project works fine in Local Host.

Also do i need to set some assemblies CopyLocal = true ? And if YES which ones ?

Why i am not able to deploy my app (and getting above error), Is there any other issue ?

Please Reply Thanks

1条回答
Luminary・发光体
2楼-- · 2020-05-04 17:45

Since you're using RIA Services it's possible that these assemblies are not available on your Web Role. To view all assemblies available on Web Roles, follow this link: http://gacviewer.cloudapp.net/

You should double check with the assemblies in your ASP.NET Web Role (the one hosting the RIA Services application), and change all assemblies that you cant find on the gacviewer website to CopyLocal = true

Besides that, if you activate Remote Desktop on your Web Role, you can (for testing purposes) connect through RDP and take a look at the event viewer to see what assemblies are missing.

查看更多
登录 后发表回答