I'm using an Access DB for my app. It runs fine locally, but if I upload it to one of the network drives, I run into an error. I'm not sure how to even begin to approach fixing this.
When first running the exe off of the network drive, I get this following warning:
"Microsoft .NET Security Warning - Never enter personal information or passwords into a window unless you can verify and trust the source of the request."
Then, if I open up a form that attempts to open my DB, I get:
"Application attempted to perfrom an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Request for the permission of type
'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
The connection string that I use in my code is:
con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = profees.mdb"
Any suggestions?
When first running the exe off of the network drive, I get this following warning:
"Microsoft .NET Security Warning - Never enter personal information or passwords into a window unless you can verify and trust the source of the request."
Then, if I open up a form that attempts to open my DB, I get:
"Application attempted to perfrom an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Request for the permission of type
'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
The connection string that I use in my code is:
con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = profees.mdb"
Any suggestions?