Home All Groups Group Topic Archive Search About

.NET 2.0/ VB 2005 application-Security Policy issue

Author
12 Oct 2006 9:35 PM
barabel
On some of our Win2k3 (x64) servers we are getting the following error
message with our application:

"Application attempted to perform an operation not allowed by the security
policy."

This app needs to read/write registry keys and read the local file system
(outside the directory tree the .EXE is installed in).

The application was written up with FULL Trust rights and the local user is
a member of the local administrators group.

I can't figure out what is different from one server which is working to
another.  All have generic .NET 2.0 installs and have identical user security.

Any ideas?

Author
17 Oct 2006 2:31 AM
Bryan Phillips
Full trust permissions are usually granted on a computer by computer
basis.  Check the permissions for the application's assemblies on the
affected servers.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com




Show quoteHide quote
"barabel" <barabel2***@discussions.microsoft.com> wrote in message
news:16279CAC-434C-4945-99ED-B4E45D2CD576@microsoft.com:

> On some of our Win2k3 (x64) servers we are getting the following error
> message with our application:
>
> "Application attempted to perform an operation not allowed by the security
> policy."
>
> This app needs to read/write registry keys and read the local file system
> (outside the directory tree the .EXE is installed in).
>
> The application was written up with FULL Trust rights and the local user is
> a member of the local administrators group.
>
> I can't figure out what is different from one server which is working to
> another.  All have generic .NET 2.0 installs and have identical user security.
>
> Any ideas?