A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Where is documentation on connection strings?



 
 
Thread Tools Display Modes
  #1  
Old October 17th, 2005, 08:02 PM
Siegfried Heintze
external usenet poster
 
Posts: n/a
Default Where is documentation on connection strings?

This connection string I copied from "ASP.NET and ADO.NET" by Esposito is
very interesting (see below). It works when my perl programs are not trying
to use ODBC to simultaneously access my database. It does not work when they
are using "SELECT", "UPDATE", "INSERT".

See the Jet OLEDBatabase Locking Mode=1? What the heck does this mean? Can
someone point me to the documentation (URL) where it describes this? I tried
setting the locking mode to zero but this did not help.

Thanks,
Siegfried



string[] strConn = new string[]{@"Jet OLEDB:Global Partial Bulk Ops=2;Jet
OLEDB:Registry Path=;Jet OLEDBatabase Locking Mode=1;Jet OLEDBatabase
Password=;Data Source=""C:\Inetpub\heintze\keyword-job-search\",
@"job-search.mdb", @""";Password=;Jet OLEDB:Engine Type=5;Jet OLEDB:Global
Bulk Transactions=1;Provider=""Microsoft.Jet.OLEDB.4.0" ";Jet OLEDB:System
database=;Jet OLEDB:SFP=False;Extended Properties=;Mode=Share Deny None;Jet
OLEDB:New Database Password=;Jet OLEDB:Create System Database=False;Jet
OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica
Repair=False;User ID=Admin;Jet OLEDB:Encrypt Database=False"};


  #2  
Old October 18th, 2005, 05:15 AM
Sylvain Lafontaine
external usenet poster
 
Posts: n/a
Default Where is documentation on connection strings?

http://www.connectionstrings.com/

http://www.carlprothman.net/Default.aspx?tabid=81

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF


"Siegfried Heintze" wrote in message
...
This connection string I copied from "ASP.NET and ADO.NET" by Esposito is
very interesting (see below). It works when my perl programs are not
trying
to use ODBC to simultaneously access my database. It does not work when
they
are using "SELECT", "UPDATE", "INSERT".

See the Jet OLEDBatabase Locking Mode=1? What the heck does this mean?
Can
someone point me to the documentation (URL) where it describes this? I
tried
setting the locking mode to zero but this did not help.

Thanks,
Siegfried



string[] strConn = new string[]{@"Jet OLEDB:Global Partial Bulk Ops=2;Jet
OLEDB:Registry Path=;Jet OLEDBatabase Locking Mode=1;Jet OLEDBatabase
Password=;Data Source=""C:\Inetpub\heintze\keyword-job-search\",
@"job-search.mdb", @""";Password=;Jet OLEDB:Engine Type=5;Jet OLEDB:Global
Bulk Transactions=1;Provider=""Microsoft.Jet.OLEDB.4.0" ";Jet OLEDB:System
database=;Jet OLEDB:SFP=False;Extended Properties=;Mode=Share Deny
None;Jet
OLEDB:New Database Password=;Jet OLEDB:Create System Database=False;Jet
OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica
Repair=False;User ID=Admin;Jet OLEDB:Encrypt Database=False"};




  #3  
Old October 18th, 2005, 09:14 AM
external usenet poster
 
Posts: n/a
Default Where is documentation on connection strings?


Siegfried Heintze wrote:
See the Jet OLEDBatabase Locking Mode=1? What the heck does this mean? Can
someone point me to the documentation (URL) where it describes this?


From MSDN:


OLEDBatabase Locking Mode

A Long value (read/write) that specifies the mode used when locking the
database to read or modify records.

The Jet OLEDBatabase Locking Mode property can be set to any of the
following values:

Page-level Locking 0
Row-level Locking 1

Note: A database can only be open in one mode at a time. The first user
to open the database determines the locking mode to be used while the
database is open.

[ADO Provider Properties and Settings
http://msdn.microsoft.com/library/de...roperties.asp]

  #4  
Old October 22nd, 2005, 04:17 PM
Siegfried Heintze
external usenet poster
 
Posts: n/a
Default Where is documentation on connection strings?




http://msdn.microsoft.com/library/de...properties.asp
contains documentation on" mode=share deny none". I can find no mention of
such a similar clause in

http://www.connectionstrings.com/

http://www.carlprothman.net/Default.aspx?tabid=81


Does ODBC allow such clauses like ODBC does? If so, where?

Thanks,
Siegfried


  #5  
Old October 29th, 2005, 05:42 PM
Sylvain Lafontaine
external usenet poster
 
Posts: n/a
Default Where is documentation on connection strings?

Sorry, but ODBC is getting really old by now and finding documentation on
things like « mode = share deny none » is difficult today; even with Google.

The http://www.connectionstrings.com/ site make a mention of the Exclusive
mode:

"Driver={Microsoft Access Driver
(*.mdb)};Dbq=C:\mydatabase.mdb;Exclusive=1;Uid=adm in;Pwd="

However, there is no indication of the possible values for this parameter.
I think that you will have to dig up old information about the Microsoft
Access ODBC driver.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF


"Siegfried Heintze" wrote in message
...



http://msdn.microsoft.com/library/de...properties.asp
contains documentation on" mode=share deny none". I can find no mention of
such a similar clause in

http://www.connectionstrings.com/

http://www.carlprothman.net/Default.aspx?tabid=81


Does ODBC allow such clauses like ODBC does? If so, where?

Thanks,
Siegfried




 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent Dial-up connection when "offline" Double Dumbass On You General Discussion 15 April 11th, 2005 04:31 PM
Multishape connection points Mike M 91107 Visio 4 January 10th, 2005 09:40 PM
Getting rid of connection strings? Maury Markowitz General Discussion 1 November 25th, 2004 03:45 PM
Dial-up connection closes after send/recieve on starup Outlook 200 Larry B Installation & Setup 11 September 8th, 2004 04:06 AM
OE6 SP1 update (KB823353) can kill VPN connection Jeff Vavasour Outlook Express 1 July 15th, 2004 11:17 PM


All times are GMT +1. The time now is 06:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.