在iis中托管的问题 [英] Problem with hosting in iis
本文介绍了在iis中托管的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在vs 2008和sql server 2008中开发了一个应用程序.
当我在iis 7.5中托管应用程序时,它显示以下错误消息:
"
Hi,
I developed an application in vs 2008 and sql server 2008.
When I am hosting the application in iis 7.5 it shows the following error message:
"
"System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. "
"
任何人都可以帮助
"
Anyone please help
推荐答案
我想这是一个应用程序池配置问题.尝试将应用程序池标识更改为NetworkService/aspnet,然后查看.
看看这些讨论类似问题的文章.他们能够解决它:
链接1 [链接2 [链接3 [ ^ ]
I guess it''s a Application Pool config issue. Try, changing the App pool identity to NetworkService/aspnet and see.
Have a look at these article discussing the similar issue. They were able to resolve it:
Link 1[^]
Link 2[^]
Link 3[^]
这篇关于在iis中托管的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文