473,770 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1893
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*********@tr adegear.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*********@tr adegear.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*********@tr adegear.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*********@tr adegear.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\wwwroo t\aspxfolder ???
"Larry Brindise" <la*********@tr adegear.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*********@tr adegear.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*********@tr adegear.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
1561
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 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"...
1
1608
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 IIS site to a proper folder where all the web sitefiles and code files reside. In IIS I expand the site I'm working on (the only site running onthis server) and see the default.htm page on the right handside. When I click to Browse this file, I get...
3
1633
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 an interal web server. However, the aspx page that calls the web service does nothing. No errors are raised either. I also tried creating a web deployment project, but the same thing happens. The web service call seems to do nothing and no...
11
12954
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 a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
3
4710
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 cannot be displayed " IIS is working fine. I can open localhost and browse html document. The OS is windows 2000. and visual studio 2005. couple of days earlier
3
7136
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 sharepoint web sites. How can I force the test web site to reference the correct web.config file? The test web site contains the following in IIS: Default Web Site Test - contains aspx and web.config
3
314
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 server so what could be causing it on that particular web server?
5
2466
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 a website on the web server which is running with .net 1.1
3
6565
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 available in multiple folders (under D:\TestReport) and the .rds file is in a folder called 'Data Sources'. I wrote a VB.Net console application to do the task. I am able to deploy the report files under the specified folders. But I don't know how to...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.