Professional Web Applications Themes

Deploy ASPX, browse, get HTTP Error 404 - ASP.NET General

I have an asp.net application. I have used VStudio Web Deployment Project to create the MSI file. I copy the MSI file from my developer PC to my test server running Win2003Server Web Edition. I run the MSI to install - looks good so far - I see the global directory, etc. I try opening the app in IE via www.myweb.com/aspxfolder; where aspxfolder is the global directory. I get the wonderful "HTTP Error 404 - File or directory not found" page. So, I created a test.html file in the same global directory and browsed to www.myweb.com/aspxfolder/test.html - and I see ...

  1. #1

    Default Deploy ASPX, browse, get HTTP Error 404

    I have an asp.net application. I have used VStudio Web
    Deployment Project to create the MSI file. I copy the
    MSI file from my developer PC to my test server running
    Win2003Server Web Edition. I run the MSI to install -
    looks good so far - I see the global directory, etc.
    I try opening the app in IE via www.myweb.com/aspxfolder;
    where aspxfolder is the global directory. I get the
    wonderful "HTTP Error 404 - File or directory not found"
    page. So, I created a test.html file in the same global
    directory and browsed to
    www.myweb.com/aspxfolder/test.html - and I see my test
    HTML. So, this has to be some type of aspx installation
    or aspx execution security issue???? I am not sure where
    to start because I basically accepted all defaults on
    installation of w2003WE and the web deployment project in
    VS.NET.
    Help? Thanks!
    -Larry

    Larry Guest

  2. #2

    Default Re: Deploy ASPX, browse, get HTTP Error 404

    You're browsing to the folder?
    That means IIS serves up the default page for the folder, normally
    default.asp
    The Start Page in the Web Project and the default page in IIS can and often
    are different.

    Try browsing to an aspx page like you did with the html.
    I suspect IIS is serving up default.asp and you don't have a page in your
    project by that name.

    -fs



    "Larry Brindise" <com> wrote in message
    news:038901c368f2$66b33220$gbl... 


    Francis Guest

  3. #3

    Default Re: Deploy ASPX, browse, get HTTP Error 404

    Thanks for the attempt.
    Actually, the VS.NET web deployment wizard is really
    smart. It actually sets the default page in the global
    directory to default.aspx, so you don't even have to mess
    with that.

    Whether I browse to the folder (expecting the default
    page to be loaded), or I browse explicitly to that
    page ".../default.aspx", I get the same problematic
    result.
    I've gone over the IIS configs - the fact that I can
    browse to my test.html proves it is not that iis doesn't
    like the folder configs. I'm convinced it has to be
    something with aspx security.

    -Larry 
    folder, normally 
    in IIS can and often 
    have a page in your 
    message [/ref]
    www.myweb.com/aspxfolder; [/ref]
    found" [/ref]
    global [/ref]
    installation [/ref]
    where [/ref]
    in 
    >
    >
    >.
    >[/ref]
    Larry Guest

  4. #4

    Default Re: Deploy ASPX, browse, get HTTP Error 404

    I truly appreciate your persistence. I already checked
    both of these. This is really unexpected, however, it is
    the first asp.net app I'm deploying, so I don't know what
    to expect. I'll post a response here when I get the
    answer - perhaps it'll cost me $245.
    -Larry 
    web.config for authorization 
    redirected as per your 
    before you'd get a 
    message [/ref]
    mess [/ref]
    doesn't 
    >> folder, normally 
    >> in IIS can and often [/ref][/ref]
    html. 
    >> have a page in your 
    >> message [/ref][/ref]
    Web [/ref][/ref]
    the [/ref][/ref]
    running [/ref][/ref]
    install - 
    >> www.myweb.com/aspxfolder; 
    >> found" 
    >> global [/ref][/ref]
    test 
    >> installation 
    >> where [/ref][/ref]
    on [/ref][/ref]
    project [/ref]
    >
    >
    >.
    >[/ref]
    Larry Guest

  5. #5

    Default Re: Deploy ASPX, browse, get HTTP Error 404

    Are the actual files in the actual directory? If you use Windows Explorer -
    are they under \inetpub\wwwroot\aspxfolder ???


    "Larry Brindise" <com> wrote in message
    news:07a401c36909$d6d8f230$gbl... 
    > web.config for authorization 
    > redirected as per your 
    > before you'd get a 
    > message [/ref]
    > mess [/ref]
    > doesn't [/ref]
    > html. [/ref]
    > Web [/ref]
    > the [/ref]
    > running [/ref]
    > install - [/ref]
    > test [/ref]
    > on [/ref]
    > project 
    > >
    > >
    > >.
    > >[/ref][/ref]



    Frank Guest

Similar Threads

  1. Deploy .aspx, browse, get 404 error
    By Larry Brindise in forum ASP.NET Security
    Replies: 6
    Last Post: November 16th, 11:06 PM
  2. How to Deploy aspx files
    By Arif Çimen in forum ASP.NET Web Services
    Replies: 1
    Last Post: March 27th, 03:44 PM
  3. Redhat 9: Can ping, Can lookup names, Can ftp, Can Not browse http...
    By 2boxers_at_comcast_dot_net in forum Linux Setup, Configuration & Administration
    Replies: 6
    Last Post: November 19th, 06:15 PM
  4. Use standard ASPX page as a HTTP handler
    By Michael in forum ASP.NET General
    Replies: 0
    Last Post: August 3rd, 04:49 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139