G
Guest
I'm having what seems to be a rather strange error.
The VB program interacts with an Access Database with ODBC connection to a
DB2 database, but doesn't really do anything too tricky (select statements,
outputting formated text to text files, a single update query). However, the
problem may not relate to that complexity.
When I run the program within VB 2003 .Net environment, it works perfectly.
When I run the compiled program from a local (C: Drive or E: Usb pen drive),
it works perfectly.
When I run the compiled program from a networked drive, it fails before
loading the form with : "An exception 'System.Security.SecurityException' has
occurred in <program name>."
When I try to debug that in Visual Studio .Net 2003, it says that it is an
unhandled exception within the program, with additional information "Request
failed". It is duing the InitializeComponent() line of the Windows Form
Designer generated code that we're not supposed to change!
Any idea what is happening ?
Cheers,
Chris
The VB program interacts with an Access Database with ODBC connection to a
DB2 database, but doesn't really do anything too tricky (select statements,
outputting formated text to text files, a single update query). However, the
problem may not relate to that complexity.
When I run the program within VB 2003 .Net environment, it works perfectly.
When I run the compiled program from a local (C: Drive or E: Usb pen drive),
it works perfectly.
When I run the compiled program from a networked drive, it fails before
loading the form with : "An exception 'System.Security.SecurityException' has
occurred in <program name>."
When I try to debug that in Visual Studio .Net 2003, it says that it is an
unhandled exception within the program, with additional information "Request
failed". It is duing the InitializeComponent() line of the Windows Form
Designer generated code that we're not supposed to change!
Any idea what is happening ?
Cheers,
Chris