Book a Demo

Author Topic: two subVersion problems  (Read 4905 times)

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
two subVersion problems
« on: April 19, 2010, 11:45:52 am »

EA 7.5, SQL Server 2008 repository, windows server 2008 R2
TortoiseSVN 1.6.7, SVN 1.6.9 - all on the win2008 server

LinkSys router
      80 (www),
      81 (sql server - yes, i know odd)
      8443 (svn)
      443 (ssl)
      1433 (sql server, but not used in my config)
      (and many other ports)
      are forwarded to the above server pc


I have recently (perhaps after creating the first repository) set the TortoiseSVN option to use "_" instead of "." in case I use Visual Studio with some code.

I have also recently added the router (this caused the change in IP).

1) My IP address changed, so I have to change the IP address in the "Defined Configuration" (from the "Version Control Settings" dialog box.  However, I do not know how to do this or where EA stores this information.  Where is it - how can I update the IP? When I try to connect to the pc that has the sql server where the repo is, I get:

"Error while initializing Version Control provider:

svn:OPTIONS of
'https://68.199.226.71:8443/svn/EARepository/TestModel1':
could not connect to server (https://68.199.226.71:8443)

This is the old IP of the server, so, of course it cannot connect.  I could delete this "Defined Configuration" but I would rather know how to change it.



2) I am trying to create a new "Defined Configuration".  EA is able to find my sql server db at www.kerans.net (to load the project), however, it is not able to find the SVN repository either by www address or by the new IP. I have just added a wireless router to my system (LinkSys wrt160N).  I have forwarded the http, https, 8443 (for svn).  I don't think there are any firewall issues because other computers can reach the svn repository from TortoiseSVN (with "https://www.kerans.net:8443/svn/EARepository/SunSuite1" - with an ID/Password - Tortoise can also reach the repository via "https://68.199.163.129:8443/svn/EARepository/SunSuite1").  When I try to create a configuration using the IP address, EA just hangs.  For example, I have followed the instructions in http://www.sparxsystems.com/WhitePapers/Version_Control.pdf and the same hang occurs.  Any suggestions???????????

Thanks,

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: two subVersion problems
« Reply #1 on: April 19, 2010, 04:20:07 pm »
I think those settings are stored in the registry.
You might want to change them there directly and see what happens.

Geert

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: two subVersion problems
« Reply #2 on: April 19, 2010, 08:48:02 pm »
Thanks Geert for you suggestion.

If those settings are in the registry, I could not find them.  I did find the list of URL's for most recent projects, and I did find the ID for my version control config ID, but I did NOT find the config contents of that configuration.  Still looking, still need help on this one!!!!!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: two subVersion problems
« Reply #3 on: April 19, 2010, 08:53:00 pm »
Have a look in
HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS\VCConfigs

Geert

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: two subVersion problems
« Reply #4 on: April 19, 2010, 09:10:06 pm »
Yes, I did look there.  The value is:

<VCConfigs><Config><GUID>HomeEAID</GUID><LocalPath>%HomeEAID%</LocalPath><UserName/><Type>2</Type></Config></VCConfigs>

This does not have any values for the IP.  I also tried searching for HomeEAID and did not find anything with an IP

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: two subVersion problems
« Reply #5 on: April 19, 2010, 09:23:06 pm »
Must be different for SVN then.
For TFS the key reads
Quote
<VCConfigs><Config><GUID>ReferenceModel</GUID><LocalPath>%ReferenceModel%</LocalPath><UserName>t99gbk</UserName><Type>3</Type><TFSServer>http://99-001-096-s218:8080/</TFSServer><TFSWorkspace>99-001-094-W822</TFSWorkspace><TFSEncryptedPassword>#_yCL&amp;%(V</TFSEncryptedPassword></Config><Config><GUID>BizzTalkModel</GUID><LocalPath>%BizzTalkModel%</LocalPath><UserName>t99gbk</UserName><Type>3</Type><TFSServer>http://99-001-096-s218:8080/</TFSServer><TFSWorkspace>99-001-094-W822</TFSWorkspace><TFSEncryptedPassword>#_yCL&amp;%(V</TFSEncryptedPassword></Config></VCConfigs>

Is there anything in the hidden SVN file in your working directory that identifies the server?

Geert

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: two subVersion problems
« Reply #6 on: April 19, 2010, 09:35:36 pm »
That was a good suggestion.  I did find a file called "entries" which contained the old IP.  I changed this to the new IP.  However, now what it does is - when I load EA and select the same project - EA doesnt complain about the svn config problem, and just goes straight into a hang (hourglass when loading the project).  Still stuck!!!!!!!!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: two subVersion problems
« Reply #7 on: April 19, 2010, 10:07:21 pm »
Jim,

In that case I'm all out of ideas.
You could try Sparx support, but keep in mind that they are located down under.

Geert

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: two subVersion problems
« Reply #8 on: April 19, 2010, 11:17:24 pm »
Quote
EA doesnt complain about the svn config problem, and just goes straight into a hang (hourglass when loading the project).

One situation in which this ALWAYS happens is when your credentials are not being cached by svn.

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: two subVersion problems
« Reply #9 on: April 20, 2010, 03:09:49 am »
Thanks for the tip Frank - that might be it.  However, I am inexperienced in SVN, so can you tell me where/how I can edit any files to accomplish the caching.

Thanks,

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: two subVersion problems
« Reply #10 on: April 20, 2010, 03:36:46 am »
Hi Frank,

Pardon the additional confusion - but do you mean cached on the svn client pc or svn server pc - and where? I am hoping I can edit some files to insert the userID/pw information.  Again, I am grateful for you passing on your experience in this matter - I can now just picture some method somewhere waiting in silence (an for eternity) for id/pw information.

Thanks,

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: two subVersion problems
« Reply #11 on: April 20, 2010, 04:08:56 am »
Hi Frank,

Nevermind - I see how SVN is caching the id/pw.  Thanks very much for pointing me in the right direction.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: two subVersion problems
« Reply #12 on: April 20, 2010, 01:42:04 pm »
Jim,

Since you figured it out, it might be interesting for others to read the solution  ;)

Geert