About .NET Security Error

  • Thread starter Thread starter Benny Lam
  • Start date Start date
B

Benny Lam

Hi,

When i call a .net application via UNC Path, it shows a error message.

After debug, i found a error [System.Security.SecurityException] from
Windows generated code [InitializeComponent();].

Anyone knows how to fix?
 
Check the security chapter. Basically the .NET framework grants rights to
applciation code based on several criteria such as its location, its
signature etc...

http://msdn2.microsoft.com/en-us/library/c5tk9z76(VS.71).aspx (the whole
story)

http://support.microsoft.com/kb/897296/en-us (the quick workaround)

Depending on your exact situation this is something that could be easy
(grant access to the code that comes from this network share). If this is at
an enterprise level you may want to think a bit about what best fit your
needs and check how it works....
 
thanks for your information. I will try to understand it.

Patrice said:
Check the security chapter. Basically the .NET framework grants rights to
applciation code based on several criteria such as its location, its
signature etc...

http://msdn2.microsoft.com/en-us/library/c5tk9z76(VS.71).aspx (the whole
story)

http://support.microsoft.com/kb/897296/en-us (the quick workaround)

Depending on your exact situation this is something that could be easy
(grant access to the code that comes from this network share). If this is at
an enterprise level you may want to think a bit about what best fit your
needs and check how it works....

--
Patrice

Benny Lam said:
Hi,

When i call a .net application via UNC Path, it shows a error message.

After debug, i found a error [System.Security.SecurityException] from
Windows generated code [InitializeComponent();].

Anyone knows how to fix?
 
Back
Top