PC Review


Reply
Thread Tools Rate Thread

connecting remore access 97 database

 
 
=?Utf-8?B?YXNocmFm?=
Guest
Posts: n/a
 
      27th Feb 2004
Hi

I am trying to connect remote access 97 database form ASP.NET page from vb.net using this connection string
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\ServerName\cdrive\Dt\ct\ct.mdb;
I get this erro
"The Microsoft Jet database engine cannot open the file '\\ServerName\cdrive\Dt\ct\ct.mdb' It is already opened exclusively by another user, or you need permission to view its data

If I use with null pwd
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\ServerName\cdrive\Dt\ct\ct.mdb;PWD=
I get this error "Could not find installable ISAM.

Some one please help
Thank
ashra


 
Reply With Quote
 
 
 
 
Rich
Guest
Posts: n/a
 
      27th Feb 2004
Try chaning ...Jet.OLEDB.4.0 to 3.51 - If you don't have
Office97 loaded on the computer, you may not have Jet
3.51, but Access97 uses Jet 3.51, could use 4.0 if you
load Mdac2.5 (obtainable at msdn.microsoft.com - or used
to be)

Rich


>-----Original Message-----
>Hi,
>
>I am trying to connect remote access 97 database form

ASP.NET page from vb.net using this connection string:
>"Provider=Microsoft.Jet.OLEDB.4.0;Data

Source=\\ServerName\cdrive\Dt\ct\ct.mdb;"
>I get this error
>"The Microsoft Jet database engine cannot open the

file '\\ServerName\cdrive\Dt\ct\ct.mdb' It is already
opened exclusively by another user, or you need permission
to view its data.
>
>If I use with null pwd:
>"Provider=Microsoft.Jet.OLEDB.4.0;Data

Source=\\ServerName\cdrive\Dt\ct\ct.mdb;PWD="
>I get this error "Could not find installable ISAM."
>
>Some one please help,
>Thanks
>ashraf
>
>
>.
>

 
Reply With Quote
 
=?Utf-8?B?QXNocmFm?=
Guest
Posts: n/a
 
      27th Feb 2004
Thanks for the reply. I tested with 3.51 but no luck. I get the same exact error. I do have mdac 2.5 installed on this machine

 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      27th Feb 2004
* =?Utf-8?B?YXNocmFm?= <(E-Mail Removed)> scripsit:
> I am trying to connect remote access 97 database form ASP.NET page from vb.net using this connection string:
> "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\ServerName\cdrive\Dt\ct\ct.mdb;"
> I get this error
> "The Microsoft Jet database engine cannot open the file '\\ServerName\cdrive\Dt\ct\ct.mdb' It is already opened exclusively by another user, or you need permission to view its data.
>
> If I use with null pwd:
> "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\ServerName\cdrive\Dt\ct\ct.mdb;PWD="
> I get this error "Could not find installable ISAM."


Are you sure, MDAC are installed?

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
 
Reply With Quote
 
=?Utf-8?B?QXNocmFm?=
Guest
Posts: n/a
 
      28th Feb 2004
Yes. Absolutely. There are other VB applications running on this which are using MADC 2.5.

Thanks for the reply.

 
Reply With Quote
 
nTn
Guest
Posts: n/a
 
      28th Feb 2004
Try connect locally.
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\Dt\ct\ct.mdb;"

Because if you have in another computer, the server search local. or use a
map drive in the server.


"ashraf" <(E-Mail Removed)> escreveu na mensagem
news:93409425-3651-4AB7-A992-(E-Mail Removed)...
> Hi,
>
> I am trying to connect remote access 97 database form ASP.NET page from

vb.net using this connection string:
> "Provider=Microsoft.Jet.OLEDB.4.0;Data

Source=\\ServerName\cdrive\Dt\ct\ct.mdb;"
> I get this error
> "The Microsoft Jet database engine cannot open the file

'\\ServerName\cdrive\Dt\ct\ct.mdb' It is already opened exclusively by
another user, or you need permission to view its data.
>
> If I use with null pwd:
> "Provider=Microsoft.Jet.OLEDB.4.0;Data

Source=\\ServerName\cdrive\Dt\ct\ct.mdb;PWD="
> I get this error "Could not find installable ISAM."
>
> Some one please help,
> Thanks
> ashraf
>
>



 
Reply With Quote
 
=?Utf-8?B?QXNocmFm?=
Guest
Posts: n/a
 
      28th Feb 2004
Thanks for the reply, I have no problem opening a local Access database or databse located on other server with maped drive. But I have to open remote database as there are numerous databses located on several servers and mapping their drives is not a practical option.
Thanks again

Ashraf.
 
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
connecting to access 97 database is same as SQL? =?Utf-8?B?QWw=?= Microsoft VB .NET 5 13th Jan 2005 05:37 PM
connecting to an Access Database =?Utf-8?B?WmFmYXI=?= Microsoft Dot NET Compact Framework 1 3rd Nov 2004 03:40 PM
Connecting to an Access database (MDB) =?Utf-8?B?RGFjdW5h?= Microsoft ADO .NET 6 29th Oct 2004 07:47 PM
Lan and demand dialing through Routing and remore access bose Microsoft Windows 2000 RAS Routing 1 25th Jun 2004 10:15 AM
Connecting to Jet 4.0/Access database Peter Rabbit Microsoft ADO .NET 7 16th Jul 2003 01:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:52 PM.