Ask a Question related to ASP.NET Security, Design and Development.
-
abu #1
Unhandled Exception: System.TypeInitializationException:
On Running a managed exe i get the following error :
Unhandled Exception: System.TypeInitializationException: The type
initializer for 'WSRMGUI.Sample.WS
RMGUIHandler' threw an exception. ---> System.IO.FileLoadException:
Failed to grant required minimum
permissions to assembly 'WindowsUIAutomation, Version=6.0.4030.0,
Culture=neutral, PublicKeyToken=e
0e73d5e60c20d3c'.
File name: 'WindowsUIAutomation, Version=6.0.4030.0, Culture=neutral,
PublicKeyToken=e0e73d5e60c20d3
c' ---> System.Security.Policy.PolicyException: Required permissions
can not be acquired.
I am trying to understand the cause of it and it would be great if
anybody could provide some insight about it
Thanks
-abu
abu Guest
-
An unhandled exception occurred during compilation using the CodeDomProvider
Hi, Please see the following error and revert back as early as possible. I am getting this once I request for the asp.net page. Server Error in... -
PDDOCSAVE -throwing unhandled exception
Hi Everybody, When i am using PDDOCSAVE in my application to secure a file using Acrobat 9.0 in VC++ i am getting unhandled exception The code... -
An unhandled exception has occured Unknown Server tag
Hi, I am using ASP.Net 2.0 Beta 2. I have a class which inherits from "System.Web.UI.WebControls.Label" class. I have added that class in a... -
Unhandled Exception HELP!!
I just dished out 900 bucks for Studio MX Everything else installed fine except for Fireworks MX 2004 ( the one I use the MOST ) At about 90% ... -
An unhandled exception of type 'System.Threading.ThreadAbortException' occurred in Unknown Module.
Interesting problem. We have narrowed it down to the exact cause, and would like an explanation of what's going on behind the scenes. Simple bit... -
Nicole Calinoiu #2
Re: Unhandled Exception: System.TypeInitializationException:
Sounds like the WindowsUIAutomation assembly contains an explicit request
for some permission that is not being granted to it under policy. To
determine which permission(s) are being requested by the assembly, you can
use permview.exe
([url]http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfPermissionsViewToolPermviewexe.asp[/url]).
The permission(s) causing the problem should be listed under the "minimal
permission set" section of the output from this tool.
HTH,
Nicole
"abu" <abuzar.79@gmail.com> wrote in message
news:1102950125.221774.319600@c13g2000cwb.googlegr oups.com...> On Running a managed exe i get the following error :
>
> Unhandled Exception: System.TypeInitializationException: The type
> initializer for 'WSRMGUI.Sample.WS
> RMGUIHandler' threw an exception. ---> System.IO.FileLoadException:
> Failed to grant required minimum
> permissions to assembly 'WindowsUIAutomation, Version=6.0.4030.0,
> Culture=neutral, PublicKeyToken=e
> 0e73d5e60c20d3c'.
> File name: 'WindowsUIAutomation, Version=6.0.4030.0, Culture=neutral,
> PublicKeyToken=e0e73d5e60c20d3
> c' ---> System.Security.Policy.PolicyException: Required permissions
> can not be acquired.
>
>
> I am trying to understand the cause of it and it would be great if
> anybody could provide some insight about it
> Thanks
> -abu
>
Nicole Calinoiu Guest



Reply With Quote

