Harsha M V
Harsha M V

Reputation: 54979

SVN Error - Unexpected return value

I am trying to checkout a repository on my windows machine. i am getting the following error.

enter image description here

Upvotes: 0

Views: 793

Answers (4)

mliebelt
mliebelt

Reputation: 15525

TortoiseSVN caches the authentication data in the directory c:\Users\<username>\AppData\Roaming\Subversion\auth, and there normally in the directory svn.simple. It stores not your password, but a hash of it. Every time the server asks the client for the password data, this information is looked up and sent back. If TortoiseSVN gets a 403 back, it normally pops up a dialog to update the password information.

You can reset that information in the following dialog: TortoiseSVN > Settings > Saved Data > Authentication Data > Clear. Another way is to throw away the directory svn.simple or even some entries in that directory (depending on the contents).

Upvotes: 1

Maheep
Maheep

Reputation: 5605

As Matteo have pointed out, the error is for denial of access. you will have to provide the username and password. And you should have read access for that user.

Problem you have said that it is not asking for credentials. For this one work around is that to clear saved data for credentials.

Got to TortoiseSVS->Settings->Saved Data -> Authentication Data-> Clear

Then try to access the repository. It will ask for credentials.

Upvotes: 2

Matteo
Matteo

Reputation: 14940

403 is used when you don't have the right to access the resource. You should check that:

  • you are using the correct URL
  • you are using the correct credentials (user/password)
  • you have read access to the repository

In any case you could ask the repository administrator to check in the log files what is the actual problem.

Upvotes: 1

Blender
Blender

Reputation: 298532

When I try it from my SVN client, I get this:

blender ~ $ svn checkout http://xp-dev.com/svn/restasy
Authentication realm: <http://xp-dev.com:80> XP-Dev.com
Password for 'blender':

The SVN repository needs you to login. I'm not sure how you do this with TortiseSVN, though, but I doubt it'll be hard for you to figure out.

Upvotes: 1

Related Questions