PC Review


Reply
Thread Tools Rate Thread

Connection String to Secured Database

 
 
Greyhound
Guest
Posts: n/a
 
      8th Oct 2008
I need to connect to a secured database. A workgroup has been created and i
am a member of the workgroup and have admin access to the database. I cannot
get the connection string correct to connect. The database is on our 'W'
drive. My user id gets me into the database with no password. Here is my
attempt:

string cnStr = "Provider=Microsoft.Jet.OLEDB.4.0; " +
"Data Source=w:\\day_hospital\\replica_dayhospital.mdb; " +
"Jet OLEDB:System Database=W:\\Day_Hospital\\DayHosp_Secured.mdw, uid, ";

The error I get is 'Cannot start your application. The workgroup
information file is missing or opened exclusively by another user.'

Any Suggestions???
Thanks...
 
Reply With Quote
 
 
 
 
Andrew
Guest
Posts: n/a
 
      9th Oct 2008
Try this website connectionstrings.com. It's very helpful.

"Greyhound" wrote:

> I need to connect to a secured database. A workgroup has been created and i
> am a member of the workgroup and have admin access to the database. I cannot
> get the connection string correct to connect. The database is on our 'W'
> drive. My user id gets me into the database with no password. Here is my
> attempt:
>
> string cnStr = "Provider=Microsoft.Jet.OLEDB.4.0; " +
> "Data Source=w:\\day_hospital\\replica_dayhospital.mdb; " +
> "Jet OLEDB:System Database=W:\\Day_Hospital\\DayHosp_Secured.mdw, uid, ";
>
> The error I get is 'Cannot start your application. The workgroup
> information file is missing or opened exclusively by another user.'
>
> Any Suggestions???
> Thanks...

 
Reply With Quote
 
Greyhound
Guest
Posts: n/a
 
      9th Oct 2008
I agree that this site is helpful. They show a connection string with a
'System' workgroup but not a workgroup that the administrator creates. I
have tried to adapt the syntax but I am not having any success.

"Andrew" wrote:

> Try this website connectionstrings.com. It's very helpful.
>
> "Greyhound" wrote:
>
> > I need to connect to a secured database. A workgroup has been created and i
> > am a member of the workgroup and have admin access to the database. I cannot
> > get the connection string correct to connect. The database is on our 'W'
> > drive. My user id gets me into the database with no password. Here is my
> > attempt:
> >
> > string cnStr = "Provider=Microsoft.Jet.OLEDB.4.0; " +
> > "Data Source=w:\\day_hospital\\replica_dayhospital.mdb; " +
> > "Jet OLEDB:System Database=W:\\Day_Hospital\\DayHosp_Secured.mdw, uid, ";
> >
> > The error I get is 'Cannot start your application. The workgroup
> > information file is missing or opened exclusively by another user.'
> >
> > Any Suggestions???
> > Thanks...

 
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
Connection string for make table query into secured database Deirdre Microsoft Access Security 4 14th Apr 2008 05:20 PM
Link table from a secured database to another secured database wa7ed via AccessMonster.com Microsoft Access Security 4 8th Dec 2005 04:58 AM
ASP intranet connection to secured database??? =?Utf-8?B?VFMgaW4gRkw=?= Microsoft Access Security 3 18th Sep 2005 03:39 PM
Creating Database Connection at runtime and writing Connection String to App.Config.. ROO Microsoft VB .NET 1 12th Apr 2005 09:19 PM
Accessing Secured Database through ODBC Connection Vandana Microsoft Access Security 1 11th Aug 2004 04:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:44 AM.