.NETGURU
Server Error I cannot solve
Messages   Related Types
This message was discovered on microsoft.public.dotnet.academic.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Elsie (VIP)
Hi,

Has anyone experienced this error? I would appreciate your help...

I'm learning how to use DataAdapter to connect with a database and return
the DataSet object that contains a single table with a single DataView. My
page uses the default DataView to retrieve the data and displays the default
DataGrid. The connection tested okay. The solution builds okay. I just get
this error when I try to view in browser from localhost. I have read online
Help on the topic of "80004005" errors - I do not understand the entries. I
did get a dialog box when Finishing with the DataAdapter Configuration Wizard
- By default the User name it gave me was Admin. I left the password blank
and clicked the button "not" to include the password (I was not expecting to
see this dialog according to the instructions on the book I'm following).

Line 79: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Line 80: 'Put user code to initialize the page here
Line 81: OleDbDataAdapter1.Fill(MyDS1)
Line 82: Page.DataBind()
Line 83: End Sub

[OleDbException (0x80004005): The Microsoft Jet database engine cannot open
the file 'C:\Inetpub\wwwroot\Lesson7\TaraStore.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.]
--
Elsie
Reply to this message...
 
    
Prem Kumar (VIP)
Hi

With the information u had said that the connection is tested okay, just
ensure whether the file is accidentally open, if so close it and try to work

Prem
"Elsie" wrote:

[Original message clipped]

Reply to this message...
 
    
Elsie (VIP)
Hi Prem
I am only making reference to the database inside Server Explorer and the
Web page itself, including code behind the page. The access database itself
is not open. This is what is puzzling me - "It is already opened exclusively
by another user..." is not actually so, as far as I have checked. If somehow
the database is open, I can't see that from the IDE nor the desktop.
Elsie

"Prem Kumar" wrote:

[Original message clipped]

Reply to this message...
 
 
System.Data.Common.DataAdapter
System.Data.DataSet
System.Data.DataView
System.Data.OleDb.OleDbException
System.EventArgs
System.Object
System.Web.UI.Page
System.Web.UI.WebControls.DataGrid
System.Windows.Forms.DataGrid




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification