哪些组件确实需要添加/更改的Silverlight Web应用程序部署到Windows Azure [错误]? [英] What assemblies do need to add/change to deploy silverlight web application to Windows Azure [Error]?

查看:129
本文介绍了哪些组件确实需要添加/更改的Silverlight Web应用程序部署到Windows Azure [错误]?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有包括使用Silverlight工具包图表基于Silverlight的应用程序,并使用RIA服务(域名服务类,ADO.NET实体模型)连接到数据库。我想它的在线部署到我的Windows Azure帐户。

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.

我最近遇到

角色网站实例1的作用网站繁忙结果
实例1循环

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

我遇到过这个问题而一次又一次

I encountered this issue again and again.

请注意:我的Windows Azure SDK的更新和我已经部署了一个基于MVC应用程序

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

这SOF回答指导我应该添加这些组件: http://stackoverflow.com/a/8966859/1319922

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

但这些都是基于MVC项目和矿井基于Silverlight(使用C#)。

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.

此外我需要设置一些组件 CopyLocal = TRUE ?而如果是哪些?

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

为什么我不能够部署我的应用程序(并获得上述错误),还有没有其他问题?

请回复
谢谢

推荐答案

由于您使用RIA服务很可能这些组件不可用在你的Web角色。要查看Web角色提供的所有组件,请点击此链接: http://gacviewer.cloudapp.net/

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/

您应该加倍在你的ASP.NET Web角色的组件检查(一个托管RIA服务应用程序),并更改你不能找到gacviewer网站上的所有程序集为 CopyLocal = TRUE

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

另外,如果你在你的Web角色激活远程桌面,您可以(用于测试目的)通过RDP连接并看看事件查看器,看看组件失去了什么。

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.

这篇关于哪些组件确实需要添加/更改的Silverlight Web应用程序部署到Windows Azure [错误]?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆