473,651 Members | 2,793 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

All new VS2003 projects result in 404 errors

Just installed VS2003 and tried a hello world app. Getting 404 error even
when I explictly specify the start page in the url.

In IIS Mgr (v 5.1), App has .aspx mapped to
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.

The file in question IS in the virtual directory and this is the inetmgr log
file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
GET /UP1/WebForm1.aspx 404

If I put a test HTML file (Default.htm) into the virtual directory and bring
up http://localhost/UP1 in my browser, I get the test page OK.

Interestingly, an app that I installed BEFORE installing VS2003 works. I
compared its properties to new apps generated by VS2003 and only difference I
see is that the new apps have the "Local Path" box in the Directory tab
greyed out. The old app has an absolute pathname
(c:\inetput\www root\InstantFor um41).

Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
installing VS2003. Wonder if I broke something.

Also, another symptom is that debugger won't start. Says I need to "verify
that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
speak) or that "ATL Server is correctly installed" (not sure how to test
that).

Nov 19 '05 #1
6 1303
Sounds to me like you have to re-register your IIS with aspnet_regiis.e xe

Check the following link:

http://msdn.microsoft.com/library/de..._regiisexe.asp

"EmmanuelE" wrote:
Just installed VS2003 and tried a hello world app. Getting 404 error even
when I explictly specify the start page in the url.

In IIS Mgr (v 5.1), App has .aspx mapped to
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.

The file in question IS in the virtual directory and this is the inetmgr log
file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
GET /UP1/WebForm1.aspx 404

If I put a test HTML file (Default.htm) into the virtual directory and bring
up http://localhost/UP1 in my browser, I get the test page OK.

Interestingly, an app that I installed BEFORE installing VS2003 works. I
compared its properties to new apps generated by VS2003 and only difference I
see is that the new apps have the "Local Path" box in the Directory tab
greyed out. The old app has an absolute pathname
(c:\inetput\www root\InstantFor um41).

Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
installing VS2003. Wonder if I broke something.

Also, another symptom is that debugger won't start. Says I need to "verify
that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
speak) or that "ATL Server is correctly installed" (not sure how to test
that).

Nov 19 '05 #2
Thanks but no luck. I had done that anyways (-c and -i from within my
1.1.4322 directory). I tried again and this time removed ASP.NET and scripts
from all apps and then reinstalled. No luck.

However, I did run into something interesting. When I do a aspnet_regiis -k
<dir> on a <dir> for a newly created and built "Hello World" app (VS2003
asp.net app with a single Label on start page), I get an error message saying
it is a valid App:

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis -k
c:\inetpub\wwwr oot\WebApplicat ion2
Start removing any version of ASP.NET DLL recursively at
c:\inetpub\wwwr oot\WebA
pplication2.
Installation stopped because the specified path
(c:\inetpub\www root\WebApplica ti
on2) is not a valid web application.

Help!
"Kevin Schlegelmilch" wrote:
Sounds to me like you have to re-register your IIS with aspnet_regiis.e xe

Check the following link:

http://msdn.microsoft.com/library/de..._regiisexe.asp

"EmmanuelE" wrote:
Just installed VS2003 and tried a hello world app. Getting 404 error even
when I explictly specify the start page in the url.

In IIS Mgr (v 5.1), App has .aspx mapped to
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.

The file in question IS in the virtual directory and this is the inetmgr log
file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
GET /UP1/WebForm1.aspx 404

If I put a test HTML file (Default.htm) into the virtual directory and bring
up http://localhost/UP1 in my browser, I get the test page OK.

Interestingly, an app that I installed BEFORE installing VS2003 works. I
compared its properties to new apps generated by VS2003 and only difference I
see is that the new apps have the "Local Path" box in the Directory tab
greyed out. The old app has an absolute pathname
(c:\inetput\www root\InstantFor um41).

Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
installing VS2003. Wonder if I broke something.

Also, another symptom is that debugger won't start. Says I need to "verify
that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
speak) or that "ATL Server is correctly installed" (not sure how to test
that).

Nov 19 '05 #3
Have you tried the "-ir" option?

Also if you right click on "Web Sites" in IIS, what's the ISAPI Filters? It
should be ASP.NET_1.1.432 2.2300.

Have you checked the web services logs? They should be in
C:\WINDOWS\syst em32\LogFiles

One last thing I can think of is to manually configure the sites.

http://msdn.microsoft.com/library/de...tml/vs03f6.asp

ex: aspnet_regiis -s W3SVC/1/ROOT/yourwebappfolde r

There's a .NET application someone wrote that will do this for you ... but I
can't find the link right now ...

"EmmanuelE" wrote:
Thanks but no luck. I had done that anyways (-c and -i from within my
1.1.4322 directory). I tried again and this time removed ASP.NET and scripts
from all apps and then reinstalled. No luck.

However, I did run into something interesting. When I do a aspnet_regiis -k
<dir> on a <dir> for a newly created and built "Hello World" app (VS2003
asp.net app with a single Label on start page), I get an error message saying
it is a valid App:

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis -k
c:\inetpub\wwwr oot\WebApplicat ion2
Start removing any version of ASP.NET DLL recursively at
c:\inetpub\wwwr oot\WebA
pplication2.
Installation stopped because the specified path
(c:\inetpub\www root\WebApplica ti
on2) is not a valid web application.

Help!
"Kevin Schlegelmilch" wrote:
Sounds to me like you have to re-register your IIS with aspnet_regiis.e xe

Check the following link:

http://msdn.microsoft.com/library/de..._regiisexe.asp

"EmmanuelE" wrote:
Just installed VS2003 and tried a hello world app. Getting 404 error even
when I explictly specify the start page in the url.

In IIS Mgr (v 5.1), App has .aspx mapped to
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.

The file in question IS in the virtual directory and this is the inetmgr log
file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
GET /UP1/WebForm1.aspx 404

If I put a test HTML file (Default.htm) into the virtual directory and bring
up http://localhost/UP1 in my browser, I get the test page OK.

Interestingly, an app that I installed BEFORE installing VS2003 works. I
compared its properties to new apps generated by VS2003 and only difference I
see is that the new apps have the "Local Path" box in the Directory tab
greyed out. The old app has an absolute pathname
(c:\inetput\www root\InstantFor um41).

Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
installing VS2003. Wonder if I broke something.

Also, another symptom is that debugger won't start. Says I need to "verify
that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
speak) or that "ATL Server is correctly installed" (not sure how to test
that).

Nov 19 '05 #4
Nope. Didn't try -ir but I just uninstalled and reinstalled .net 1.1 and
everything works now.

But thanks for the tips on aspnet_regiis. I will surely need them at some
point in the future.

Emmanuel

"Kevin Schlegelmilch" wrote:
Have you tried the "-ir" option?

Also if you right click on "Web Sites" in IIS, what's the ISAPI Filters? It
should be ASP.NET_1.1.432 2.2300.

Have you checked the web services logs? They should be in
C:\WINDOWS\syst em32\LogFiles

One last thing I can think of is to manually configure the sites.

http://msdn.microsoft.com/library/de...tml/vs03f6.asp

ex: aspnet_regiis -s W3SVC/1/ROOT/yourwebappfolde r

There's a .NET application someone wrote that will do this for you ... but I
can't find the link right now ...

"EmmanuelE" wrote:
Thanks but no luck. I had done that anyways (-c and -i from within my
1.1.4322 directory). I tried again and this time removed ASP.NET and scripts
from all apps and then reinstalled. No luck.

However, I did run into something interesting. When I do a aspnet_regiis -k
<dir> on a <dir> for a newly created and built "Hello World" app (VS2003
asp.net app with a single Label on start page), I get an error message saying
it is a valid App:

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis -k
c:\inetpub\wwwr oot\WebApplicat ion2
Start removing any version of ASP.NET DLL recursively at
c:\inetpub\wwwr oot\WebA
pplication2.
Installation stopped because the specified path
(c:\inetpub\www root\WebApplica ti
on2) is not a valid web application.

Help!
"Kevin Schlegelmilch" wrote:
Sounds to me like you have to re-register your IIS with aspnet_regiis.e xe

Check the following link:

http://msdn.microsoft.com/library/de..._regiisexe.asp

"EmmanuelE" wrote:

> Just installed VS2003 and tried a hello world app. Getting 404 error even
> when I explictly specify the start page in the url.
>
> In IIS Mgr (v 5.1), App has .aspx mapped to
> C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.
>
> The file in question IS in the virtual directory and this is the inetmgr log
> file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
> GET /UP1/WebForm1.aspx 404
>
> If I put a test HTML file (Default.htm) into the virtual directory and bring
> up http://localhost/UP1 in my browser, I get the test page OK.
>
> Interestingly, an app that I installed BEFORE installing VS2003 works. I
> compared its properties to new apps generated by VS2003 and only difference I
> see is that the new apps have the "Local Path" box in the Directory tab
> greyed out. The old app has an absolute pathname
> (c:\inetput\www root\InstantFor um41).
>
> Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
> installing VS2003. Wonder if I broke something.
>
> Also, another symptom is that debugger won't start. Says I need to "verify
> that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
> speak) or that "ATL Server is correctly installed" (not sure how to test
> that).
>

Nov 19 '05 #5
"-ir" reinstalls ASP.NET and registers it with IIS. I had the same problem
with the errors you were seeing and it ended up being ASP.NET not being
installed right.

"EmmanuelE" wrote:
Nope. Didn't try -ir but I just uninstalled and reinstalled .net 1.1 and
everything works now.

But thanks for the tips on aspnet_regiis. I will surely need them at some
point in the future.

Emmanuel

"Kevin Schlegelmilch" wrote:
Have you tried the "-ir" option?

Also if you right click on "Web Sites" in IIS, what's the ISAPI Filters? It
should be ASP.NET_1.1.432 2.2300.

Have you checked the web services logs? They should be in
C:\WINDOWS\syst em32\LogFiles

One last thing I can think of is to manually configure the sites.

http://msdn.microsoft.com/library/de...tml/vs03f6.asp

ex: aspnet_regiis -s W3SVC/1/ROOT/yourwebappfolde r

There's a .NET application someone wrote that will do this for you ... but I
can't find the link right now ...

"EmmanuelE" wrote:
Thanks but no luck. I had done that anyways (-c and -i from within my
1.1.4322 directory). I tried again and this time removed ASP.NET and scripts
from all apps and then reinstalled. No luck.

However, I did run into something interesting. When I do a aspnet_regiis -k
<dir> on a <dir> for a newly created and built "Hello World" app (VS2003
asp.net app with a single Label on start page), I get an error message saying
it is a valid App:

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis -k
c:\inetpub\wwwr oot\WebApplicat ion2
Start removing any version of ASP.NET DLL recursively at
c:\inetpub\wwwr oot\WebA
pplication2.
Installation stopped because the specified path
(c:\inetpub\www root\WebApplica ti
on2) is not a valid web application.

Help!
"Kevin Schlegelmilch" wrote:

> Sounds to me like you have to re-register your IIS with aspnet_regiis.e xe
>
> Check the following link:
>
> http://msdn.microsoft.com/library/de..._regiisexe.asp
>
> "EmmanuelE" wrote:
>
> > Just installed VS2003 and tried a hello world app. Getting 404 error even
> > when I explictly specify the start page in the url.
> >
> > In IIS Mgr (v 5.1), App has .aspx mapped to
> > C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.
> >
> > The file in question IS in the virtual directory and this is the inetmgr log
> > file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
> > GET /UP1/WebForm1.aspx 404
> >
> > If I put a test HTML file (Default.htm) into the virtual directory and bring
> > up http://localhost/UP1 in my browser, I get the test page OK.
> >
> > Interestingly, an app that I installed BEFORE installing VS2003 works. I
> > compared its properties to new apps generated by VS2003 and only difference I
> > see is that the new apps have the "Local Path" box in the Directory tab
> > greyed out. The old app has an absolute pathname
> > (c:\inetput\www root\InstantFor um41).
> >
> > Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
> > installing VS2003. Wonder if I broke something.
> >
> > Also, another symptom is that debugger won't start. Says I need to "verify
> > that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
> > speak) or that "ATL Server is correctly installed" (not sure how to test
> > that).
> >

Nov 19 '05 #6
Thanks

"Kevin Schlegelmilch" wrote:
"-ir" reinstalls ASP.NET and registers it with IIS. I had the same problem
with the errors you were seeing and it ended up being ASP.NET not being
installed right.

"EmmanuelE" wrote:
Nope. Didn't try -ir but I just uninstalled and reinstalled .net 1.1 and
everything works now.

But thanks for the tips on aspnet_regiis. I will surely need them at some
point in the future.

Emmanuel

"Kevin Schlegelmilch" wrote:
Have you tried the "-ir" option?

Also if you right click on "Web Sites" in IIS, what's the ISAPI Filters? It
should be ASP.NET_1.1.432 2.2300.

Have you checked the web services logs? They should be in
C:\WINDOWS\syst em32\LogFiles

One last thing I can think of is to manually configure the sites.

http://msdn.microsoft.com/library/de...tml/vs03f6.asp

ex: aspnet_regiis -s W3SVC/1/ROOT/yourwebappfolde r

There's a .NET application someone wrote that will do this for you ... but I
can't find the link right now ...

"EmmanuelE" wrote:

> Thanks but no luck. I had done that anyways (-c and -i from within my
> 1.1.4322 directory). I tried again and this time removed ASP.NET and scripts
> from all apps and then reinstalled. No luck.
>
> However, I did run into something interesting. When I do a aspnet_regiis -k
> <dir> on a <dir> for a newly created and built "Hello World" app (VS2003
> asp.net app with a single Label on start page), I get an error message saying
> it is a valid App:
>
> C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis -k
> c:\inetpub\wwwr oot\WebApplicat ion2
> Start removing any version of ASP.NET DLL recursively at
> c:\inetpub\wwwr oot\WebA
> pplication2.
> Installation stopped because the specified path
> (c:\inetpub\www root\WebApplica ti
> on2) is not a valid web application.
>
> Help!
>
>
> "Kevin Schlegelmilch" wrote:
>
> > Sounds to me like you have to re-register your IIS with aspnet_regiis.e xe
> >
> > Check the following link:
> >
> > http://msdn.microsoft.com/library/de..._regiisexe.asp
> >
> > "EmmanuelE" wrote:
> >
> > > Just installed VS2003 and tried a hello world app. Getting 404 error even
> > > when I explictly specify the start page in the url.
> > >
> > > In IIS Mgr (v 5.1), App has .aspx mapped to
> > > C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_isapi.dl l.
> > >
> > > The file in question IS in the virtual directory and this is the inetmgr log
> > > file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
> > > GET /UP1/WebForm1.aspx 404
> > >
> > > If I put a test HTML file (Default.htm) into the virtual directory and bring
> > > up http://localhost/UP1 in my browser, I get the test page OK.
> > >
> > > Interestingly, an app that I installed BEFORE installing VS2003 works. I
> > > compared its properties to new apps generated by VS2003 and only difference I
> > > see is that the new apps have the "Local Path" box in the Directory tab
> > > greyed out. The old app has an absolute pathname
> > > (c:\inetput\www root\InstantFor um41).
> > >
> > > Important info. I HAD VS2005 Beta2 installed. I uninstalled it before
> > > installing VS2003. Wonder if I broke something.
> > >
> > > Also, another symptom is that debugger won't start. Says I need to "verify
> > > that ASP.NET is correctly installed" (it is and wp_aspnet.exe is running as I
> > > speak) or that "ATL Server is correctly installed" (not sure how to test
> > > that).
> > >

Nov 19 '05 #7

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

Similar topics

1
1176
by: Danny Ni | last post by:
Hi, I downloaded a C# project from Internet and unzipped the project to a directory in my local machine, in IIS console I setp up a virtual directory, the project seems to work fine because I can use IE to browse the ASPX pages. But when I tried to use VS2003 to connect to this project by "Open Projects From Web", no go. Do I have to do something else for VS2003 to connect?
3
1790
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or do you need to use Visual Studio 2005? If you can use the new framework 2.0 with VS2003 are there any benifits?
2
1711
by: Carlo \(MCP only\) | last post by:
Hi to all I'm askyng you a suggestion about the best way to share the same source code between VS2003 and VS2005. The project I'm developing is a controls and components library, and the Solution.sln includes a standard WindowsForms application for testing pourposes. What I need is an efficient and reliable way to edit and test the DLL assembly in both environments, since the library will be distributed for Framework 1.1 and 2.0.
2
1912
by: GW | last post by:
After the conversion and fixing some errs VS2005 threw, project ran OK. Opened xxx.vbproj file after the conversion to VS2005 from VS2003. Changed (usng wordpad) ../msbuild/2003 to 2005 thinking that should read 2005 Unable to open project after that. Chgd back to 2003. Unable to open. Err unable to read xxx.vbproj(218,16)
6
5340
by: Alex | last post by:
Hello people, We have a large application (about 5000 source files) consisting of multiple executables, DLLs and COM components written in C++. We develop and build it in Visual Studio 2003. I'm in charge of evaluating whether we want to migrate it to VS2005 (the previous migration from 6.0 to 7.1 was a pain). So far, things do not look good. I installed VS2005 on a VM, copied the sources over and tried to build the solution.
2
1397
by: Fiddelm3742 | last post by:
Well, I dont exactly know if there was a change in how Console Application projects are run/compiled from VS2003 to 2005 or what, but I have an application (mostly C) that used to run in about 2 minutes and now runs in hours. The output of the program seems the same, but the time it takes it run is ridiculous. Yes, I get the general warnings when I compile to use the now more secure functions fopen_s instead of fopen, etc. but no errors...
15
4215
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers mapped to the local devleopment folder. Project compiles to a subfolder .\bin. To deploy, the asmx page and bin subfolder are copied to the production server. So now I upgrade to VS2005. OK, so except for the name, everything is changed. No more...
2
5695
by: Tammam | last post by:
Hello All, I had a solution composed of managed/unmanaged C++ , C# projects. It builds with no problem in VS2003 but after converting the solution to VS2005 i get many linking errors such as LNK2020 LNK2028. Below is a little bit of the error report. Error 34 error LNK2020: unresolved token (0A000029) "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@$$FQAE@XZ) UnmanagedResiprocateController.obj
5
1082
by: TonyJ | last post by:
Hello! What is the right way to go when I have a C++ project that earlier used VS2003. When I compile now I get a lot of compile error. //Tony
0
8275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8802
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8697
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
6158
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
5612
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
4144
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
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
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
2
1587
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.