System.Security.SecurityException: Request failed.

PureMorning

Member
Joined
Jul 15, 2003
Messages
11
Im trying to place a C# app for updating a sql database directly on the server and executing the app over the web but when I try it out I get the following exception. It works fine when I run it off my PC. Also, you can type this url in to get the program error directly: http://www.directaccesslegal.com/dals/DALS_Update_App.exe
any help would be greatly appreciated.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Security.SecurityException: Request failed.
at DALS_Update_App.Form1.SQLTester()
at DALS_Update_App.Form1.btnTest_Click(Object sender, EventArgs e) in c:\documents and settings\space_monkey\desktop\dals_update_app\form1.cs:line 124
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
By default .Net apps running from a network have more restrictive permissions - either run it locally or look at the configuration tools to increase the permissions.
 
Back
Top