473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

Nov 17 '05 #1
4 1881
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" <la*********@tradegear.com> wrote in message
news:03****************************@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 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

Nov 17 '05 #2
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
-----Original Message-----
You're browsing to the folder?
That means IIS serves up the default page for the folder, normallydefault.asp
The Start Page in the Web Project and the default page in IIS can and oftenare 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 yourproject by that name.

-fs

"Larry Brindise" <la*********@tradegear.com> wrote in messagenews:03****************************@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 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

.

Nov 17 '05 #3
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
-----Original Message-----
If it's security related, you could check your web.config for authorizationsection.
Should have something like:
allow = "*"
in there.
If it was security I'd expect you to get either redirected as per yourweb.config Authentication settings or an access denied before you'd get a404 (not found).

sorry can't help any more than that.
-fs

"Larry Brindise" <la*********@tradegear.com> wrote in messagenews:02****************************@phx.gbl...
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
>-----Original Message-----
>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" <la*********@tradegear.com> wrote in

message
>news:03****************************@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

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

.

Nov 17 '05 #4
Are the actual files in the actual directory? If you use Windows Explorer -
are they under \inetpub\wwwroot\aspxfolder ???
"Larry Brindise" <la*********@tradegear.com> wrote in message
news:07****************************@phx.gbl...
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
-----Original Message-----
If it's security related, you could check your

web.config for authorization
section.
Should have something like:
allow = "*"
in there.
If it was security I'd expect you to get either

redirected as per your
web.config Authentication settings or an access denied

before you'd get a
404 (not found).

sorry can't help any more than that.
-fs

"Larry Brindise" <la*********@tradegear.com> wrote in

message
news:02****************************@phx.gbl...
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
>-----Original Message-----
>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" <la*********@tradegear.com> wrote in
message
>news:03****************************@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
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
>>
>
>
>.
>

.


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Larry Brindise | last post by:
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...
1
by: Corey Putzier via .NET 247 | last post by:
We just set up a new Windows 2003 Standard Server. Ran allWindowsUpdates. IIS is installed and we registered ASP.net exentions (v1.1.4322)in IIS6. They show up as registered in IIS. I configured...
3
by: Anthony | last post by:
All, I have a web app that uses a Web Service from an external provider. The app works while hosted on my local dev machine. I used the "Copy Project" option from within the IDE to deploy to...
11
by: scott | last post by:
Hi, From IIS6 and from a session on the 2003 server i attempt to browse to http://localhost/default.aspx and get the following error: Description: An error occurred during the processing of...
3
by: akhila.deshpande | last post by:
Hi, I am not able to open any asp.net project. In browser If i type "http://localhost/petshop" Nothing happens. I am not able to load any aspx page in browser also I get error "The XML page...
3
by: colintanner | last post by:
I've a test web site set up as a virtual directory under default web sites in IIS. However when I browse to the main .aspx page I get an error because it is referencing a web.config that belongs to...
3
by: igotyourdotnet | last post by:
We deployed an asp.net 2.0 web app to our production web server and when we run the site from that box we got an Done, with errors javascript message. Now we don't get that message on any other web...
5
by: Ron | last post by:
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have...
3
by: balaki | last post by:
Hi, I am working on a Installer Project, which requires to deploy SQL Server 2005 Reports (.rdl files) and Datasource (.rds file). The datasource is common for all reports. The report files are...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.