Standards Forum

 

Login Register    
CDB Path Problems
Posted: 13 July 2009 06:12 AM  
Newbie
Rank
Total Posts:  15
Joined  2009-02-10

I have experienced some problems when trying to open CDB db’s in different places. So far I have only managed to get the API to open a CDB if it is on my local system and does not end with \\‘s, e.g.
  c:\\myCDB       works
  c:\\myCDB\\      does not work

Also I cannot get network CDB db’s to work, e.g.
  \\server\\myCDB     does not work
  \\server\\myCDB\\  does not work
mapped to T:
  T:      does not work
  T:\\      does not work

The only network case I have managed to get to work is if I map a network drive to the directory below the network CDB dataset, e.g.
  \\server\\dbs\myCDB
  T: -> \\server\\dbs
and then try to connect to
  T:\\myCDB
the API then succeeds (although I have only tested this by mapping a drive to a locally created share).

 
Posted: 31 July 2009 03:50 PM   [ # 1 ]  
Moderator
RankRankRank
Total Posts:  60
Joined  2008-06-13

Hi Roland, 

Here is our evaluation of the problems you had with information on our plan.

cdbDB::Open fails if the supplied path ends with / or \.

cdbDB::Open(“c:\cdb”) :: success
cdbDB::Open(“c:\cdb\”) :: failure

The problem is confirmed and will be corrected.

cdbDB::Open fails if supplied a network path with a single directory level.

cdbDB::Open(“\\server\cdb”) :: failure

The problem is confirmed. No correction is planned at this time. To avoid the problem, introduce another directory level for network paths.

cdbDB::Open(“\\server\cdb\db”) :: success

This applies to mapped drives also.

S:  \\server\cdb
cdbDB::Open(“s:”) :: failure
cdbDB::Open(“s:\db”) :: success

 



 
   
 

‹‹ API Testing      system headers requirement ››