Debugging Web Apps?
Posted on 2006-05-29
Im using ASP.NET 1.1 under Windows XP, IIS5, and IE6/FF. I'm tyring to debug my 2 web applications under Visual Studio 2003 .NET. One application is a Rainbow Portal .NET control (GoogleMap.ascx) and the other is a standard .ASPX web app (Geocode.aspx). GoogleMap.ascx resides within the Rainbow Portal DesktopModules dsubdirectory, while the Geocode.aspx app resides within a different folder outside of the whole Rainbow root folder. IIS is set to have the default website root folder point to the Rainbow Portal root directory.
My problems include:
1. When I want to run both the Rainbow Portal app (which inserts my .ascx control onto a dynamic page) and the Geocode.aspx file, this is impossible. I receive some Web.Config security error which appears to be Rainbow Portal blocking any ASP.NET page from running including if it is not within its own folder. I normally have to switcht IIS to the root of my Geocode.aspx folder before all is fine.
The error i receive when trying to connect to the Gecode.aspx page:
Parser Error Message: File or assembly name Rewrite.NET, or one of its dependencies, was not found.
Line 420: <!-- HttpURLHandler for handling url requests -->
Line 421: <httpModules>
Line 422: <add type="Rewrite.NET.Rewrite,Rewrite.NET" name="Rewrite.NET" />
Line 423: <!--<add name="XHTMLHTTPModule" type="AspNetResources.Web.XHTMLHTTPModule, XHTMLHTTPModule" />-->
Line 424: </httpModules>
2. I cant debug both applications at the same time. I've tried setting up a second web server (Abyss Web Server) on port 81 to take requests for the second applicaiton but it appears I cant debug the application. I think IIS seems to only provide such an ability whereas Abyss is clueless.
Anyone have a solution on how to debug 2 seperate ASP.NET applications under Visual Studio .NET 2003 on the same local PC or at least know how to get around this Rainbow error message when trying to connect to a virtual folder that is outside its root folder?