Accessing Dot Net Windows Application in Network systems

  • Thread starter Thread starter krishnan
  • Start date Start date
K

krishnan

Dear All,
I am deploying c#.net windows application in client machine.
it is working fine. but, When i run the same application from a network
path, it is throwing 'security exception'. in dot net framework
configuration , what settings i've to chang to work the application
fine?
Thanx in advance.

Regards
Krishnan
 
krishnan said:
I am deploying c#.net windows application in client machine.
it is working fine. but, When i run the same application from a network
path, it is throwing 'security exception'. in dot net framework
configuration , what settings i've to chang to work the application
fine?

..Net added a feature called Code Access Security which allows your code to
not perform certain functions depending on where the code is being run. If
you run it from the client machine, you do not have many restrictions in
what you are able to do. As you try to run executables located on more
remote locations, you are restricted in what you can do. In your case you
are running the application in the Intranet zone. You can explicity change
the permissions on a per application basis using the .Net Framework
Configuration tool. More information is available at
http://msdn.microsoft.com/library/d...n-us/cpguide/html/cpconcodeaccesssecurity.asp.

If you are using VS2005, you may want to look into ClickOnce as a deployment
alternative as well.

Jim Wooley
 
Back
Top