Access db connection with forms authentication
I am fairly new to ASP.net. I am building a web app that resides on one server but connects to a secure (using an mdw file) Access database on another server. I'm using forms authentication for the site. I've set the file locations for the Data Source and System Database parameters using a UNC path. When I run the app and try to fill the OleDbDataAdapter with the desired recordset, I get the error message, "The Microsoft Jet database engine cannot open the file. It is already opened exclusively by another user, or you need permission to view its data."
I feel certain this is a permissions issue but I'm unable to overcome it. I've provided permissions to the database on the database server for the IUSR account of the server running the web app, but still I get the error. Am I setting permissions for the wrong user? Should it be the user declared in the forms authentication? Any help is greatly appreciated.
|