Hey, Sameer. I had the same problem with VS.NET 2002.
I noticed that my IIS wasn't configured to handle ASP.NET. You can
check that at
* Start->Control Panel->Administrative Tools->Internet Information
Services
* Then expand the (local computer) and right-click Default Web site and
select Properties.
*Select the "Home Directory" tab and hit the "Configuration..." button
near the bottom right.
In the "Mappings" tab, you should see mappings to files with extensions
like *.asax, *.ascx, *.aspc, etc. etc.
If not, then you need to register the .NET framework with IIS. There's
an EXE file called "aspnet_regiis.exe" in each installation of the .NET
Framework that will do this for you. On my machine I ran the following
commands at the command prompt (The info I read told me to use the "-r"
extension, so I just did that without looking further into it):
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspne t_regiis.exe -r
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -r
Now I have .NET set up in IIS. Since I ran the registration for .NET
version 1.1.4322 after the 1.0 one, it looks like my IIS is set to use
version 1.1. I believe if I ran the 1.0 registration again, I'd be set
up for 1.0.
I haven't tested it out yet, but I think this will work (I'm still
waiting for VS.NET to reinstall while I'm writing this... I wish I had
found this first.. ugh). I'll report back if it's successful.
-Stephen
-------------------------------------------------------------------------------------------------------------------------
sameer wrote:
Hi all,
My new computer has Microsoft Windows XP Media Center Edition as the
operating system. I am trying to run VStudio 2003 , ASP.NET on IIS 5.0
but every single time i run the source code of my application , it shows me
the message "unable to run debugging, please try running it using the option
"start with out debugging" which then start the application.
Can any body tell me why this is happening, coudl it be the OS with which
VS2203 ASP.NEt is not compatible with?
thanks
Sameer