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\wwwroot\Asiakas_tietokanta.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
'C:\Inetpub\wwwroot\Asiakas_tietokanta.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,"Asiakas");
Line 35: DataGrid1.DataBind();
Line 36: }
Source File: c:\inetpub\wwwroot\koulu\tietokannat\webform1.aspx .cs
Line: 34
Stack Trace:
[OleDbException (0x80004005): The Microsoft Jet database engine cannot
open the file 'C:\Inetpub\wwwroot\Asiakas_tietokanta.mdb'. It is
already opened exclusively by another user, or you need permission to
view its data.]
System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr)
System.Data.OleDb.OleDbConnection.InitializeProvid er()
System.Data.OleDb.OleDbConnection.Open()
System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection,
ConnectionState& originalState)
System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String
srcTable)
tietokannat.WebForm1.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\koulu\tietokannat\webform1.aspx .cs:34
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573
--
Enska
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------