Asp Pages "not found", but asp.net pages fine
I moved my whole project from my WinXP machine, to my Win2k3 machine on which i also installed vs2003 pro. (IIS 6)
My project is a mix of asp.net and older html and asp pages.
The asp.net pages work just fine, but everywhere where there's asp pages, one get an error "page not found"
I verified that the asp pages are indeed includd in my project. Enable anonymous access, and assigned read, write, etc permissions in IIS.
Any ideas?
Re: Asp Pages "not found", but asp.net pages fine
I'm guessing is it because the directory locations have all changed ? :ehh:
Re: Asp Pages "not found", but asp.net pages fine
Nope, just copied to a different location, which cannot be the problem as I did this lots of times between different computers. Just create the virtual directory in IIS and you're set.
The difference this time is the site was moved to a windows 2003 server with IIS6, as opposed to WinXP with IIS 5 in the past.
Not a single file inside the application directory was moved.
What I did notice after opening the project for the first time in VS (2003) was that all the asp file were excluded from the project. I included them one by one.
Re: Asp Pages "not found", but asp.net pages fine
Maybe start a new project and copy the code and saving each page ; might work, or could you use server.MapPath to fix the problem or try using absolute paths instead or relative? just a few ideas for you :ehh:
Re: Asp Pages "not found", but asp.net pages fine
Thanks for the try Rabbid,
However the problem was twofold.
First, iis6 got asp disabled by default. By enabling it, I was nearly there. All Asp pages in my root directory worked, but not those further into the directory tree.
To fix that, I had to change some setting..uuh..forgot now...just got home.
If anyone get this problem too, let me know, and I'll check how i did it.
Re: Asp Pages "not found", but asp.net pages fine
kewl well glad you got it sorted soz I wasn't any help like :blush:
Re: Asp Pages "not found", but asp.net pages fine
You made them virtual directories?
Re: Asp Pages "not found", but asp.net pages fine
Quote:
Originally Posted by rabid lemming
kewl well glad you got it sorted soz I wasn't any help like :blush:
Thanks for the try dude. More than I can say. Find myself always "too busy" to answer post, while I post for help all the time. Guess you can call me a self confessed pr!ck.
Dont understand your Q M. I said I use IIS, and know of no other way hosting a site in iis using virtual directories. I'll post what I did tomorrow.
Re: Asp Pages "not found", but asp.net pages fine
Well I personally find that by helping out on forums, I learn more though helping others then if by trying to follow tutorials, so really by trying to help you; your really helping me. :bigyello: