Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Installing ASP.NET with IIS
I have a personal computer running Windows 2000 Pro that is not connecting to any network. I installed the Windows Components for IIS, and I am using Visual Studio .NET 2003.
I am trying to learn ASP.NET but whenever I open a new .NET project (VB.NET or C#), and I select the ASP.NET Web Application template, I get an error message from the IDE stating:
"Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET web applications or services"
Additionally, I used a text editor to create an .aspx file with the following content:
<%@ Page Language="C#" %>
Hello World ASP.NET Page
THIS IS A TEST
// print some output
Response.Write("Hello World! Brought to you by ASP.NET");
I have saved the file at:
I have also used the web server configuration tool to create a Virtual Directory (ASPBasics) mapped to the above path.
When I open a browser with the url "http://localhost/ASPBasics/test.aspx
All that displays is "THIS IS A TEST".
It looks to me like my IIS installation is not aware of ASP.NET.
Can someone tell me what I need to do to get up and running?
0 · ·