jehuty
jehuty

Reputation: 538

IIS 5.1 not resolving Virtual Directory

I set up a Virtual Directory called 'Site'. I browse to http://localhost/Site/default.aspx, and it loads. However, when I click on anything on the page, say Page1.aspx, it goes to http://localhost/Page1.aspx instead of the expected http://localhost/Site/Page1.aspx.

In the source file, the relative paths are coded as '/Page1.aspx', for example, and it has worked in the past.

I'm using Win XP Pro SP3 and IIS 5.1. Any ideas on what might be causing this behavior?

Upvotes: 0

Views: 804

Answers (3)

jehuty
jehuty

Reputation: 538

The best workaround I found was using this little IIS utility, IISAdmin.NET, found at http://iisadmin.codeplex.com

Upvotes: 0

IrishChieftain
IrishChieftain

Reputation: 15253

The correct home page URL in this case should be:

http://localhost/default.aspx

What happens when you try that?

Upvotes: 1

Retired_User
Retired_User

Reputation: 1595

Try converting the virtual directory to an application.

Upvotes: 0

Related Questions