Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / July 2003

Tip: Looking for answers? Try searching our database.

Debug with Host Headers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PJ - 27 Jul 2003 04:22 GMT
I need to be able to debug my application through host headers that I have
set up in IIS and my local hosts file.  When debugging starts, the url IE is
sent to is:

//localhost/myapp/mychosenstartpage

Is there a way to debug with a host header?  Something like:

//myapp.com

TIA~ PJ
Mike Forkey [MSFT] - 31 Jul 2003 19:53 GMT
--------------------
| From: "PJ" <pjwal@hotmail.com>
| Subject: Debug with Host Headers
[quoted text clipped - 12 lines]
|
| TIA~ PJ

PJ:
Can you tell me more about your scenario and what you have tried? What type
of project is it? Have you verified that web site is accessible via your
webrowser? If the web browser can't find it the debugger won't either. You
would also need to set up your chosen page as the default to only need the
host header name to access it as you indicate above. If not then somthing
like //myapp.com/myapp/mychosenstartpage should work.

I tried to replicate the scenario you describe. But I couldn't even get the
web browser to find the site by the new name.

Assuming you do have that working and can access it from your web browser
you should be able to change URL in the Debugging Properties page for your
project and I think it should work. I am still trying to verify that though
(i.e. whether or not it is a supported scenario.)

Mike Forkey
Visual C++ Team
Legal stuff: This posting is provided AS IS with no warranties, and confers
no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.