<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio 2005</title><link>http://forums.asp.net/138.aspx</link><description>General discussions of Visual Studio 2005.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=162&amp;c=30" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: "Failed to map the path '/'." exception in VB 2005</title><link>http://forums.asp.net/thread/1541591.aspx</link><pubDate>Sun, 21 Jan 2007 19:46:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1541591</guid><dc:creator>vivek_iit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1541591.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1541591</wfw:commentRss><description>&lt;p&gt;You can use Request objects path related methods if Server.MapPath doesnt suit your needs. Check this blog for details:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://west-wind.com/weblog/posts/269.aspx"&gt;http://west-wind.com/weblog/posts/269.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Vivek&lt;/p&gt;</description></item><item><title>Re: "Failed to map the path '/'." exception in VB 2005</title><link>http://forums.asp.net/thread/1541507.aspx</link><pubDate>Sun, 21 Jan 2007 17:16:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1541507</guid><dc:creator>fripper</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1541507.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1541507</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks Vivek ... but I have one problem.&amp;nbsp; Server.MapPath("~") does (as you siggest) give me the root of the website but the folder I am after is the folder that CONTAINS the root of the website ... that is I want to go back one folder.&amp;nbsp; I suppose I can take what Server.MapPath("~") gives me and parse it to find the last "/" but that seems awkward ... there is probably a better way.&amp;nbsp;&amp;nbsp; Thanks for your help.;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: "Failed to map the path '/'." exception in VB 2005</title><link>http://forums.asp.net/thread/1541227.aspx</link><pubDate>Sun, 21 Jan 2007 09:30:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1541227</guid><dc:creator>vivek_iit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1541227.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1541227</wfw:commentRss><description>&lt;p&gt;Try&amp;nbsp;using Server.MapPath("~") instead to get the root of the website and then access subfolders like: Server.MapPath("~/Folder1");&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;Vivek&lt;/p&gt;</description></item><item><title>"Failed to map the path '/'." exception in VB 2005</title><link>http://forums.asp.net/thread/1541133.aspx</link><pubDate>Sun, 21 Jan 2007 05:19:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1541133</guid><dc:creator>fripper</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1541133.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1541133</wfw:commentRss><description>&lt;p&gt;I have a VB web app that I originally wrote using VS 2003 and am now converting to VB 2005.&amp;nbsp; The conversion seemed to go OK but when I run debug to test it I get an exception "Failed to map the path '/'." from the statement&amp;nbsp;&amp;nbsp;PATH = Server.MapPath("..").&amp;nbsp; I cannot figure why this happens ... it works fine in VB 2003.&amp;nbsp; CAn someone enlighten me?&amp;nbsp; Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>