![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
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 |
#2
| |||
| |||
|
|
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: 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 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |