Results 1 to 1 of 1

Thread: ASP.NET - How to install ASP.NET on your machine

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    Post ASP.NET - How to install ASP.NET on your machine

    If you have Visual Studio installed on your machine, you should have ASP.NET already installed on your machine. If not, then you can follow these instructions to get it onto your machine and begin developing.

    1 Ensure that IIS is installed
    2 Install IIS (if required)
    3 Install ASP.NET
    4 Ensure successful ASP.NET install

    Ensure that IIS is installed

    Before you begin installing, you must ensure that you have IIS installed. To find out if you have it installed or not:

    • Click on the Start button
    • Click Run...
    • Type "inetmgr" (without the quotes)
    • Press enter


    If the Internet Information Services window shows up, then you have IIS installed, else you will need to install it.

    To install IIS (if required)

    • Click on the Start button
    • Click run...
    • Type "appwiz.cpl" (without the quotes)
    • This should bring up the "Add or Remove Programs" window.
    • Click on "Add/Remove Windows Components"
    • From the list, choose Internet Information Services.


    • Click Details, and in the next window, choose the components you want to install. If you're not sure what you want, choose all of them.
    • In the main "Windows Components Wizard" window, click Next, and this should start the installation process for IIS.
    • You may need your OS setup CD or DVD with you for this if it prompts you for files that it requires.
    • If you don't have your setup CD or DVD, you may have the OS setup files on your hard disk. Try navigating to C:\I386 or looking for a folder called I386 on your hard disk.
    • If you are using Windows XP Home Edition, you cannot install IIS on it; there is an unsupported workaround for this. Use at your own risk.
    • If you are still having no luck, you will need to either get the appropriate OS or contact your system administrator for help.



    Installing ASP.NET

    Once you've ensured that you have IIS installed, you can now install ASP.NET. There are two ways to do this:

    • Install Visual Studio 2003, 2005 or 2008. This should automatically install ASP.NET for you.


    or

    • If you don't want to install Visual Studio, you can do this manually by downloading and installing the .NET framework. (.NET 1.1)(.NET 2.0)(.NET 3.5)
    • Open Command Prompt (Start > Run... > cmd) and navigate to C:\windows\Microsoft.NET\Framework\x.x.x\ (x.x.x = your framework version; this will be 1.1 or 2.0) and type

      Code:
      aspnet_regiis -i
      This should register ASP.NET against IIS.


    To ensure that ASP.NET was installed successfully
    • Open IIS (Start > Run... > inetmgr) and expand the nodes until you reach the "Default Website" node.
    • Right click on it, and choose Properties
    • Click on the Configuration... button, this should bring up the "Application Configuration" window.
    • Inspect the list for the .aspx extension. It should be mapped to c:\windows\microsoft.net\framework\x.x.x\aspnet_isapi.dll.


    • Please note that for ASP.NET 2.0, you can look for the "ASP.NET tab", but the method shown above works for ASP.NET 1.1 as well.


    • Please note that you should also get yourself local administrator rights on your machine to work with ASP.NET. While this is not necessary (you will need elevated privileges in any case), it is generally ideal to have administrative privileges.





    If you have further questions, please post them in the ASP.NET forum.

    Keywords:
    ASP.NET
    installation
    install
    installing
    aspnet_regiis
    IIS
    2.0
    3.5
    ISAPI
    Windows XP Home Edition
    Windows XP HE
    Framework
    .NET
    Attached Images Attached Images    

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width