Please help : Security exception when running app from shared drive
- From: bz <bzamfir@xxxxxxxxx>
- Date: Fri, 23 Nov 2007 10:22:48 -0800 (PST)
Hi,
I have an application, which consists from main exe and several dll.
if I install it with the setup kit I made fcrom VS, all works ok
But I need to share the folder it was installed into, and launch the
application on other computers, from the shared drive
However, when I launch it, it generate a security error.
The app launch a main form which contains, amond few other controls, a
web browser
The startup method starts as below:
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
MainForm mainForm = new MainForm();
//.....
And the constructor if main form is
public MainDesktopForm()
{
InitializeComponent();
ApplyUICulture();
webBrowser.StatusTextChanged += new
EventHandler(webBrowser_StatusTextChanged);
this.splitContainer1.Panel2Collapsed = true;
this.Handler.Visible = false;
}
The error generated can be seen at http://amssoft.dyndns.org:8090/public/error1.JPG
I changed the code, to create MainForm later (after some startup code)
and now my startup looks like
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
try
{
Thread.CurrentThread.CurrentCulture = new
CultureInfo("nl-NL");
//...
Now the error is caused by this statement, and the error can be seen
http://amssoft.dyndns.org:8090/public/error1.JPG
Please help.
Thank you
.
- Prev by Date: Intel(R) Active Management Technology and MS Authenticode Incompatibility
- Next by Date: Re: Accessing DirectorySecurity for local c$ share - 1265 error
- Previous by thread: Intel(R) Active Management Technology and MS Authenticode Incompatibility
- Next by thread: Re: Accessing DirectorySecurity for local c$ share - 1265 error
- Index(es):
Relevant Pages
|
|