Book a Demo

Author Topic: Project Information  (Read 4774 times)

gonzalo.vinas

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Project Information
« on: September 27, 2008, 03:41:21 am »
I would like to know how to see whats the actual path or connection string, but mostly useful the connection string on a currently opened project.

Thnks,
Gonzalo Viñas

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Project Information
« Reply #1 on: September 27, 2008, 04:02:44 am »
Via automation you can get it via the Repository.ConnectionString property.

From the UI it is more difficult. You used to be able to close the project, then open EA and look at the previous project list.

You can also save a DBMS repository project as an EAP file. That file will contain the connection string.

Still, those UI solutions won't let you see the connection string for the current project, at least not if the project is new.

David
No, you can't have it!

gonzalo.vinas

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Project Information
« Reply #2 on: September 27, 2008, 04:24:11 am »
So.. its the Project List the key to the solution. The thing its that I have the same 3 projects in different environments so the Project Name its the same.. (cliche)

Oks. Thnks. Cheers,
Gonzalo Viñas

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Project Information
« Reply #3 on: September 27, 2008, 07:53:46 am »
Quote
So.. its the Project List the key to the solution. The thing its that I have the same 3 projects in different environments so the Project Name its the same.. (cliche)

Oks. Thnks. Cheers,
Sorry Gonzalo,

I'm on the correct machine now, and I checked. The menu has changed, and no longer shows the connection strings. [I should have remembered, but somehow it slipped my mind.]

You'll have to use one of the other means. This might also indicate that there is no (obvious, simple) way to get the connection string from the currently open project when using EA interactively.

David
No, you can't have it!

gonzalo.vinas

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Project Information
« Reply #4 on: September 27, 2008, 07:56:29 am »
Never mind. Thnks David.
Gonzalo Viñas

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Project Information
« Reply #5 on: September 27, 2008, 08:22:16 am »
Try the Save As trick for now. You should likely close and reopen the project when you do that. You can read the file with a text editor in between. [Perhaps you can do so without closing the project, using an editor that can open files as read-only. You'll need to check that yourself.]

For more information - also some neat things you can have the project do on startup - look in the EA help index for Save As. In the help for build 832 the last three items (other than Copy) are relevant.

David
No, you can't have it!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Project Information
« Reply #6 on: September 27, 2008, 08:24:24 am »
By the way, if case you are not used to how EA constructs connection strings, there is a prefix on the string. You'll know it when you see it. If you use the string from within EA the prefix is necessary, complete with spaces and punctuation. If you use the connection string to create a connection from outside of EA you should remove the prefix.

David
No, you can't have it!