System.Security.Permissions.SecurityPermission

kunal.kb

Member
Joined
Sep 8, 2005
Messages
21
Programming Experience
Beginner
Hello all..
i am using Visual Studio2005...(asp.net2.0) and Microsoft Application Blocks..
i am trying to deploymy application on a web hosting site....
when i log in and go to menu page i get some *** error....
i am putting Error description please help me out...i have been banging my head since last 3 days...but i couldn't get any solution....

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.SpecialDemand(PermissionType whatPermission, StackCrawlMark& stackMark) at System.Security.CodeAccessPermission.DemandInternal(PermissionType permissionType) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) at Microsoft.ApplicationBlocks.UIProcess.SqlServerPersistState.Save(State state) in C:\GableWebHosting\Microsoft.ApplicationBlocks.UIProcess\Persistence\SqlServerPersistState.cs:line 79 at Microsoft.ApplicationBlocks.UIProcess.State.Save() in C:\GableWebHosting\Microsoft.ApplicationBlocks.UIProcess\State.cs:line 242 at Microsoft.ApplicationBlocks.UIProcess.GraphNavigator.StartTask(TaskArgumentsHolder holder) in C:\GableWebHosting\Microsoft.ApplicationBlocks.UIProcess\Navigators\GraphNavigator.cs:line 147 at Microsoft.ApplicationBlocks.UIProcess.GraphNavigator.StartTask(ITask task, TaskArgumentsHolder holder) in C:\GableWebHosting\Microsoft.ApplicationBlocks.UIProcess\Navigators\GraphNavigator.cs:line 124 at Microsoft.ApplicationBlocks.UIProcess.UIPManager.StartNavigationTask(String navGraph, ITask task) in C:\GableWebHosting\Microsoft.ApplicationBlocks.UIProcess\UIPManager.cs:line 113 at WebForm_s_LoginManager.check1() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.SecurityPermission The Zone of the assembly that failed was: MyComputer
 
Top Bottom