I have problems connecting my access database I get information .. I
cant use my database and I'm administrator on my computer so permission
shutnot bee problem, but I dont know Where is the problem. Can enybody
help me!!!!
Server Error in '/Koulu/tietokannat' Application.
--------------------------------------------------------------------------------
The Microsoft Jet database engine cannot open the file
'C:\Inetpub\www root\Asiakas_ti etokanta.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.Ole Db.OleDbExcepti on: The Microsoft Jet
database engine cannot open the file
'C:\Inetpub\www root\Asiakas_ti etokanta.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.
Source Error:
Line 32: {
Line 33: // Put user code to initialize the page here
Line 34: daAsiakas.Fill( dsAsiakas1,"Asi akas");
Line 35: DataGrid1.DataB ind();
Line 36: }
Source File: c:\inetpub\wwwr oot\koulu\tieto kannat\webform1 .aspx.cs
Line: 34
Stack Trace:
[OleDbException (0x80004005): The Microsoft Jet database engine cannot
open the file 'C:\Inetpub\www root\Asiakas_ti etokanta.mdb'. It is
already opened exclusively by another user, or you need permission to
view its data.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr)
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider()
System.Data.Ole Db.OleDbConnect ion.Open()
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState)
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String
srcTable)
tietokannat.Web Form1.Page_Load (Object sender, EventArgs e) in
c:\inetpub\wwwr oot\koulu\tieto kannat\webform1 .aspx.cs:34
System.Web.UI.C ontrol.OnLoad(E ventArgs e)
System.Web.UI.C ontrol.LoadRecu rsive()
System.Web.UI.P age.ProcessRequ estMain()
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
ASP.NET Version:1.1.432 2.573
--
Enska
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------