tag:blogger.com,1999:blog-1327431886118922768.post6303381241123825198..comments2008-10-06T08:35:51.187-07:00Comments on The EXPTA {blog}: Configuring Virtual Directories with Directory Bro...Jeffhttp://www.blogger.com/profile/05278298222887921824jeff@expta.comBlogger10125tag:blogger.com,1999:blog-1327431886118922768.post-73379856881052691972008-10-06T08:34:00.000-07:002008-10-06T08:34:00.000-07:00Hi Peter,I found the link you provided to work in ...Hi Peter,<BR/><BR/>I found the link you provided to work in IIS7. One thing you might check is if you are using too many blank spaces in your virtual directory listing's name. I found if I have more then 3, this technique doesn't work.<BR/><BR/>Good Luck.Chrisnoreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-73618194051150347852008-10-02T02:47:00.000-07:002008-10-02T02:47:00.000-07:00I'have a Directory, who is browsing enabled and it...I'have a Directory, who is browsing enabled and it works fine. Now I have add a additional Virtual Directory in it. When I browse the web site I do not see the Virtual directory<BR/><BR/>I found a solution for ii6 ( http://blog.crowe.co.nz/archive/2006/03/18/603.aspx ) but it did not work on IIS 7.<BR/><BR/>Do you have any suggestion?<BR/><BR/>PeterAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-87183702329685663012008-08-04T10:16:00.000-07:002008-08-04T10:16:00.000-07:00Chris,THANKS for posting your solution! Hopefully ...Chris,<BR/><BR/>THANKS for posting your solution! Hopefully this will help others with the same issue.Jeffhttp://www.blogger.com/profile/05278298222887921824noreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-60160435820291736502008-08-04T08:26:00.000-07:002008-08-04T08:26:00.000-07:00Forms authentication and directory browsing issue ...Forms authentication and directory browsing issue resolved.<BR/><BR/>In order to fix this problem:<BR/>1) At the highest level of the site, click the modules feature<BR/><BR/>2) Select FormsAuthentication --> Edit<BR/><BR/>3) <B>UN-CHECK</B> "Invoke only for requests to ASP.NET applications or managed handlers"<BR/><BR/>4) hit ok <BR/><BR/>Done!!!<BR/>Hours of trial and error for that little option box. I cannot believe it is / was that simple.Chrisnoreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-10504526801794990842008-08-01T14:50:00.000-07:002008-08-01T14:50:00.000-07:00I use Basic and Windows Authentication, depending ...I use Basic and Windows Authentication, depending on the content and how it's accessed.<BR/><BR/>Good luck!Jeffhttp://www.blogger.com/profile/05278298222887921824noreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-1356220561853649952008-08-01T14:40:00.000-07:002008-08-01T14:40:00.000-07:00I will do. Thank you for link / assistance.Out of...I will do. Thank you for link / assistance.<BR/><BR/>Out of curiosity, what type of authentication do you use?Chrisnoreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-30029809632661123712008-08-01T14:33:00.000-07:002008-08-01T14:33:00.000-07:00Sorry, I tried to reproduce your error, but can't ...Sorry, I tried to reproduce your error, but can't since I don't use forms based authentication.<BR/><BR/>Check MS KB907273 (http://support.microsoft.com/default.aspx/kb/907273) to see if it helps.Jeffhttp://www.blogger.com/profile/05278298222887921824noreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-88031984368196013112008-08-01T13:57:00.000-07:002008-08-01T13:57:00.000-07:00Wow. Thank you for the quick response!Maybe I am ...Wow. Thank you for the quick response!<BR/><BR/>Maybe I am missing something. <BR/><BR/>I have a web app called "site" which users must enter by means of forms authentication. I have a link on the site to a sub-directory called "contracts" (the link is [a href=site/contracts]link[/a]) which users <I>should</I> be able to browse... but they cannot unless I also allow anonymous authentication for this sub-folder.<BR/><BR/>If I enable forms, but disable anonymous, then I get this response:<BR/>HTTP Error 401.2 - Unauthorized<BR/>You are not authorized to view this page due to invalid authentication headers.<BR/><BR/>I have also ensured my site is in the default app pool. The default app pool's identity is Network Service. I have also ensured Network Service has read permissions to the site/contracts folder.<BR/><BR/>When I look at the detailed error msg, it tells me the logon method is not yet determined, and the logon user is not yet determined... Even though I had to log in to get to the link.<BR/><BR/>If I leave anonymous authentication enabled, a non-user could just type in the address to http://site/contracts/ to see the contents.<BR/><BR/>Is there a session state variable I am missing?Chrisnoreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-72448534894918878932008-08-01T13:07:00.000-07:002008-08-01T13:07:00.000-07:00That makes sense, since you've enabled forms authe...That makes sense, since you've enabled forms authentication. Am I missing something?Jeffhttp://www.blogger.com/profile/05278298222887921824noreply@blogger.comtag:blogger.com,1999:blog-1327431886118922768.post-48337500588925519812008-08-01T12:58:00.000-07:002008-08-01T12:58:00.000-07:00I am begging for assistance on this. I am using i...I am begging for assistance on this. I am using iis7 with forms authentication. I have enabled directory browsing on a sub-directory of my site. I have also added read permissions to network service.<BR/><BR/>The problem is, the only way to view the directory is to also enable anonymous authentication, or else I get a 401 page or a redirect to the login page. Please help!Chrisnoreply@blogger.com