Hi all!!
I'm a VB6 programmer trying to upgrade my skillset to VS2005. I have written a small application that will get a person's name based on an ID number.
My problem is that I cannot get the program to access the database.
I have the VS software set to run the debugger with the selected permissions (at least, I think I do). I have signed the assembly and created a Certificate for the program.
In debug mode the program runs fine. When I run the executable, I receive the following error:
"Request for the permission of type 'System.Data.OleDb.OleDbPermission,
System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=<token>'
failed."
Any help would be greatly appreciated as this one really has me stumped.
I'm a VB6 programmer trying to upgrade my skillset to VS2005. I have written a small application that will get a person's name based on an ID number.
My problem is that I cannot get the program to access the database.
I have the VS software set to run the debugger with the selected permissions (at least, I think I do). I have signed the assembly and created a Certificate for the program.
In debug mode the program runs fine. When I run the executable, I receive the following error:
"Request for the permission of type 'System.Data.OleDb.OleDbPermission,
System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=<token>'
failed."
Any help would be greatly appreciated as this one really has me stumped.