logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Rabbit  
#1 Posted : Monday, February 11, 2013 5:47:33 AM(UTC)
Rabbit

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 2/11/2013(UTC)
Posts: 1

Hello everybody,

I have a problem when running a System Tester (Equis - MACD Expert Advisor and others Equis Expert Advisor).

The other fonctions of Power Console (Charts, Explorer) are working well with the instruments I use for the System Tester witch let me think it s not a database problem.

Here is the error message :

Description: Can not open database''. It may not be a database that your application recognizes, or the file may be damaged.

Build: 11.0
File: ST_RecordsetIterator.cpp
Line: 378
Error Type: 0
Error Code: 2

I would be grateful to you if you coult help.




MS Support  
#2 Posted : Monday, February 11, 2013 5:03:52 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)
Rabbit,

The system tester uses a Microsoft Access database file to store the system tests and index the results of the simulations. Unfortunately, we discovered access databases do not hold up when the database file reached a size of 2 gig. System tests and simulations normally do not take much space so this is not usually an issue, however, running optimized tests increase the size of the database dramatically. You can check the size of the file by looking in the metastock working folder. For Windows XP this is found in:

C:\Documents and Settings\{profile}\Local Settings\Application Data homson Reuters\MetaStock\Formulas

For later versions of windows, the file is in the folder:

C:\Users\{profile}\AppData\Local homson Reuters\MetaStock\Formulas

The name of the file is ST_DATA.mdb.

If this file has reach the 2 gig maximum, there are a few steps that can be used to try and restore the file.

Method 1 (if you can still open the system tester):

- Open the system tester
- Delete any saved simulation reports you do not absolutely need
- Select Options and click the "clean now" button
- check the option to "Compact results database"
- click "Clean"

When this is done, try running a test

Method 2:

- browse to the formula folder listed above
- delete the folder named "Results". This will delete all saved simulation results
- open the system tester and compact the database as detailed in method 1

Trying running a simulation again.

Method 3 (skip to this method if the system tester will not open):

- browse to the formula folder listed above
- if you have not done so, delete the Results folder
- rename the ST_Data.mdb file to ST_Data1.mdb
- browse to the folder: C:\Program Files homson Reuters RD 6\Program
- find and run the program named "jetcomp.exe"
- use the "..." button by source to browse to the formula folder and select "ST_DATA1.mdb"
- Set the destination to the same folder but change the file name to "ST_DATA.mdb"
- click compact

restart metastock and try runing a simulation

If you need assistance with any of these steps, or you are still not able to run a test, please contact MetaStock support via phone or chat and they can walk you through this process.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.