Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 12th, 2006, 09:14 AM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need DSN Connection Code to Access DB markw707 ASP.NET 1.0 and 1.1 Basics 0 May 13th, 2005 09:10 AM
Access DB Connection (Jet cannot Open) M.L.Srinivas Classic ASP Databases 7 October 8th, 2003 08:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.