Sparx Systems Forum

Discussion => General Board => Topic started by: YogaMatt on December 10, 2017, 09:06:57 pm

Title: Database for default startup project is down
Post by: YogaMatt on December 10, 2017, 09:06:57 pm

Because the SQL database server that hosts the default startup project is down, EA can not open the default project and will not even start. I can't even work on a local model by double-clicking it. The process is stuck.


Does anybody know where the configuration file is to change the default start-up project?


Thanks in advance
Title: Re: Database for default startup project is down
Post by: qwerty on December 11, 2017, 12:01:11 am
As a quick solution: (save/) clear EA's registry and try to start. If that fails you might need to re-install EA.

q.
Title: Re: Database for default startup project is down
Post by: YogaMatt on December 11, 2017, 12:36:03 am
Thanks Qwerty - so it's in the registry under
HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\Recent File List,
and is the 'default value' key
Namaste
Title: Re: Database for default startup project is down
Post by: qwerty on December 11, 2017, 02:05:29 am
You should as well report that as bug (use form below in the Support section).

q.
Title: Re: Database for default startup project is down
Post by: YogaMatt on December 11, 2017, 02:50:38 am
Done, pointing at the discussion thread  :D
Title: Re: Database for default startup project is down
Post by: VKN on December 11, 2017, 02:27:51 pm
HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\Recent File List,
and is the 'default value' key
HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS | DEFAULT_PROJECT
Title: Re: Database for default startup project is down
Post by: YogaMatt on December 11, 2017, 03:51:51 pm
Thank you VKN for the registry key correction.
Succinct and helpful. Makes more sense too.
Curiously though, the key I altered worked for me. How would that be?
All the best
Title: Re: Database for default startup project is down
Post by: VKN on December 12, 2017, 11:43:18 am
Curiously though, the key I altered worked for me.
When a new key is created in the registry, a default value name/data is added to it automatically which is usually unused.
...worked for me. How would that be?
Some[thing | one] has fixed the actual problem for you elsewhere.

As you couldn't even open an .eap locally by double clicking, your problem was not solely because of the database server being down. It could be your network that had issues and EA couldn't access the license details from the key store.

OTOH, Sparx has previously confirmed an issue where if the default project is not accessible, EA cannot be launched. However, in this case EA could be launched by double clicking on an .eap
Title: Re: Database for default startup project is down
Post by: qwerty on December 12, 2017, 06:34:24 pm
In either case it is preferred that EA issues a meaningful message (Default DB down, License Server not available, etc.) rather than just hanging or shutting off.

q.
Title: Re: Database for default startup project is down
Post by: YogaMatt on December 12, 2017, 08:02:16 pm
When a new key is created in the registry, a default value name/data is added to it automatically which is usually unused.
...worked for me. How would that be?
Some[thing | one] has fixed the actual problem for you elsewhere.
I wish!
As you couldn't even open an .eap locally by double clicking, your problem was not solely because of the database server being down. It could be your network that had issues and EA couldn't access the license details from the key store.
Fixed node license in my case due to laptop
OTOH, Sparx has previously confirmed an issue where if the default project is not accessible, EA cannot be launched. However, in this case EA could be launched by double clicking on an .eap
That's what I was doing - and it wouldn't open.
But the main thing is - thank you for your help with the right key.
In any case I've disabled default project. I'm not that lazy.