Skip to main content
gamedev.net
🔒 Locked

C# and ADO

Started by ChemicalImbalance Jul 4, 2006 at 1:43 PM 0 replies 300+ views
Original Post
ChemicalImbalance
ChemicalImbalance
I am working my way through a C# book and have been unable to get their example to work for filling a dataset. I get the following error message. Server Error in '/Dynamic' Application. -------------------------------------------------------------------------------- The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\Dynamic\Catalog.mdb'. It is already opened exclusively by another user, or you need permission to view its data. This is the line that kills it: oleDbDataAdapter1.Fill(dataSet11); When I hit "Test Connection", I get "Test Connection Succeeded." So, I don't really have a clue what's causing it not to work.
--------
Whoisdoingthis.com - my stupid website about warning labels.
Arild Fines
Arild Fines
Maybe check that the user account ASP.NET is running under has the necessary permissions to access that file?
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.