开发者

CGI application throws “System.Security.Permissions.SecurityPermission”

开发者 https://www.devze.com 2022-12-08 02:47 出处:网络
I\'m working on a simple .NET application which is supposed to run under IIS6 through CGI. First of all everything works great on my Windows 7 development machine开发者_如何学编程 under IIS 7.5. But I

I'm working on a simple .NET application which is supposed to run under IIS6 through CGI. First of all everything works great on my Windows 7 development machine开发者_如何学编程 under IIS 7.5. But I'm stuck with “System.Security.Permissions.SecurityPermission” under IIS6.

I've already tried to sign the assembly by the way. But I guess the issue is in another direction, because the application is launched well from console. So I think application pool user doesn't have needed permissions. Would you please point me where I should check the permissions.

Thanks a lot.


I was browsing through the Internet and found the solution. Please see it here: http://blogs.msdn.com/rahulso/archive/2006/11/29/how-to-run-a-simple-c-cgi-exe-from-command-prompt.aspx

If you don't have management console for .NET 2.0 you should install .NET SDK.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号