I can confirm that URLScan does *NOT* resolve the issue with VS2003
choking on .svn directories.
Recipe:
Setup:
o Created a blank VS2003 solution named WorkaroundTest_Solution
(File->New...->Blank Solution).
o In Windows Explorer, created a new directory named
WorkaroundTest within the solution.
o In Windows Explorer, configured Web Sharing on the directory -
it's shared as WorkaroundTest
o Back in VS2003, added a new Web Project at WorkaroundTest.
o Exited VS2003, saving changes.
o Created new directory called .foo in WorkaroundTest
o Tried to open the VS2003 solution - got an error: "Refreshing
the project failed. Unable to retrieve folder information
from the server."
Try the workaround:
o Verified that parent path navigation is enabled - it already
is enabled on my machine
o Installed the URLScan 2.5 tool.
o Verified that default settings for URLScan 2.5 block path
with . - for instance
http://localhost/Portal/default.aspx/Common/View%20All%20Payment%20Reque
sts/default.aspx
is blocked.
o Edited the .ini file for URLScan to AllowDotInPath.
Restarted IIS Admin and World Wide Web Publishing services
o Verified that path with . can now be viewed - the example
on localhost from above now works
Refershing project still fails:
o Tried to open the VS2003 solution - got an error: "Refreshing
the project failed. Unable to retrieve folder information
from the server."
I'm running VS2003 on WinXPPro sp1.
-Joseph
-----Original Message-----
From: Brian W. Fitzpatrick [mailto:fitz@red-bean.com]
Sent: Friday, March 12, 2004 9:34 AM
To: Justin Erenkrantz
Cc: Greg Hudson; dev@subversion.tigris.org
Subject: Re: VS.NET and ".svn" is a *non-issue*
On Fri, 2004-03-12 at 11:28, Justin Erenkrantz wrote:
> --On Friday, March 12, 2004 12:22 PM -0500 Greg Hudson
<ghudson@MIT.EDU> wrote:
>
> > On Fri, 2004-03-12 at 12:20, Brian W. Fitzpatrick wrote:
> >> Nick, thank you a million. I'm putting this into the FAQ right
now!
> >
> > Um, minor problem: I don't think it's true.
>
> Agreed. I actually examined these scenarios last week (independently
as I
> found UrlScan and those settings myself), and then re-read what Kevin
posted.
> I'd like confirmation as this directly contradicts what Kevin said.
-- justin
Good point. In a hold pattern until someone else can confirm this.
-Fitz
Here's my patch in progress. If we get verification I'll commit it
(with any needed changes):
Index: project_faq.html
===================================================================
--- project_faq.html (revision 9010)
+++ project_faq.html (working copy)
@@ -67,6 +67,9 @@
<p>
<strong>Troubleshooting:</strong>
</p>
+
+<li><a href="#vsnet">Subversion won't work with Microsoft VS.NET
+because of the <tt>.svn</tt> directories in my working copy.</a></li>
<li><a href="#wedged-repos">Every time I try to access
my repository, the process just hangs. Is my repository
corrupt?</a></li>
@@ -1048,6 +1051,31 @@
<![CDATA[-----------------------------------------------------------]]>
+<h3><a name="vsnet">Subversion won't work with Microsoft VS.NET
+because of the <tt>.svn</tt> directories in my working copy.</a></h3>
+
+<p>There seems to be a lot of confusion regarding VS.NET 200x and the
+".svn" directories. VS.NET has absolutely no problem with them. The
+"problem" is IIS6 which Microsoft patched to disallow paths containing
+dots (for "security reasons"). So waiting for the next release of
+VS.NET (Whidbey) won't do any good.</p>
+
+<p>Disallowing paths containing dots is only the <b><i>default</i></b>
+behaviour and can be easily worked around.</p>
+
+<p>The first thing to try is enabling parent path navigation:
+<a
href="http://support.microsoft.com/?id=332117">http://support.microsoft.
com/?id=332117</a></p>
+
+<p>If that doesn't work, then get <a
+href="http://www.microsoft.com/downloads/details.aspx?FamilyId=23D18937
-DD7E-4613-9928-7F94EF1C902A&displaylang=en">UrlScan
+2.5</a> from Microsoft and configure it with <tt>AllowDotInPath=1</tt>
+in the ini-file.</p>
+
+<p><b>Never ever</b> use any of the two suggestions above in
+Internet-production environments.</p>
+
+<![CDATA[-----------------------------------------------------------]]>
+
<h3><a name="wedged-repos">Every time I try to access my repository,
the
process just hangs. Is my repository corrupt?</a></h3>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 12 21:13:13 2004