Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
C#Builder
Data Access
Borland Server Explorer
Data Designers
Data Provider
bdpCommand
bdpCommandBuilder
bdpConnection
bdpDataAdapter
bdpDataReader
bdpError
bdpException
bdpParameter
bdpParameterCollection
bdpTransaction
Connection Pooling
Error Reconcile
MetaData
Data Provider Design
Metadata
You are not logged in.
Help
Print
Public Report
Report From:
C#Builder/Data Access/Data Provider
[ Add a report in this area ]
Report #:
6780
Status:
Closed
bdpConnection database property cannot exceed 256 characters
Project:
C#Builder
Build #:
7.1.6.13
Version:
1.0
Submitted By:
Barry Mossman
Report Type:
Basic functionality failure
Date Reported:
1/7/2004 5:33:15 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
194807
Resolution:
Cannot Fix
(Resolution Comments)
Resolved in Build:
:
9.0.1678.17551
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
if the database= part of the connection string exceeds 256 characters an attempt to open the database gives the following error:
"Connection open failed. unrecognized database parameter block
wrong version of database parameter block"
I have only tested it where the database is in the form of "localhost:c:\...."
I have only tested it with an Interbase 7.0 connection,
256 sounds like a lot of charcters to exceed but when the path start with C:\Documents and Settings\xxYourProfilexx\My Documents\Borland Studio Projects\ it all gets used up very quickly.
Steps to Reproduce:
create a database with a long path
Add a interbase connection in C#B's data Explorer to your database.
use the Test Connection button.
If the path is 256 characters or less it is ok.
The supplied error message occurs for paths > 256 characters.
Workarounds
None
Attachment
None
Comments
Ramesh Theivendran at 2/18/2004 3:06:04 PM
-
How did you create a path > 256. Creating directories to reproduce the bug NT doesn't allow me to create path > 246.
Need steps to reproduce the bug.
T.Ramesh.
Barry Mossman at 2/27/2004 4:02:55 PM
-
I am using XP Pro.
Maybe C#B build the path for me ?
I am on XP Home at the moment. I can build a path of 244 characters.
I can then lengthen one of the directories in the middle of the hierarchy by renaming it so that my path length is over 256 at the terminal end. I can still access objects at the terminal end.
Maybe this is how I did it.
I guess that the "localhost:" has to be handled in there too.
Barry Mossman
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us