Reputation: 51
My hard drive crashed and I have all the files but had to install the operating system. After I did that and installed Visual SVN Server, I imported my old repositories into it.I can create new repositories fine, but when I try to import an existing repository and then commit changes I hadn't committed before the crash, using right click on the project in the file system (with Tortoise installed) I get various error messages. One of them says
Unable to connect to a repository at URL.. access to /svn/xxx/trunk forbidden
When I look at the users on the security tab of the project folder, the permissions are the same. On the Subversion tab, is shows the number of revisions, the last revision, etc. But when I click to show the log, it prompts me to go off line, then I get errors. I also get prompted for a login, which had never happened before. I looked at the htpasswd file in the repositories location on the old repository and the new one and the files are exact. I just need to get these project back under SVN and not lose their history of changes. Visual SVN Server site says I can create a dump file on the old server to import, but I just have all the files from backup of my previous hard drive.
Can someone point me to any more information about how to do this?
Upvotes: 2
Views: 2375
Reputation: 51
Thanks to bahrep's suggestion to look in the event viewer, I am able to fix the problem. I will have to research the "why", but I did find that the repositories I couldn't access had conf/VisualSVN.lck and the ones I could access had conf/VisualSVN-SvnAuthz.ini. So I deleted the .lck file and added the VisualSVN-SynAuthz.ini file and I am now able to access those repositories. Thanks for your help. Judy
Upvotes: 1
Reputation: 30662
IMPORTANT: On the new machine you should install the same VisualSVN Server version as was installed on the old machine! If you had VisualSVN Server 2.5 or older installed, download and install latest VisualSVN Server 2.5 version.
Upvotes: 0