Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 February 23rd, 2006, 04:07 AM
Authorized User
 
Join Date: Jan 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default Microsoft Jet Database Engine Cannot Open


Hello All,

I got some serious problem here. I am pretty sure you all able to find the solution of it. I am not able to insert record in microsoft access 2003 database. I have already given permission to database through inetmgr.

Error

System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file C:\Inetpub\wwwroot\JustTest\Database\db1.mdb'. It is already opened exclusively by another user, or you need permission to view its data. at System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) at System.Data.OleDb.OleDbConnection.InitializeProvid er() at System.Data.OleDb.OleDbConnection.Open() at JustTest.GridUpdate.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\justtest\gridupdate.aspx.cs:lin e 75


i am using windows xp professional service pack 2, visual studio .net 2003


Abdul Ghaffar

 
Old February 23rd, 2006, 04:30 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Check out this FAQ: http://Imar.Spaanjaars.Com/QuickDocId.aspx?QUICKDOC=263

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old February 23rd, 2006, 07:17 AM
Authorized User
 
Join Date: Jan 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default


Thats Brillient My Friend......

It Worked.....Actually my pcs file system was NTFS, I haven't faced this type of problem while i was using FAT32.

Thanks Once Again......becasue for the last two days i was busy finding out any solution on net.

Abdul Ghaffar


 
Old February 23rd, 2006, 01:40 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

FAT32 doesn't enforce security, so you'll never run into this.

However, as you found out, NTFS does.....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
The Microsoft Jet database engine cannot open .mdb [email protected] ASP.NET 1.0 and 1.1 Professional 13 February 1st, 2007 12:47 PM
Microsoft JET Database Engine (0x80040E07) gwalker_ne8 Classic ASP Databases 2 November 11th, 2006 09:32 AM
NEW: Microsoft JET Database Engine error'80040e14' rishinicolai Classic ASP Databases 4 December 13th, 2005 05:58 AM
Microsoft JET Database Engine (0x80004005) kenh BOOK: Beginning ASP 3.0 4 April 6th, 2005 08:52 AM
Microsoft JET Database Engine (0x80040E07) aa Classic ASP Databases 5 August 17th, 2004 07:53 PM





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