Install a .NET Windows Application..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have to put my Program EXE in a server share, but when I try to open the program a "System.Security.SecurityException" occures
If I open my program in my computer no error occures..
Any clue

Thanks for your help
 
I have encountered this problem too, also would like to know too what causes
this to happen - I guess its related to security permissions?

Regards
Simon Jefferies
Tools Programmer
Headfirst Productions
(e-mail address removed)
 
This is being caused bt the .NET Framework security model which by default only allows applications to be run from the local machine. To adjust the security to allow you to run your app from a network location, do the following..

1) Go to Administrative Tools on your Start menu and select the Microsoft.NET Framework Wizar
2) Double-click the'Adjust .NET Security' ico
3) Select the required optio
4) Select 'Local Intranet' and change to the desired trust leve

HTH
Gary
 
Hi Bernardo,

Your app is running with reduced permissions because it is being run from
the network instead of your local hard drive. Here are a couple links that
will provide all the information you need on how to deploy your app to the
network or the intranet.

Smart Client Application Model and the .NET Framework 1.1
http://msdn.microsoft.com/netframework/using/building/windows/analystreports/smartclient.aspx

Code Access Security and No-Touch Deployment
http://www.tvbug.com/diary/20030923.htm

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada



Bernardo said:
Hi,

I have to put my Program EXE in a server share, but when I try to open the
program a "System.Security.SecurityException" occures!
 
Back
Top