Chau
Chau

Reputation: 5570

Ankhsvn "Failed to authorize"

I am trying to set up Ankhsvn 2.1.7444.278 with Subversion 1.5.0 on both VS08 and VS2010.B2.

When supplying Ankhsvn with repository url, it recognises the url and allow me to select my repository. The repository is empty (since I haven't put anything into it yet). When I click OK and after applying a log-entry, it return with the error "You failed to authorize against the remote repository.".

What am I doing wrong?

Regards, Casper

Upvotes: 1

Views: 1948

Answers (2)

Mike de Klerk
Mike de Klerk

Reputation: 12338

I experienced the same problem but with a different cause. I didn't uncommented the password-db = passwd line in svnserve.conf using svnserve -d -r [path to repositories]. Also, be sure to set a password in the passwd file as well.

Upvotes: 3

Chau
Chau

Reputation: 5570

OK, I solved the problem.

Using TortoiseSVN, I tried to commit a file and I got another error telling me that the database was locked. The problem was that I didn't have the correct user rights to access the repository. By this I mean that I wasn't added as a user on the repository folder on the server and I added myself using Windows Explorer and not through various credentials in the Subversion, the Tortoise client or Ankhsvn - as suggested in other forums.

Upvotes: 1

Related Questions