title: Ankhsvn integrated in Visual Studio 2010 can't connect to SVN repo on network drive
body: <p>I'm having trouble making commits to/updating from the SVN repository I set up the other day on my network drive <a href="http://www.amazon.co.uk/Iomega-34767-Drive-Cloud-Edition/dp/B004S133NI/ref=sr_1_5?s=computers&amp;ie=UTF8&amp;qid=1362835237&amp;sr=1-5" rel="nofollow noreferrer">(one of these)</a> at home.</p>
  
  <p>I'm referring to the repository using the url:</p>
  
  <pre><code>file://mynetworkdrive/Documents/subversion/code/sln/trunk/MyWebsite/trunk/Home
  </code></pre>
  
  <p>When I select either of the Update or Commit options from the Solution context menu in VS 2010 I get a dialog window displaying the exception shown below:</p>
  
  <p><img src="https://i.stack.imgur.com/7febk.png" alt="enter image description here"></p>
  
  <pre><code>SharpSvn.SvnRepositoryIOException: Commit failed (details follow): ---&gt; SharpSvn.SvnRepositoryIOException: Unable to connect to a repository at URL 'file://mynetworkdrive/Documents/subversion/code/sln/trunk/MyWebsite/trunk/Home' ---&gt; SharpSvn.SvnRepositoryIOException: Unable to open an ra_local session to URL ---&gt; SharpSvn.SvnRepositoryIOException: Unable to open repository 'file://mynetworkdrive/Documents/subversion/code/sln/trunk/MyWebsite/trunk/Home' ---&gt; SharpSvn.SvnSystemException: Can't open file '\\mynetworkdrive\Documents\subversion\code\sln\trunk\MyWebsite\trunk\Home\format': Logon failure: unknown user name or bad password.  
     --- End of inner exception stack trace ---
     --- End of inner exception stack trace ---
     --- End of inner exception stack trace ---
     --- End of inner exception stack trace ---
     at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
     at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
     at SharpSvn.SvnClient.Commit(ICollection`1 paths, SvnCommitArgs args, SvnCommitResult&amp; result)
     at Ankh.Services.PendingChanges.PendingChangeHandler.&lt;&gt;c__DisplayClass1b.&lt;Commit_CommitToRepository&gt;b__19(Object sender, ProgressWorkerArgs e)
  </code></pre>
  
  <p>When I first set this up I could communicate with the repository fine from within Visual Studio.  </p>
  
  <p>I can browse the contents of the network drive using windows explorer.  </p>
  
  <p>I can use TortoiseSVN outside of Visual Studio to update or commit to my repository.  </p>
  
  <p>However, this is a pain, I want to have the Ankhsvn integration with Visual Studio available to use.</p>
  
  <p>It seems as though Visual Studio has forgotten the username/password that it needs to access the URL.  I can't find a way to replace or force a prompt for credentials.</p>
  
  <p>I also changed to running Visual Studio 2010 as Administrator so that I could work with IIS 7, I wondered if that had something to do with it?</p>