PC Review


Reply
Thread Tools Rate Thread

Problems with simultaneous connection to Access DB

 
 
Strange Cat
Guest
Posts: n/a
 
      13th Sep 2004
Hello everyone!

I have some apps (aspnet and windowsforms) that need to connect at the same
time to an access db.

It used to work fine before I installed the framework 1.1 service pack 1.
Now the problem is that the connection is opened by one of the two
applications, but sometimes I get on the aspnet applications an error saying
"cannot lock database file...", now this is weird! I didnt ask to lock the
file! (actualluy i do have in the connectionstring share deny none in both
applications!).

B4 installing the sp1 I could open both connections with (nearly) no
problem. (Nearly: I got sometimes errors opening but I wrapped the db.open()
into a do loop and trying a couple of times was enough to get the connection
open).

Any ideas?

Thanx in advance
ASC


 
Reply With Quote
 
 
 
 
Strange Cat
Guest
Posts: n/a
 
      13th Sep 2004
[CUT]

Sorry everyone!

Stupid me! It was a permission problem on the folder containing the DB!
Anyway it's kinda weird if you don't set the permission ON THE FOLDER
containing the Access DB, aspnet thru adonet will *SOMETIMES* open the
connection and *SOMETIMES* won't...

Anyway, fixed.

Again apologies.

ASC


 
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how many simultaneous connection can be made to the VPN in XP =?Utf-8?B?TGVhcm5pbmcgdG8gbGl2ZQ==?= Windows XP Networking 1 12th Jun 2006 05:42 PM
Max simultaneous tcp/ip connection =?Utf-8?B?QmlsbCBIaWNrb3J5?= Windows XP Networking 3 6th Nov 2005 06:45 PM
More than 10 simultaneous connection niel Windows XP General 6 28th Mar 2004 06:30 AM
More than 10 simultaneous connection niel Windows XP Networking 5 28th Mar 2004 06:30 AM
max simultaneous vpn connection Antoine Sayegh Windows XP Networking 0 13th Jul 2003 01:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:57 PM.