Data Access Worldwide Knowledge Base
Article ID 2136 Article Title ERROR: Can't open data file in Visual DataFlex Studio Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2136 KBase Category VDF (GENERAL) Date Created 06/30/2005 Last Edit Date 06/24/2009
Article Text
This error will sometimes occur in the Visual DataFlex Studio when trying to open a component (e.g. a dbView) and it encounters a Data Dictionary Object (DDO) for a table that cannot be openend. The error will look like this:
Error
Can't Open Data File
{TableName}
An error is preventing the Studio from opening this file. This
may be because it can't be located or is open exclusively
by some other application.
Tip: Database Builder may have this file open for structural
changes, if so you need to change the file's 'open mode'
within Database Builder.
Technical Details
Error Number: 300
Line Number: 68629
This error can occur in the VDF Studio for several reasons:
1. The DataPath of your workspace is incorrect.
2. The rootname in a filelist entry has an incorrect path in it.
The simplest way of handling pathing in the filelist for most projects is to simply not add a path to the rootname in the table's filelist entry, but the let the DataPath of the workspace determine where the database tables are located.
3. The DDData table number does not match with the table number in the filelist.
To check and correct this:
a. Open Database Builder and verify the filelist number for the table in question
b. In the Studio, select "Maintain Studio database..." from the Workspace menu
c. Click on the Data Dictionaries tab page and find the entry for the Data Dictionary in question. Verify that the table number for the DD is the same as the filelist number for the table. If not, you can correct this here.
Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.
The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.