473,498 Members | 1,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.net OLE DB --> MS Access network

js
ERROR:
The Microsoft Jet database engine cannot open the
file...It is already opened exclusively by another user,
or you need permission to view its data.

I have
<identity impersonate="true" />

setup for network:
Client --> IIS Server --> Network Location for Access DB.

I know the user has rights to the access DB, it works if
the client executes the asp.net page from the iis server.
so i know it has something to do with the credentials.

i guess they are getting lost along the way? too many
hops?

how would i make this work?

THANKS,
Jerry
Nov 15 '05 #1
3 1565
> I know the user has rights to the access DB, it works if
the client executes the asp.net page from the iis server.
so i know it has something to do with the credentials.
You say that the connection works through ASP.NET. In what
circumstances are you getting the connection error?
ERROR:
The Microsoft Jet database engine cannot open the
file...It is already opened exclusively by another user,
or you need permission to view its data.


An error will occur if the .mdb file is already open in Access.

Please supply more information and I'll see if I can help.

---
Steven Wood.
Nov 15 '05 #2
JS
Actually i have tested with the Access db open.

let me clarify:

No Error with this setup:
NOTE: IIS server and client are same machine with this
test.
IIS Server (A)
Client Machine (A) (web browser)
SAN (C) (location of access db)

Version that creates error:
IIS server (A)
Client Machine (B) (web browser)
SAN (C) (location of access db)

With the above mentioned setup, I receive the error listed
below
ERROR:
The Microsoft Jet database engine cannot open the
file...It is already opened exclusively by another user, or you need permission to view its data.
When using the first setup, I was worried whether or not
the process would be affected by having someone open the
Access database, so I tested that as well. No error with
the FIRST example.

Thanks for your help.
JS


-----Original Message-----
I know the user has rights to the access DB, it works
if the client executes the asp.net page from the iis server. so i know it has something to do with the credentials.


You say that the connection works through ASP.NET. In

whatcircumstances are you getting the connection error?
ERROR:
The Microsoft Jet database engine cannot open the
file...It is already opened exclusively by another user, or you need permission to view its data.
An error will occur if the .mdb file is already open in

Access.
Please supply more information and I'll see if I can help.

---
Steven Wood.
.

Nov 15 '05 #3
Hi JS.
let me clarify:

No Error with this setup:
NOTE: IIS server and client are same machine with this
test.
IIS Server (A)
Client Machine (A) (web browser)
SAN (C) (location of access db)

Version that creates error:
IIS server (A)
Client Machine (B) (web browser)
SAN (C) (location of access db)

I'm confused (or possibly just being a bit dim) because it appears that your
IIS Server (A) and Access database (C) are always on different machines. If
your web application is connecting to the database, then it should not
matter where the client is. Is the web application connecting to the Access
database using a connection string?

Do the following links help in any way?

http://support.microsoft.com/default...b;en-us;316675

http://support.microsoft.com/default...b;en-us;308278

(granted the second one is for VB.NET, but should be easy enough to
translate to C#).

Let me know if you need anything else.

---
Steven Wood
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3650
by: | last post by:
My ASP.NET application needs read/write permissions for drive "Z:", which is mapped to my Linksys Gigadrive (Network Attached Storage...if anyone is familiar with that). If I configure the...
1
2898
by: Razor Works via .NET 247 | last post by:
I have got a windows service installed through installutil in C#.I have change the login settings from localsystems todomain/user. The user can access the network resources with noproblems but if the...
3
1498
by: Zman | last post by:
I've recently added form functionality on my website, which runs with the aid of a perl script and sends the results via an email message. I'm currently able to import, or link, data from a...
1
2248
by: Ashwin Philar | last post by:
Hi!! Everyone, I have built a windows application in C#. I created a setup program, but when I run it I get the following error: "Could not access network location \." Why am I getting this...
0
1307
by: Ed S | last post by:
I have an ASP.NET application running and am trying to get the module information for this process (the aspnet_wp.exe process I assume) The call to System.Diagnostics.Process.get_Modules() is...
3
10561
by: James N | last post by:
My ASP.NET application needs read/write permissions for drive "Z:", which is mapped to my Linksys Gigadrive (Network Attached Storage...if anyone is familiar with that). If I configure the...
0
1223
by: Christian Binder | last post by:
Hi folks. got a problem: i want to connect to an access db which is located on a network drive (seperate server). The server's name, where the access db is located, is "SERVER001" and the server,...
5
10160
by: Josh Rolfe | last post by:
I have a page in classic asp that accces a network drive, The code is as follows: <% dim fso dim objFolder set fso=server.createObject("Scripting.FileSystemObject") set...
1
1906
by: Patonar | last post by:
Hi, I would like to be able to using VBA from an Excel macro - go through each line in my spreadsheet and add to a database. I know that this can be done via the import external data tool in...
0
7125
marktang
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,...
0
7004
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...
0
7167
Oralloy
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,...
0
7208
jinu1996
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...
1
6890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5464
agi2029
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,...
1
4915
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4593
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1423
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.