Web sites on alternate www ports in ASP.Net 2.0 won't build

G

Guest

Hello,

I am trying to create a website on port 8888 with VisualStuidio 2005. When
I go to create a new project or migrate from an old one, everything seems to
work fine, but when I go to build I get an error on every .aspx page like:

ASP.NET runtime error: '/www.website.com:8888/' is not a valid virtual path.
page.aspx 1 1 http://www.website.com:8888/

This always worked fine in VS.NET 2003 and earlier. I found another user on
this newsgroup who had the same problem (Subject: Is not a valid virtual
path, 12/9/2005 2:57 AM PST, By: Federico), but never was answered. So is
there any way to solve this problem.

Thanks for your help,

-Christopher J. Walker
 
G

Guest

What I think I'm going to do, once I'm done pissing and moaning, is convert
all my sites that use alternate ports on the same IP, to still share the same
IP, but use host headers to differentiate the sites. That means that, even
though these are development sites that really don't need dns entries, I'll
have to set them up anyway. So site1.dev.site.com, site2.dev.site.com; I
think that will work since I'm guessing the problem is because VS 2005 is
looking for a local folder and it doesn't like the colon:)) in the path name.
I tried playing around with the SLN file in my Visual Studio Projects folder
under My Documents, but it didn't really work for me and I'm not sure where
else I might have to modify. So much for backwards compatible.
 
G

gerry

Can you let us know how you make out with this ?
I went the host header route and have had no problems
creating/building/browsing the site but have been unable to get debugging to
work.
Debugging does work fine for disk based sites and the iis web sites in and
under the default site but not for iis sites that use host headers.

Gerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top