I am developing with VS.NET 2003 on the ASP.NET 1.1 platform.
I have created a small app that interacts with an existing Access 97 db. At
this point in time, my higher ups are unwilling to migrate the db to a more
current version.
The app works on my local machine no problem. I have the db located in the
C:\Inetpub\wwwroot\Database folder.
I was instructed to upload the app to a certain company server, which runs
Windows Server 2003. The database however, resides on a different company
server.
Now when I try to run my app, I get the following error. I am perplexed
because other apps written in classic asp are able to interact with this db.
Any suggestions?
Server Error in '/IB' Application.
--------------------------------------------------------------------------------
The Microsoft Jet database engine cannot open the file
'\\a-main\drive-c\bestdesk\desk.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 '\\a-main\drive-c\bestdesk\desk.mdb'.
It is already opened exclusively by another user, or you need permission to
view its data.
Source Error:
Line 106: cmdSelect = new OleDbCommand(strSelect, myConnection);
Line 107:
Line 108: myConnection.Open();
Line 109: object ret = cmdSelect.ExecuteScalar();
Line 110: myConnection.Close();
Source File: c:\inetpub\wwwroot\ib\layers\data\ib_data.cs Line: 108
Stack Trace:
[OleDbException (0x80004005): The Microsoft Jet database engine cannot open
the file '\\a-main\drive-c\bestdesk\desk.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) +20
System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
System.Data.OleDb.OleDbConnection.Open() +203
IB.Layers.Data.IB_Data.Find_Broker(String IB_Acct, String Key) in
c:\inetpub\wwwroot\ib\layers\data\ib_data.cs:108
IB.Layers.Business.IB_Biz.Find_Broker(String IB_Acct, String Key) in
c:\inetpub\wwwroot\ib\layers\business\ib_biz.cs:90
IB.Controls.Ctrl_logon.Btn_Login_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\IB\Ctrls\Ctrl_logon.ascx.cs:85
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String
eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300 4 1566
I'm not sure if Microsoft Jet is "auto included" anymore.
You might have to install it explicitly.
...
Also.
That error sometimes means a "readonly" status on the file....via whichever
account is trying to open it.
Check user priv's for the asp.net account.
KB829558 http://www.microsoft.com/downloads/d...DisplayLang=en
"Frank" <fk******@pfmail.com> wrote in message
news:ub****************@TK2MSFTNGP11.phx.gbl... I am developing with VS.NET 2003 on the ASP.NET 1.1 platform.
I have created a small app that interacts with an existing Access 97 db.
At this point in time, my higher ups are unwilling to migrate the db to a
more current version.
The app works on my local machine no problem. I have the db located in the C:\Inetpub\wwwroot\Database folder.
I was instructed to upload the app to a certain company server, which
runs Windows Server 2003. The database however, resides on a different company server.
Now when I try to run my app, I get the following error. I am perplexed because other apps written in classic asp are able to interact with this
db. Any suggestions?
Server Error in '/IB' Application. --------------------------------------------------------------------------
------ The Microsoft Jet database engine cannot open the file '\\a-main\drive-c\bestdesk\desk.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 '\\a-main\drive-c\bestdesk\desk.mdb'. It is already opened exclusively by another user, or you need permission
to view its data.
Source Error:
Line 106: cmdSelect = new OleDbCommand(strSelect, myConnection); Line 107: Line 108: myConnection.Open(); Line 109: object ret = cmdSelect.ExecuteScalar(); Line 110: myConnection.Close();
Source File: c:\inetpub\wwwroot\ib\layers\data\ib_data.cs Line: 108
Stack Trace:
[OleDbException (0x80004005): The Microsoft Jet database engine cannot
open the file '\\a-main\drive-c\bestdesk\desk.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) +20 System.Data.OleDb.OleDbConnection.InitializeProvid er() +57 System.Data.OleDb.OleDbConnection.Open() +203 IB.Layers.Data.IB_Data.Find_Broker(String IB_Acct, String Key) in c:\inetpub\wwwroot\ib\layers\data\ib_data.cs:108 IB.Layers.Business.IB_Biz.Find_Broker(String IB_Acct, String Key) in c:\inetpub\wwwroot\ib\layers\business\ib_biz.cs:90 IB.Controls.Ctrl_logon.Btn_Login_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\IB\Ctrls\Ctrl_logon.ascx.cs:85 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 --------------------------------------------------------------------------
------ Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300
Keep in mind, those are suggestions, I don't know if that is the exact
issue.
...
"Frank" <fk******@pfmail.com> wrote in message
news:ub****************@TK2MSFTNGP11.phx.gbl... I am developing with VS.NET 2003 on the ASP.NET 1.1 platform.
I have created a small app that interacts with an existing Access 97 db.
At this point in time, my higher ups are unwilling to migrate the db to a
more current version.
The app works on my local machine no problem. I have the db located in the C:\Inetpub\wwwroot\Database folder.
I was instructed to upload the app to a certain company server, which
runs Windows Server 2003. The database however, resides on a different company server.
Now when I try to run my app, I get the following error. I am perplexed because other apps written in classic asp are able to interact with this
db. Any suggestions?
Server Error in '/IB' Application. --------------------------------------------------------------------------
------ The Microsoft Jet database engine cannot open the file '\\a-main\drive-c\bestdesk\desk.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 '\\a-main\drive-c\bestdesk\desk.mdb'. It is already opened exclusively by another user, or you need permission
to view its data.
Source Error:
Line 106: cmdSelect = new OleDbCommand(strSelect, myConnection); Line 107: Line 108: myConnection.Open(); Line 109: object ret = cmdSelect.ExecuteScalar(); Line 110: myConnection.Close();
Source File: c:\inetpub\wwwroot\ib\layers\data\ib_data.cs Line: 108
Stack Trace:
[OleDbException (0x80004005): The Microsoft Jet database engine cannot
open the file '\\a-main\drive-c\bestdesk\desk.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) +20 System.Data.OleDb.OleDbConnection.InitializeProvid er() +57 System.Data.OleDb.OleDbConnection.Open() +203 IB.Layers.Data.IB_Data.Find_Broker(String IB_Acct, String Key) in c:\inetpub\wwwroot\ib\layers\data\ib_data.cs:108 IB.Layers.Business.IB_Biz.Find_Broker(String IB_Acct, String Key) in c:\inetpub\wwwroot\ib\layers\business\ib_biz.cs:90 IB.Controls.Ctrl_logon.Btn_Login_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\IB\Ctrls\Ctrl_logon.ascx.cs:85 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 --------------------------------------------------------------------------
------ Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dragon |
last post by:
I have an Access 2003 .mde sitting on an SQL Server. The tables for
the application also sit on the Server. I'm having a problem with
ODBC on only one of about 10 machines. All the other machines...
|
by: Terry Bell |
last post by:
We've had a very large A97 app running fine for the last seven years.
I've just converted to SQL Server backend, which is being tested, but
meanwhile the JET based version, running under terminal...
|
by: Chuck Ritzke |
last post by:
Hi all,
I am getting an intermittant error after uploading a project from my
development machine. I click on a link which opens an aspx page that, upon
page load, reads a very small amount of...
|
by: kthiagar |
last post by:
Hi
I am trying to connect to a password protected access file from VB.NET.
I have no problem in connecting to Access, if I remove the password.
This is what I am doing:
In the server explorer,...
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to...
|
by: Greg Strong |
last post by:
Hello All,
The short questions are
1 Do you know how to make DSN connection close in Access to Oracle 10g
Express Edition?
&/or
2 Do you know how to make a DSN-less pass-through query...
|
by: sammyloo |
last post by:
Hi all,
I'm experiencing a problem using ASP.NET web services to access a
different server with SQL Server 2000 database.
And I get the error of the following
Exception Details:...
|
by: garry.oxnard |
last post by:
Can anyone help me to solve a problem which involves switching from
Access to Excel (then back to Access) programatically please?
I have an Excel template which, on open, also opens an Access...
|
by: surfrat_ |
last post by:
Hi,
I am having the following problems in getting Microsoft Visual Studio
2005 Professional to link to an Access .mdb
database. Please help me to sort this out.
Problem 1:
The Microsoft...
|
by: =?Utf-8?B?RnJpdHo=?= |
last post by:
Hi all,
I am having the following problems in getting Microsoft Visual Studio
2005 Professional to link to an Access .mdb database. Please help me to sort
this out.
Problem 1:
=======
The...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |