Deploy .aspx, browse, get 404 error

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Deploy .aspx, browse, get 404 error

    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 [url]www.myweb.com/aspxfolder;[/url]
    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
    [url]www.myweb.com/aspxfolder/test.html[/url] - 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 Brindise Guest

  2. Similar Questions and Discussions

    1. Bug: Insert Link (Browse to Web Page) Error
      I was demonstrating Contribute to a client this morning and discovered that the "Browse to Web Page" feature does not work. Attempting to link to...
    2. CFMX 6.1 Admin Error (homapage.cfm/browse buttons)
      Hi, I cannot work out what is going on with this fresh install of MX. I've looked on here and googled but with no luck :( The trace below is...
    3. flex.war deploy error tomcat linux
      Hi i cant deploy flex.war in redhat enterprise tomcat 4.1. tomcat log: 2006-01-26 13:40:37 StandardManager: Seeding of random number generator...
    4. How to Deploy aspx files
      Hi everybody, I'm a new be for ASP .NET. I made a simple project (C# coded web project) and I want to deploy it to my web site. My project...
    5. web.config Configuration Error when deploy
      Hi, I develop a Asp.net application using VS.NET and It work well on my computer . but when I deploy the application to another IIS runming...
  3. #2

    Default Re: Deploy .aspx, browse, get 404 error

    What have you set as the default document(s) for that folder?

    If you're starting page is default.aspx and you want to be able to browse to
    [url]http://www.myWeb.com/aspfolder/[/url] then default.aspx needs to be in the list of
    default documents for that folder.

    Cheers
    Ken

    "Larry Brindise" <larrynospam@tradegear.com> wrote in message
    news:037301c368f9$4644b840$a501280a@phx.gbl...
    : 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 [url]www.myweb.com/aspxfolder;[/url]
    : 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
    : [url]www.myweb.com/aspxfolder/test.html[/url] - 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


    Ken Schaefer Guest

  4. #3

    Default Re: Deploy .aspx, browse, get 404 error

    So what happens if you do:
    [url]http://www.myWeb.com/aspfolder/default.aspx[/url]
    ?

    Cheers
    Ken

    "Larry Brindise" <larrynospam@tradegear.com> wrote in message
    news:009201c36aba$7c029070$a001280a@phx.gbl...
    : Thanks for the reply, however, the VS MSI installer
    : automatically sets the default document
    : to "default.aspx", and I have that as the start page of
    : my project.
    : -Larry
    : >-----Original Message-----
    : >What have you set as the default document(s) for that
    : folder?
    : >
    : >If you're starting page is default.aspx and you want to
    : be able to browse to
    : >[url]http://www.myWeb.com/aspfolder/[/url] then default.aspx needs
    : to be in the list of
    : >default documents for that folder.
    : >
    : >Cheers
    : >Ken
    : >
    : >"Larry Brindise" <larrynospam@tradegear.com> wrote in
    : message
    : >news:037301c368f9$4644b840$a501280a@phx.gbl...
    : >: 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
    : [url]www.myweb.com/aspxfolder;[/url]
    : >: 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
    : >: [url]www.myweb.com/aspxfolder/test.html[/url] - 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
    : >
    : >
    : >.
    : >


    Ken Schaefer Guest

  5. #4

    Default Re: Deploy .aspx, browse, get 404 error

    Should have mentioned that I also tried:
    [url]http://www.myweb.com/aspxfolder/default.aspx[/url]
    Get the same error.
    This is why I think there is something underneath
    missing. I have verified that my bin folder is populated
    with the dll containing codebehind stuff.
    Thanks,
    -Larry
    >-----Original Message-----
    >So what happens if you do:
    >[url]http://www.myWeb.com/aspfolder/default.aspx[/url]
    >?
    >
    >Cheers
    >Ken
    >
    >"Larry Brindise" <larrynospam@tradegear.com> wrote in
    message
    >news:009201c36aba$7c029070$a001280a@phx.gbl...
    >: Thanks for the reply, however, the VS MSI installer
    >: automatically sets the default document
    >: to "default.aspx", and I have that as the start page of
    >: my project.
    >: -Larry
    >: >-----Original Message-----
    >: >What have you set as the default document(s) for that
    >: folder?
    >: >
    >: >If you're starting page is default.aspx and you want
    to
    >: be able to browse to
    >: >[url]http://www.myWeb.com/aspfolder/[/url] then default.aspx
    needs
    >: to be in the list of
    >: >default documents for that folder.
    >: >
    >: >Cheers
    >: >Ken
    >: >
    >: >"Larry Brindise" <larrynospam@tradegear.com> wrote in
    >: message
    >: >news:037301c368f9$4644b840$a501280a@phx.gbl...
    >: >: 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
    >: [url]www.myweb.com/aspxfolder;[/url]
    >: >: 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
    >: >: [url]www.myweb.com/aspxfolder/test.html[/url] - 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 Brindise Guest

  6. #5

    Default Re: Deploy .aspx, browse, get 404 error

    URLScan isn't installed on that remote machine is it? If so, it might be
    rejecting the .aspx extension (hence the 404)

    Cheers
    Ken


    "Larry Brindise" <larrynospam@tradegear.com> wrote in message
    news:044501c36b32$a19529b0$a101280a@phx.gbl...
    : Should have mentioned that I also tried:
    : [url]http://www.myweb.com/aspxfolder/default.aspx[/url]
    : Get the same error.
    : This is why I think there is something underneath
    : missing. I have verified that my bin folder is populated
    : with the dll containing codebehind stuff.
    : Thanks,
    : -Larry


    Ken Schaefer Guest

Posting Permissions

  • You may not post new threads
  • You may 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