Re: Help connecting to Access DB from web service
- From: "Jeff Richardson" <BobcatRidge@xxxxxxxxxxxxxxxxx>
- Date: Mon, 3 Apr 2006 09:31:35 -0700
Hello Steve,
Thank you for your reply.
I would love to move the database to SQL Express but that is not an option
since the desktop application is a comerical application and its native file
format is Access.
Given that I can not move the data to a better database, what can be done to
make my web service work well with the Access db while hosted on IIS? Can
the worker process for this application be given additional permission?
Thanks,
Jeff.
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:dDnfoNvVGHA.1480@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Jeff,
Welcome to the MSDN newsgroup.
Regarding on the accessing Access mdb database in ASP.NET application, it
is likely the ASP.NET application doesn't have sufficient permission or
the
mdb file is locked. From your description, you've another desktop
application that will also open and access the mdb file, if so, I'm
afraid
the ASP.NET application hosted in IIS will not be able to access it
concurently (if get locked). This is different when accessing from local
computer or in testserver because when deploying in IIS, the asp.net
appliation runs under the asp.net worker process (under the worker proces
indenitity) and this process's security session is not a interactive
session which can not perform many action like desktop application. So
for
your scenario, I think you may consider the following options:
1. Do not make other application access the same mdb file concurrently
that
make it get locked.
2. Use SQL express db instead, this is also file based however is
designed
for concorrent server-side application and has much better performance
against access.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- Follow-Ups:
- Re: Help connecting to Access DB from web service
- From: Steven Cheng[MSFT]
- Re: Help connecting to Access DB from web service
- References:
- Help connecting to Access DB from web service
- From: Jeff Richardson
- RE: Help connecting to Access DB from web service
- From: Steven Cheng[MSFT]
- Help connecting to Access DB from web service
- Prev by Date: Re: ThreadAbort Exceptions !! HELP !!
- Next by Date: Re: WS needs reference to custom component
- Previous by thread: RE: Help connecting to Access DB from web service
- Next by thread: Re: Help connecting to Access DB from web service
- Index(es):
Relevant Pages
|