An attempt to use SharpSVN in an ASP.NET application. So far, this has been just a problem. First, I continued to receive permission errors for "locked" files (which do not exist), although NETWORK SERVICE has full permissions on directories. Finally, disappointed, I just gave everyone complete control. Now I get a new error:
OPTIONS ' https: // server / svn / repo ': authorization failed: server authentication failed: rejected main call ( https: // server )
This will happen if I set DefaultCredentials below or not:
using (SvnClient client = new SvnClient()) { //client.Authentication.DefaultCredentials = new System.Net.NetworkCredential("user", "password"); client.LoadConfiguration(@"C:\users\myuser\AppData\Roaming\Subversion"); SvnUpdateResult result; client.Update(workingdir, out result); }
Any clues? I wish there was documentation in this library because it seems so useful.
Bryan source share