SeperKojotSeo
New Member
Hi there<BR><BR>I'm having problems conneting to an access database. I'm running Windows XP Pro and I'm getting the following error whenever I try to connect to an Access database in a visual studio web application tutorial:<BR><BR><BR>The Microsoft Jet database engine cannot open the file 'C:somedirsomedb.mdb'. It is already opened exclusively by another user, or you need permission to view its data. <BR><BR><BR>I have given the IUSR and IWAM permissions on the directory and the file, and I have made the neccesary changes to the TMP and TEMP directories in the environment variables. I have can connect to the databaase using with a Windows application written in C#, and oddly enough, I can connect to the database using a web app I handcoded in C#. The connection string I used on the working one is:<BR><BR>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\kwai\calthree.mdb<BR><BR>So for some reason, it only fails in visual studio.<BR><BR>Any ideas? I'm just doing one of the default tutorials that came with VS.<BR><BR>Thanks<BR><BR>~Steve<BR><BR>