PC Review


Reply
Thread Tools Rate Thread

database lockup

 
 
Jim Bunton
Guest
Posts: n/a
 
      22nd Feb 2007
I have an Access 2000 database.
I am connecting to it via web page through an aodb connection

****code snipped****
dim Cn
Set Cn=Server.CreateObject("ADODB.Connection")
Cn.Provider = "Microsoft.Jet.OLEDB.4.0"
Cn.Properties("Data Source") = "e:\. . . \Test.mdb"
Cn.Properties("User ID") = "Admin"
Cn.Properties("Password") = ""
Cn.open
set OpenConnToGoodsInStock = Cn
****end code snippet

This works fine on my original running on win 2k whilst I have the database
open for development purposes at the same time as the web browser access is
being made.

I have ported the application to a windows Xp machine.
On the Xp installation if the database is open then access via the aodb
connection in the web application give the error

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

[Note: I CAN run two simultaneous versions the web page application without
the file already in use error]
---------------------------------------

I have checked that the database on the NEW installation is set to open in
SHARED mode.

?? What's causing the sharing restriction on the Xp installation??

----------------------------------------
Jim Bunton


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      22nd Feb 2007

"Jim Bunton" <(E-Mail Removed)> wrote in message
news:SxfDh.359592$(E-Mail Removed)...
> I have an Access 2000 database.
> I am connecting to it via web page through an aodb connection
>
> ****code snipped****
> dim Cn
> Set Cn=Server.CreateObject("ADODB.Connection")
> Cn.Provider = "Microsoft.Jet.OLEDB.4.0"
> Cn.Properties("Data Source") = "e:\. . . \Test.mdb"
> Cn.Properties("User ID") = "Admin"
> Cn.Properties("Password") = ""
> Cn.open
> set OpenConnToGoodsInStock = Cn
> ****end code snippet
>
> This works fine on my original running on win 2k whilst I have the

database
> open for development purposes at the same time as the web browser access

is
> being made.
>
> I have ported the application to a windows Xp machine.
> On the Xp installation if the database is open then access via the aodb
> connection in the web application give the error
>
> Error Type:
> Microsoft JET Database Engine (0x80004005)
> Could not use ''; file already in use.
>
> [Note: I CAN run two simultaneous versions the web page application

without
> the file already in use error]
> ---------------------------------------
>
> I have checked that the database on the NEW installation is set to open in
> SHARED mode.
>
> ?? What's causing the sharing restriction on the Xp installation??
>
> ----------------------------------------
> Jim Bunton
>
>


Best posted in an MS Access newsgroup.


 
Reply With Quote
 
Jim Bunton
Guest
Posts: n/a
 
      22nd Feb 2007
Pegasus
Thanks for your response to my posting -
tried Public.Access news group already - not getting abny response!

So I'm trying here!

Jim


"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Jim Bunton" <(E-Mail Removed)> wrote in message
> news:SxfDh.359592$(E-Mail Removed)...
>> I have an Access 2000 database.
>> I am connecting to it via web page through an aodb connection
>>
>> ****code snipped****
>> dim Cn
>> Set Cn=Server.CreateObject("ADODB.Connection")
>> Cn.Provider = "Microsoft.Jet.OLEDB.4.0"
>> Cn.Properties("Data Source") = "e:\. . . \Test.mdb"
>> Cn.Properties("User ID") = "Admin"
>> Cn.Properties("Password") = ""
>> Cn.open
>> set OpenConnToGoodsInStock = Cn
>> ****end code snippet
>>
>> This works fine on my original running on win 2k whilst I have the

> database
>> open for development purposes at the same time as the web browser access

> is
>> being made.
>>
>> I have ported the application to a windows Xp machine.
>> On the Xp installation if the database is open then access via the aodb
>> connection in the web application give the error
>>
>> Error Type:
>> Microsoft JET Database Engine (0x80004005)
>> Could not use ''; file already in use.
>>
>> [Note: I CAN run two simultaneous versions the web page application

> without
>> the file already in use error]
>> ---------------------------------------
>>
>> I have checked that the database on the NEW installation is set to open
>> in
>> SHARED mode.
>>
>> ?? What's causing the sharing restriction on the Xp installation??
>>
>> ----------------------------------------
>> Jim Bunton
>>
>>

>
> Best posted in an MS Access newsgroup.
>
>



 
Reply With Quote
 
Jim Bunton
Guest
Posts: n/a
 
      23rd Feb 2007
Thanks for responding to my posting Pegasus,

I've tried the Access group - no response - hence my posting here

Jim

"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Jim Bunton" <(E-Mail Removed)> wrote in message
> news:SxfDh.359592$(E-Mail Removed)...
>> I have an Access 2000 database.
>> I am connecting to it via web page through an aodb connection
>>
>> ****code snipped****
>> dim Cn
>> Set Cn=Server.CreateObject("ADODB.Connection")
>> Cn.Provider = "Microsoft.Jet.OLEDB.4.0"
>> Cn.Properties("Data Source") = "e:\. . . \Test.mdb"
>> Cn.Properties("User ID") = "Admin"
>> Cn.Properties("Password") = ""
>> Cn.open
>> set OpenConnToGoodsInStock = Cn
>> ****end code snippet
>>
>> This works fine on my original running on win 2k whilst I have the

> database
>> open for development purposes at the same time as the web browser access

> is
>> being made.
>>
>> I have ported the application to a windows Xp machine.
>> On the Xp installation if the database is open then access via the aodb
>> connection in the web application give the error
>>
>> Error Type:
>> Microsoft JET Database Engine (0x80004005)
>> Could not use ''; file already in use.
>>
>> [Note: I CAN run two simultaneous versions the web page application

> without
>> the file already in use error]
>> ---------------------------------------
>>
>> I have checked that the database on the NEW installation is set to open
>> in
>> SHARED mode.
>>
>> ?? What's causing the sharing restriction on the Xp installation??
>>
>> ----------------------------------------
>> Jim Bunton
>>
>>

>
> Best posted in an MS Access newsgroup.
>
>



 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      23rd Feb 2007
If no response out of the Access group after a couple days, you could
give the Office.misc group a try. But mention the prior non-productive
queries. ;-)

Jim Bunton wrote:

> Thanks for responding to my posting Pegasus,
>
> I've tried the Access group - no response - hence my posting here
>
> Jim
>
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>"Jim Bunton" <(E-Mail Removed)> wrote in message
>>news:SxfDh.359592$(E-Mail Removed)...
>>
>>>I have an Access 2000 database.
>>>I am connecting to it via web page through an aodb connection
>>>
>>>****code snipped****
>>>dim Cn
>>> Set Cn=Server.CreateObject("ADODB.Connection")
>>> Cn.Provider = "Microsoft.Jet.OLEDB.4.0"
>>> Cn.Properties("Data Source") = "e:\. . . \Test.mdb"
>>> Cn.Properties("User ID") = "Admin"
>>> Cn.Properties("Password") = ""
>>> Cn.open
>>> set OpenConnToGoodsInStock = Cn
>>>****end code snippet
>>>
>>>This works fine on my original running on win 2k whilst I have the

>>
>>database
>>
>>>open for development purposes at the same time as the web browser access

>>
>>is
>>
>>>being made.
>>>
>>>I have ported the application to a windows Xp machine.
>>>On the Xp installation if the database is open then access via the aodb
>>>connection in the web application give the error
>>>
>>>Error Type:
>>>Microsoft JET Database Engine (0x80004005)
>>>Could not use ''; file already in use.
>>>
>>>[Note: I CAN run two simultaneous versions the web page application

>>
>>without
>>
>>>the file already in use error]
>>>---------------------------------------
>>>
>>>I have checked that the database on the NEW installation is set to open
>>>in
>>>SHARED mode.
>>>
>>>?? What's causing the sharing restriction on the Xp installation??
>>>
>>>----------------------------------------
>>>Jim Bunton
>>>
>>>

>>
>>Best posted in an MS Access newsgroup.
>>
>>

>
>
>


 
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
XP Lockup..CPU? J Windows XP General 2 15th Dec 2009 07:02 AM
LOCKUP Jeremy Watts Windows XP Hardware 3 14th Jul 2006 06:50 AM
lockup, lockup, lockup =?Utf-8?B?Uy5C?= Microsoft Frontpage 6 18th Mar 2004 02:51 PM
XP LOCKUP DONALD DENNIS Windows XP General 1 26th Feb 2004 03:55 AM
Refresh Causing Database to Lockup Reginald Microsoft Access Forms 2 17th Sep 2003 08:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 AM.