|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Accessing Dot Net Windows Application in Network systemsDear 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" <krishnanthanga***@gmail.com> wrote in message ..Net added a feature called Code Access Security which allows your code to news:1138177660.003650.210070@f14g2000cwb.googlegroups.com... > 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? 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/default.asp?url=/library/en-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 |
|||||||||||||||||||||||