473,395 Members | 1,688 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Root URL/ Application path problem with running debugger

This one is going to be hard to explain so please bear with me.

I have a web project in folder "myapp". This is where the web config lives.
I've set this to be the IIS webroot. The file "login.aspx" in this folder
is the start page.

What I want is for when I run the debugger, the url of the start page to
read as:
http://localhost:1306/login.aspx

But it is showing up as http://localhost:1306/myapp/login.aspx

If I right click on the "ASP .NET Development Server" icon in the lower
right tray, I see:

Physical path: C:\projects\myapp
Virtual path: /myapp
Port 1306
Root URL: http://localhost:1306/myapp

But I can't find where I can change these settings to read:
Virtual path: /
RootURL: http://localhost:1306/

Does someone know how I can do this?

Thanks in advance!
Jan 6 '06 #1
2 5755
I believe you have 2 different things going on here. First you talk of having
set "myapp" to be the IIS web root. However, then you talk about using the
built-in Development server ("Cassini-meanie"), which doesn't use IIS at all.

Once you get this sorted out, be happy to take another look at it.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"anyeone" wrote:
This one is going to be hard to explain so please bear with me.

I have a web project in folder "myapp". This is where the web config lives.
I've set this to be the IIS webroot. The file "login.aspx" in this folder
is the start page.

What I want is for when I run the debugger, the url of the start page to
read as:
http://localhost:1306/login.aspx

But it is showing up as http://localhost:1306/myapp/login.aspx

If I right click on the "ASP .NET Development Server" icon in the lower
right tray, I see:

Physical path: C:\projects\myapp
Virtual path: /myapp
Port 1306
Root URL: http://localhost:1306/myapp

But I can't find where I can change these settings to read:
Virtual path: /
RootURL: http://localhost:1306/

Does someone know how I can do this?

Thanks in advance!

Jan 6 '06 #2
I'm not an expert on the inner workings of the debugger, so if IIS doesn't
apply with the debugger please ignore that part of my statement.

The basic issue remains the same as Imentioned before. I am trying to run
using the built-in development server but because of the client's
architectural constraints, I need the URL to be
http://localhost:1306/login.aspx without the server forcing the foldername
into the path. If you know what settings I need to modify in order for the
development server to run in this way, I would appreciate the help in
configuring it. If you need more information from me in order to assist,
then please let me know what information that is.

Thanks

"Peter Bromberg [C# MVP]" wrote:
I believe you have 2 different things going on here. First you talk of having
set "myapp" to be the IIS web root. However, then you talk about using the
built-in Development server ("Cassini-meanie"), which doesn't use IIS at all.

Once you get this sorted out, be happy to take another look at it.
Peter

Jan 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MKJ | last post by:
Oleg Starodumov wrote: > *You can download Debugging Tools for Windows and install them: > http://www.microsoft.com/whdc/ddk/debugging/default.mspx > > Then run the following command at the...
4
by: Win, Pats | last post by:
I have a snippet of HTML that I inject into a number of pages throughout my Web site at runtime. My problem is that I'm not getting the image to appear in all documents into which this snippet is...
3
by: Dave | last post by:
Hi, since I'm developing on XP and can only have on website, how can you refer to your root application (not web) in your paths? I read for server controls that "the ~/ prefix will be converted...
19
by: Steve Franks | last post by:
I am using VS.NET 2005 beta 2. When I run my project locally using the default ASP.NET Development Web Server it runs using a root address like this: http://localhost:11243/testsite/ However...
3
by: Nalaka | last post by:
Hi, I have an asp.net web application (www.myWebSite), and a subweb application (www.myWebSite/subSite). How do I set it so that, subweb application (www.myWebSite/subSite) be the root...
4
by: Ryan Gaudet | last post by:
Hi, I'm making some minor changes to a VB 6 app that I converted to VB .NET a couple of years ago and I'm running into an issue with a function that is seemingly returning a different result in...
2
by: loga123 | last post by:
Hi All, I have 2 web applications running on the same IIS server with different roots. Suppose, application A can be run using --http://localhost/A application B can be run using...
6
by: John Kotuby | last post by:
Hi all.. In a VS2005 ASP.NET 2.0 website application I am using a regular HTML anchor (actually a number of them) in a page that produces Excel output because a server control is really not...
15
by: eltonchew | last post by:
Hi, We have an inhouse developed VB.NET Windows application which runs successfully only when the user is given a local administrator rights. Without which, it fails to start. There isn't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.