Book a Demo

Author Topic: EAP to DBMS (SQL server) transfer  (Read 4471 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
EAP to DBMS (SQL server) transfer
« on: January 06, 2012, 11:10:54 pm »
Hi All,

I'm getting an error whan transfering a blank EAP to DBMS - t_category does'nt exist. Well it does in the DBMS...anyone come across similar issue ? Same with 9.2 and 8.0 - so i've probably got something mis-configured - but can't see it

Any help, pointers appreciated...

ps Sparxs crashes after reporting the error....

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EAP to DBMS (SQL server) transfer
« Reply #1 on: January 07, 2012, 12:54:48 am »
No real idea, just a guess: user rights.

q.

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: EAP to DBMS (SQL server) transfer
« Reply #2 on: January 08, 2012, 02:00:49 am »
are you sure the EAP is really blank?

i had the same issue but with another table when i tried to move an sample project where i forgot to delete an old unused picture.

Have you tried to transfer the Standart sample project which is delivered with you installation or can be downloaded here?
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EAP to DBMS (SQL server) transfer
« Reply #3 on: January 09, 2012, 07:31:40 pm »
I would check that:
- the sql server database is properly initialised using the latest creation script from the sparx website
- The "empty" eap file is also created by a recent version of EA.
- There's nothing strange in the "empty" eap model.
- Also check if you are using the latest EABase.eap to create a new model. (mine is dated 28/10/2011 and I'm on version 9.2.921)

Geert

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: EAP to DBMS (SQL server) transfer
« Reply #4 on: January 09, 2012, 08:46:52 pm »
Thanks for all responses - ill try all and feedback.

Regards,

Jon.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: EAP to DBMS (SQL server) transfer
« Reply #5 on: January 10, 2012, 09:27:55 pm »
Hi All,

FYI the solution was in back and white on the sparx site - all be it in the small print  :-/

"When transferring a project you must have db_ddladmin permission in order to execute the SET IDENTITY_INSERT ( table )  {ON | OFF} command"

Got my db to change my rights and all is now ok....

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EAP to DBMS (SQL server) transfer
« Reply #6 on: January 11, 2012, 07:41:28 am »
I guess 90% of all SQL issues are due to missing rights so that's the first I try if something fails: go to the DBA and let him do it.

q.