G
Guest
Following is the sample code of my .aspx file
<%@ Page Language="C#" %><Script Runat="Server">
void Page_Load(Object sender, EventArgs EvArgs) {
Response.Write("Hello World");
}
</Script>
THis file resides in wwwroot folder when i run the code by writing http://localhost/Hello1.aspx I get the following error
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Technical Information (for support personnel)
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="C#" ' option is unknown or invalid.
/Hello1.aspx, line 1
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Avant Browser [avantbrowser.com]; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Page:
GET /Hello1.aspx
Can someone help me. I am new to ASP.NET and am stuck with this problem for quite some time now.
Previously i had old version of .NET framework and today I updated it with a fresh download.
Please mail me if u can help.
Shahnaz
<%@ Page Language="C#" %><Script Runat="Server">
void Page_Load(Object sender, EventArgs EvArgs) {
Response.Write("Hello World");
}
</Script>
THis file resides in wwwroot folder when i run the code by writing http://localhost/Hello1.aspx I get the following error
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Technical Information (for support personnel)
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="C#" ' option is unknown or invalid.
/Hello1.aspx, line 1
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Avant Browser [avantbrowser.com]; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Page:
GET /Hello1.aspx
Can someone help me. I am new to ASP.NET and am stuck with this problem for quite some time now.
Previously i had old version of .NET framework and today I updated it with a fresh download.
Please mail me if u can help.
Shahnaz