Deploy .aspx, browse, get 404 error

L

Larry Brindise

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
 
K

Ken Schaefer

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
http://www.myWeb.com/aspfolder/ then default.aspx needs to be in the list of
default documents for that folder.

Cheers
Ken

: 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
 
K

Ken Schaefer

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

Cheers
Ken

: 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
: >http://www.myWeb.com/aspfolder/ then default.aspx needs
: to be in the list of
: >default documents for that folder.
: >
: >Cheers
: >Ken
: >
: message
: >: >: 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
: >
: >
: >.
: >
 
K

Ken Schaefer

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

Cheers
Ken


: Should have mentioned that I also tried:
: http://www.myweb.com/aspxfolder/default.aspx
: 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
 

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,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top