Book a Demo

Author Topic: Connect to Server cause error  (Read 9004 times)

Sophia

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Connect to Server cause error
« on: August 27, 2010, 05:01:32 pm »
I am trying to connect to SQL server with the 'Connect to server' option on Start Page.  I select 'Microsoft OLE DB Provider for SQL Server'. Select the server name and the DB Name. Test connection works successfully.  I give it a connection name.  But then start getting all types of errors. One after the other, most of them stating 'Invalid object_name'  examples:
(Microsoft OLE DB Provider for SQL Server [-2147217865] Invalid object name 'usys_system'.)
then the next is (Microsoft OLE DB Provider for SQL Server [-2147217865] Invalid object name t.datatypes'.)
this continues with a number of errors more until finally I get a question to transfer model.  But then gets the same errors until I get a message salying that EA will close due to a serious error. Does anyone know what causes this or if I have forgotten to set something.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Connect to Server cause error
« Reply #1 on: August 27, 2010, 05:08:10 pm »
Sophia,

The connect to server is used to connect EA to an EA model stored in SQL Server (iso eap file), not for reverse engineering a database. Is this what you are trying to achieve?
In that case, did you first run the database creation script?

Geert

Sophia

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Connect to Server cause error
« Reply #2 on: August 27, 2010, 05:27:59 pm »
Hi Geert
Not trying to reverse engineer.  Have created the model in EA, and created an empty model in SQL, and want to connect to the empty model before doing a transfer.  You mention database creation script????

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Connect to Server cause error
« Reply #3 on: August 27, 2010, 05:35:33 pm »
Yes, database creation script. They are available in the download section (where you download the setup files)
This will create the tables and stuff EA needs to build a model.

Geert