Book a Demo

Author Topic: EA installed on SQL Server 2008?  (Read 5224 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
EA installed on SQL Server 2008?
« on: April 07, 2009, 05:51:24 pm »
Has anyone already installed EA on SQL Server 2008?
Is this still supported by Sparx?

Our database department is pushing to get all databases upgraded to 2008 but I'm afraid that we might loose support if we upgrade the EA database.

Geert

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA installed on SQL Server 2008?
« Reply #1 on: April 07, 2009, 10:07:41 pm »
I just tried this out Geert...

There were several issues with finding the database itself. These were all results of Vista, local net configuration, or both.

I used the script that is still labeled for SQL Server 2000 and 2005.

[edit]Bug reported.[/edit]
This script continues to require you to add a USE statement, and still writes to the default database if you do not. [I'd recommend a dummy USE statement so the script would throw an error if it were not edited, instead of corrupting a valuable resource. But of course that's only my opinion...]

[edit]Bug (IMHO at least) reported.[/edit]
In any case the script seems to work just fine with 2008, despite not being documented as such (on the Sparx Resources page).

Trying to connect via the new Native SQL Client 10.0 was a complete loss. The connection sets up and tests just fine as far as the Windows dialogs are concerned. When you try the transfer EA instantly (i.e. with no delay) reports that it cannot open the target. Note that this error message is issued even if the create log option is checked but no log file is entered; EA signals the error even before 'discovering' that you have not entered all the mandatory information.

[edit]Bus reported.[/edit]
I recreated the connection using the OLE client for SQL Server. This time the connection worked fine - except that I had to correct my (now invalid) log settings of course. At this point I got an error message that EA could not open the file because it was locked by another user. This was not the case since I was using a local file and EA had no open project.

The problem was due to my attempt to transfer the EABase project. Even after making a copy of EABase the and trying to transfer the copy I got the error. What was happening was that EA was not able to open the project since due to Vista protecting the folder. [That's good for many reasons.] The 'helpful' error message gives incorrect information in this case. Moving the source - the copy of EABase - to a user directory elsewhere solved the access problem.

The transfer process then completed as expected.

Finally, just to be sure, I opened the new repository in EA, created a package, added a diagram, and dropped a class onto the diagram. I then saved and close EA. Opening the database in SQL Server I was able to verify that the records were created. [Of course they were since EA gave no complain, but after the saga above I was feeling a bit sceptical.]

HTH, David
« Last Edit: April 07, 2009, 10:33:16 pm by Midnight »
No, you can't have it!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA installed on SQL Server 2008?
« Reply #2 on: April 07, 2009, 10:46:01 pm »
Thanks David,

I'll guess the DB people just have to wait a little longer before we move to 2008 seeing that it didn't quite go without a hitch.

Geert

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA installed on SQL Server 2008?
« Reply #3 on: April 07, 2009, 10:59:01 pm »
You can probably go ahead.

The first bug was documentation (of the Resources page on the Sparx Web site) only. Not an issue for your DBMS folks.

The others were things that affect 2005 as well. If they can handle EA using SQL Server 2005 then they can do the same with 2008.
No, you can't have it!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA installed on SQL Server 2008?
« Reply #4 on: April 09, 2009, 03:12:18 pm »
I posed the same question to Sparx support and I got following answer
Quote
Hello Geert,

EA repositories can be stored and accessed from MS SQL 2008, all scripting and structures used are fully workable in the latest MS SQL version.

Best regards,

Dermot O'Bryan
[email protected]
I've already suggested they change their system requirements page on the website as that page only lists MS SQL 2000 and 2005.
I guess we'll be upgrading to 2008 after all.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA installed on SQL Server 2008?
« Reply #5 on: April 09, 2009, 10:23:17 pm »
Sparx got back to me on this one overnight. They will update the Web site (and the documentation I assume) to indicate that 2008 is supported.
No, you can't have it!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA installed on SQL Server 2008?
« Reply #6 on: November 06, 2009, 05:39:31 pm »
Quote
Trying to connect via the new Native SQL Client 10.0 was a complete loss. The connection sets up and tests just fine as far as the Windows dialogs are concerned. When you try the transfer EA instantly (i.e. with no delay) reports that it cannot open the target. Note that this error message is issued even if the create log option is checked but no log file is entered; EA signals the error even before 'discovering' that you have not entered all the mandatory information.

[edit]Bus reported.[/edit]

Any news on the usage of the Native SQL Client 10.0?
We just tried that here and got an error saying:
Quote
Invalid Data Source...
Check Configuration
and then another saying:
Quote
You must supply a connection name

I'll try another bug report to see what the Sparxians have to say.

Geert

PS. Any news on David (<<Midnight>>)?. Seems like ages ago that I've seen any post from him.


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA installed on SQL Server 2008?
« Reply #7 on: November 07, 2009, 12:33:19 am »
Tjeesh, this is getting ridiculous.
I've found a workaround to use the Native SQL Client 10.
EA allows to "Save as" a model. This creates a small text file with extension eap that contains not much more then the connection string to the database.
In the original eap file that was created using the old Microsoft OLE DB provider for SQL Sever it read:
Quote
Provider=SQLOLEDB.1;
I changed that into
Quote
Provider=SQLNCLI10;
And now EA is happily working with the latest sql driver  :D

Geert

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: EA installed on SQL Server 2008?
« Reply #8 on: November 09, 2009, 08:49:31 am »
I had an email from David (Midnight) last week. He is alive and well and working long hours, so he hasn't been able to post to the forum for a while. With luck, he will be back soon.
Best Regards, Roy