如何在本地IIS中托管Silverlight项目 [英] how to host silverlight project in Local IIS

查看:66
本文介绍了如何在本地IIS中托管Silverlight项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用Wcf和linq to sql开发了Silverlight项目.

现在我为我的项目创建了虚拟目录,然后执行了我的项目,然后出现如下错误:

错误1使用注册为allowDefinition ="MachineToApplication''的节是错误的;超出应用程序级别.此错误可能是由于未在IIS中将虚拟目录配置为应用程序引起的. E:\ vijay \ FirstGuardianSecure \ FirstGuardian.Web \ Web.config

请让我知道如何解决我的问题......

谢谢,
Vijay

Hi,

I Developed Silverlight Project With Wcf and linq to sql.

Now i Created Virtual Directory to My Project And I Executed My Project then i got Error like This:

Error 1 It is an error to use a section registered as allowDefinition=''MachineToApplication''; beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. E:\vijay\FirstGuardianSecure\FirstGuardian.Web\Web.config

Please Give me idea how to solve my problem......

Thanks,
Vijay

推荐答案

IIs 6.0-请参见此处 [
IIs 6.0 - see here[^] for steps.

For other versions, see here[^].


如果您正在运行Windows 7,或者在带有IIS 7或IIS 7.5的Server 2008中运行
右键单击虚拟目录",然后选择转换为应用程序"
If you are running Windows 7, or in Server 2008 with IIS 7 or IIS 7.5
right click on the Virtual Directory and choose Convert to Application


这篇关于如何在本地IIS中托管Silverlight项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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