ASP.NET Exception on hosted server
From: Steve (anonymous_at_discussions.microsoft.com)
Date: 02/17/04
- Next message: Yan-Hong Huang[MSFT]: "RE: Help for ActiveX"
- Previous message: Dwaine: "How to get system.IO access to UNC resources using virtual directory configuration SERVER SIDE?"
- Next in thread: Holly Mazerolle: "RE: ASP.NET Exception on hosted server"
- Reply: Holly Mazerolle: "RE: ASP.NET Exception on hosted server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 16 Feb 2004 20:31:10 -0800
When I run my ASP.NET on my computer it works fine, even in medium trust which is what mt webhost uses. However on the webhost it generates this exception
SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) +666
System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) +0
System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +88
System.Security.CodeAccessPermission.Demand() +62
System.Web.HttpContext.set_User(IPrincipal value) +71
newtelligence.DasBlog.Web.Global.Application_AuthenticateRequest(Object sender, EventArgs e) in Global.asax.cs:190
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
- Next message: Yan-Hong Huang[MSFT]: "RE: Help for ActiveX"
- Previous message: Dwaine: "How to get system.IO access to UNC resources using virtual directory configuration SERVER SIDE?"
- Next in thread: Holly Mazerolle: "RE: ASP.NET Exception on hosted server"
- Reply: Holly Mazerolle: "RE: ASP.NET Exception on hosted server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]