Creating new local database crashes Cortex

I was using Cortex 1.4.4 b2729, trying to create a new local database using instructions from here: How to set up a separate test environment / database for CORTEX Dailies

So I launch 1.4.4, click Database button, click New. I named it “test” and point the directory to C:\ProgramData\MTI\test. Clicked Create. Now I can see the “test” database in the list. I select it and click OK. Cortex crashes. In the crash alert, I clicked Show Problem Details. Here’s what it shows:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: cortex.exe
Problem Signature 02: 1.4.2729.4
Problem Signature 03: 52a27002
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.18052
Problem Signature 06: 5173bf28
Problem Signature 07: 43cc
Problem Signature 08: 1b6
Problem Signature 09: System.IO.DirectoryNotFound
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: a232
Additional Information 2: a2327772e435791d6ea02f76084570d1
Additional Information 3: 25b2
Additional Information 4: 25b2f81a28be420631938ff863a8c29e

The odd bit is the “DirectoryNotFound”.

Anyway, I relaunch 1.4.4. There’s no projects - it’s a blank database. In the “Database” window it shows the “test” database is active. So this is great! Cortex created a new empty database. In the “test” folder there’s a new “DB” subfolder and an empty “templates” folder. Cortex just crashed when trying to switch to the new database.

The big problem is with 1.5.1 beta (b4449). (Preface: we have manually renamed the MTI\DB folder to keep the 1.4.4 and 1.5 databases separate.) Same steps - this time I’m making a new database named “test3” and changing the path to C:\ProgramData\MTI\test3. I click “Create” and test3 shows up in the list. I select test3 and click OK and it crashes. Same type of error - DirectoryNotFound

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: cortex.exe
Problem Signature 02: 1.5.4449.1
Problem Signature 03: 537e9198
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.18052
Problem Signature 06: 5173bf28
Problem Signature 07: 43cc
Problem Signature 08: 1b6
Problem Signature 09: System.IO.DirectoryNotFound
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: a232
Additional Information 2: a2327772e435791d6ea02f76084570d1
Additional Information 3: 25b2
Additional Information 4: 25b2f81a28be420631938ff863a8c29e

When I relaunch 1.5.1, Cortex is still using the older database. When I click the “Database” button, there’s no record of test3. It’s like Cortex crashed before it even made the “DB” and “templates” folders.

Are there any other updates I’m missing? .NET framework is 4.5 (not 4.5.1 or 4.5.2). Win7 SP1.

Thanks,
Malcom

I was able to reproduce that here and will get it over to the developers.

We should be able to get a fix for this soon. In the mean time you could create the database in 1.4 and then connect to it in 1.5.

This should be fixed in build 4467.

This topic was automatically closed after 2 days. New replies are no longer allowed.