F
Frank Wilson
Tom,
It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.
Here is a way to prove or disprove my theory:
Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.
What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.
If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.
hth,
Frank
It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.
Here is a way to prove or disprove my theory:
Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.
What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.
If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.
hth,
Frank
Inherits="Test02.WebForm1"' option is unknown-----Original Message-----
Hi
I am trying to create my first ASP.Net application.
I have done a full reinstall of .Net and followed the instructions in the
readme on the .Net CD and I have IIS running.
I have created a new solution called Test02 and it automatically has a
WebForm called WebForm01.
I added no controls to the WebForm but immediately hit F5 to compile it and
got the following message:
Error while trying to run project: Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request.
If I do a debug.Start Without Debugging then it brings up a web page which
says:
The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"
content="Microsoft Visual Studio.NETor invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"
Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR"