How do I share .net applications from a network location

C

Chris

Hi,

I receive an error when I try to run an EXE (and linked
DLL's) from a shared network location.

The error is:
"The application attempted to perform an operation not
allowed by the security policy. The operation requried the
SecurityException. To grant this application the required
permission please contact your system administrator, or use
the Microsoft .NET security policy administration tool."

"Request for the permission of type
System.Data.SqlClient.SqlClientPermission"

I can use the .net security wizard to update the trust
level for the assemblies, and that works. BUT I often
update the application, maybe once a week, which means I'd
need to update the trust level every time on all client
machines.

How can I give full access to my applications to run from a
shared network folder?

Thanks,
Chris
 
S

Sean Hederman

If you strong name them you can give the permissions based on the publisher
rather than the application itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top