M
Middletree
Teaching myself ASP.NET, using Microsoft Press book called ASP.NET 2.0 by
George Shepherd.
Ch. 2, it says to type the following code:
<%@ Page Language="C#" %>
<html>
<body>
<h1>Hello World</h1>
Nothing really showing here yet, except some HTML...
</body>
</html>
Here's what I see in the browser:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource
'http://localhost/ASPNETStepByStep/HelloWorld.aspx'...
<%@ Page Language="C#" %>
-^----------------Because of wrapping, you may or may not be able to tell,
but the arrow is pointing to the percent sign, the 2nd character of the
entire page.I am quite sure I followed all directions correctly, and have
spent hours going back over them. Part of those instructions involve setting
up a virtual directory in IIS. I'm running on WinXP SP2. If anyone has any
insights on this, please let me know. TIA.
George Shepherd.
Ch. 2, it says to type the following code:
<%@ Page Language="C#" %>
<html>
<body>
<h1>Hello World</h1>
Nothing really showing here yet, except some HTML...
</body>
</html>
Here's what I see in the browser:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource
'http://localhost/ASPNETStepByStep/HelloWorld.aspx'...
<%@ Page Language="C#" %>
-^----------------Because of wrapping, you may or may not be able to tell,
but the arrow is pointing to the percent sign, the 2nd character of the
entire page.I am quite sure I followed all directions correctly, and have
spent hours going back over them. Part of those instructions involve setting
up a virtual directory in IIS. I'm running on WinXP SP2. If anyone has any
insights on this, please let me know. TIA.