views:

2336

answers:

4

hello,

I started two days ago to set up a svn environment on my local machine (win). i installed subversion + tortoise svn two days ago, and created the first test project. opening the link svn://localhost in my browser showed the Repository Browser with my test project having the folders tags, branches and trunk inside (which was great).

Last night i decided to install trac also. after installed python 2.5 i created a new environment to test it. of course, beeing the first time, i did some errors and a had to redo the whole process, but i finally succeded creating that test environment.

Well, after figuring out how i should keep the environments, i created another one and of course the svn repo for it and syncronized them. also, accessing http://localhost:8000/my%5Fproject%5Fpath works fine. but now, when i try to access svn://localhost, from the Repository Browser window, all i get is the message "Can't connect to host localhost: No connection could be made because the target machine actively refused it".

I've tried to start the server like this "svnserve --daemon --root "path/to/my/repo" but after executing this command line, i don't get any message and i have to ctrl+break to be able to enter another command. I really don't know what's the problem, this beeing the first time when i try to install these things and make them working.

Any help would be appreciated.

A: 

try https://localhost:800/...

Ahmed Khalaf
A: 

If you start the Subversion server like this then having a blank window is normal, and the server is probably up and running. You only see something in the window if there is an error. You should then try the Tortoise Repo Browser to connect to svn://localhost/ and you should be good to go.

You can run it like this with the server window just left open, but normally you'll install as a service if you're going to use the server a lot.

Jon
yes, i think this was the problem, i started again svnserve and immediately opened svn://localhost and i'm not getting any error. all i have to do now is to verify the repo directory. Thank you all for the answers :)
misterjinx
A: 

I had the same problem on Windows Vista this morning and thought I would share the cause in case it helps anyone that finds this old question.

In my case, the Subversion service failed to start. There was an entry in the System event log

A timeout was reached (30000 milliseconds) while waiting for the Subversion Repository (UNC) service to connect.

For some reason Subversion had timed out trying to start up.

The solution was as simple as trying to start the service again.

Eric J.
A: 

I solved this problem tonight, after a bit of head-scratching.

Details here: http://www.renaissance-design.net/code/installing-and-configuring-svnserve-and-tortoisesvn-on-windows/

Chris Cox