Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 11th, 2004, 01:39 PM
Farris Farris is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 Farris User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Could not use ''; file already in use. error - strange variation

The error:

Microsoft JET Database Engine (0x80004005)
Could not use ''; file already in use.

I know that there are many posts regarding this issue. As those reading this may have guessed, we are afflicted with this cryptic and useless error message. We have tried many solutions that have been posted at this website and others regarding this issue and have not had complete success in resolving it.

The variation that I mentioned is that this error only appears when we are logged onto a domain. The name of the computer running the IIS server is BRNT and runs Win2k. When we log on as Administrator to the local machine the server seems to run well and does not display the error. However when we log on to a different domain we get the above mentioned error. This leads us to beleive that the error may be related to file permissions, but I wouldn't rule anything out.

Hopefully someone can offer some guidance as to how we might resolve this issue, given this new piece to the puzzle. Thanks in advance for any help that you can offer.

Reply With Quote
  #2  
Old August 12th, 2004, 01:11 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 14 m 7 sec
Reputation Power: 182
I have some old information on this problem maybe something here will help

http://www.dougscode.com/forum4/topic.asp?TOPIC_ID=16
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old May 21st, 2009, 01:14 AM
gopijoshi gopijoshi is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 2 gopijoshi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 49 sec
Reputation Power: 0
Solution:

Hi,
this error comes because of some connection which is left open.. Connection can be left opened in two cases

  1. Either you dont have externally close the connection using conn.Close(); command in your code.

  1. if in between page loading you direct your page to somewhere else.

to solve frstly wait till the open connection closes automatically and than slowly try the page till it loads fully. and check that you dont have any open connection in your code

In my experience I have seen that some time while creating reader, CommandBehaviour.CloseConnection does not close the connection so, keep practice of closing connection using conn.Close(); in bothe the cases ExecuteNonquery and ExecuteReader.

>>
Quote:
Originally Posted by Farris
The error:

Microsoft JET Database Engine (0x80004005)
Could not use ''; file already in use.

I know that there are many posts regarding this issue. As those reading this may have guessed, we are afflicted with this cryptic and useless error message. We have tried many solutions that have been posted at this website and others regarding this issue and have not had complete success in resolving it.

The variation that I mentioned is that this error only appears when we are logged onto a domain. The name of the computer running the IIS server is BRNT and runs Win2k. When we log on as Administrator to the local machine the server seems to run well and does not display the error. However when we log on to a different domain we get the above mentioned error. This leads us to beleive that the error may be related to file permissions, but I wouldn't rule anything out.

Hopefully someone can offer some guidance as to how we might resolve this issue, given this new piece to the puzzle. Thanks in advance for any help that you can offer.

Reply With Quote
  #4  
Old May 24th, 2009, 12:31 AM
gopijoshi gopijoshi is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 2 gopijoshi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 49 sec
Reputation Power: 0
The best solution

I tried to solve this error approx for a week. Lastly I got the solution.

In most of the cases this error comes due to disabled impersonation in web.config file.

Add following things to enable impersonation in web.config file and your error will disappear.

<configuration>
<system.web>
<identity impersonate="true" />
</system.web>
</configuration>







Quote:
Originally Posted by Farris
The error:

Microsoft JET Database Engine (0x80004005)
Could not use ''; file already in use.

I know that there are many posts regarding this issue. As those reading this may have guessed, we are afflicted with this cryptic and useless error message. We have tried many solutions that have been posted at this website and others regarding this issue and have not had complete success in resolving it.

The variation that I mentioned is that this error only appears when we are logged onto a domain. The name of the computer running the IIS server is BRNT and runs Win2k. When we log on as Administrator to the local machine the server seems to run well and does not display the error. However when we log on to a different domain we get the above mentioned error. This leads us to beleive that the error may be related to file permissions, but I wouldn't rule anything out.

Hopefully someone can offer some guidance as to how we might resolve this issue, given this new piece to the puzzle. Thanks in advance for any help that you can offer.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Could not use ''; file already in use. error - strange variation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT