We are using an (2000) access database to store our asset information. The data is accessed by 4 users, currently using a VB front end whcih works OK. I am in the process of developing a web based version of this database, and I cannot get the application to
connect. The connection string works on a local excluseive database, but not on the multiple user one. The connection string I am using, is quite simple and is in the web.config page. The connection is handled within each form by the following string: Dim
acclocations As OleDbConnection acclocations = New OleDbConnection(ConfigurationSettings.AppSettings("accassets").ToString) but when the programme comes to the line acclocations.Open() I get the follwoing error. Server Error in '/ITAssets' Application. --------------------------------------------------------------------------------
The Microsoft Jet database engine cannot open the file 'i:\information technology (it)\Assets\ITSupport.mdb'. It is already opened exclusively by another user, or you need permission to view its data. Description: An unhandled exception occurred during the
execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file 'i:\information
technology (it)\Assets\ITSupport.mdb'. It is already opened exclusively by another user, or you need permission to view its data. Source Error: Line 59: 'Load up al location codes Line 60: Line 61: acclocations.Open() Line 62: Line 63: ' use a variable to
hold the SQL statement Source File: C:\Inetpub\wwwroot\ITAssets\frmlocations.aspx.vb Line: 61 Is this because the VB applications are still accessing the database or will this be a problem fro the future?
Trending Articles
More Pages to Explore .....