PureMorning Posted August 5, 2003 Posted August 5, 2003 I'm 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) Quote
Administrators PlausiblyDamp Posted August 5, 2003 Administrators Posted August 5, 2003 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.