XML error prevents connecting to VisualSVN Server

2,502 views
Skip to first unread message

Chris Chiesa

unread,
Mar 13, 2012, 6:01:38 PM3/13/12
to us...@tortoisesvn.tigris.org
I am trying to get SVN up and running on my own PC. I have installed VisualSVN server and it is running and I have created some repositories. Now I want to start stuffing source code into it.

However, I cannot find any Tortoise commands in the shell context menu that would let me do this. The only even remotely useful-looking command is "repo-browser," and when I try to connect to the URL given by the VisualSVN management console -- "https://Desktop5/svn" -- I get the error:

"Unable to connect to a repository at URL 'https://desktop5'
The OPTIONS request returned invalid XML in the response: XML parse error at
line 1: no element found (https://desktop5)"

I am not using any proxies, I am not using ssh (as far as I know), and the only reason I'm using https instead of plain http is because that's what VisualSVN tells me its URL is.

I have read help/documentation/manuals at the VisualSVN and Tortoise websites and neither says anything much about the other, or even really how to make an SVN client communicate with an SVN server in general. The SVN book likewise.

So... Is the Tortoise client inherently incompatible with the VisualSVN server? If not, what do I have to do to make this work?

Thanks in advance for any light you can shed.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2935078

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Bob Archer

unread,
Mar 14, 2012, 10:09:11 AM3/14/12
to us...@tortoisesvn.tigris.org
> I am trying to get SVN up and running on my own PC. I have installed
> VisualSVN server and it is running and I have created some repositories. Now I
> want to start stuffing source code into it.
>
> However, I cannot find any Tortoise commands in the shell context menu that
> would let me do this. The only even remotely useful-looking command is
> "repo-browser," and when I try to connect to the URL given by the VisualSVN
> management console -- "https://Desktop5/svn" -- I get the error:
>
> "Unable to connect to a repository at URL 'https://desktop5'
> The OPTIONS request returned invalid XML in the response: XML parse error
> at
> line 1: no element found (https://desktop5)

The first question is.. do you have an https certification installed?

I'm not familiar with VisualSVN but usually there is a directory/local you access svn with rather than just the root server url and also you have to specify the repository, unless there is only 1.

Something like http://MyServerName/svn/repository

> I am not using any proxies, I am not using ssh (as far as I know), and the only
> reason I'm using https instead of plain http is because that's what VisualSVN
> tells me its URL is.
>
> I have read help/documentation/manuals at the VisualSVN and Tortoise
> websites and neither says anything much about the other, or even really how to
> make an SVN client communicate with an SVN server in general. The SVN book
> likewise.

Does the VisualSVN manual tell you the path that is sets up to the repositories?

>
> So... Is the Tortoise client inherently incompatible with the VisualSVN server? If
> not, what do I have to do to make this work?

No, TortoiseSVN works fine with VisualSVN server... you either have something set up wrong on the server or your are hitting the wrong repository path.

>
> Thanks in advance for any light you can shed.

BOB

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2935596

Chris Chiesa

unread,
Mar 14, 2012, 10:31:33 AM3/14/12
to us...@tortoisesvn.tigris.org, Bob Archer
Actually I solved the problem, but I'll answer your questions for completeness in case they shed light that I don't yet know I need.

> The first question is.. do you have an https certification installed?

I have no idea. I don't know anything about running an HTTP server, let alone certification (whatever that is).

> I'm not familiar with VisualSVN but usually there is a directory/local you access svn with rather than just the root server url and also you have to specify the repository, unless there is only 1.
>
> Something like http://MyServerName/svn/repository

This is exactly the answer. I had asked the VisualSVN people and they told me this as well, and it worked.

> Does the VisualSVN manual tell you the path that is sets up to the repositories?

It has a GUI interface that lets me point-and-click to set up repositories. In another panel it tells me the path (to the server, I guess, but didn't tell me I needed to specify the repository. It wasn't obvious I needed to do that).

Thanks,

Chris

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2935603

Ales Nemecek

unread,
Sep 4, 2012, 6:28:43 AM9/4/12
to us...@tortoisesvn.tigris.org
I have even realised, that it is important to have the slash "/" as the last character of the connection URL. (I am using VisualSVN as a server and TortoiseSVN as a client). So the complete URL in my environment have to be "http(s)://server_or_IP_address/svn/repository/". If I ommit the slash, it won't work.

Ales
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3003414
Reply all
Reply to author
Forward
0 new messages