Results 1 to 9 of 9

Thread: Asp Pages "not found", but asp.net pages fine

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Resolved 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?
    Last edited by StrangerInBeijing; Jun 30th, 2006 at 06:54 AM.

  2. #2
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Smile Re: Asp Pages "not found", but asp.net pages fine

    I'm guessing is it because the directory locations have all changed ?

    I will wait for death with a smile and a big stick

  3. #3

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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.

  4. #4
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Lightbulb 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

    I will wait for death with a smile and a big stick

  5. #5

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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.

  6. #6
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Re: Asp Pages "not found", but asp.net pages fine

    kewl well glad you got it sorted soz I wasn't any help like

    I will wait for death with a smile and a big stick

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Asp Pages "not found", but asp.net pages fine

    You made them virtual directories?

  8. #8

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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
    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.

  9. #9
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    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.

    I will wait for death with a smile and a big stick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width