JLBN – Setup ASP.net on WAMP

ASP.net is a web application framework, developed and marketed by Microsoft, that programmers can use to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft’s Active Server Pages (ASP) technology. ASP.net is built on the Common Language Runtime, allowing programmers to write ASP.net code using any supported .NET language.

In this instruction guide for WAMP, we will show you how to install and setup ASP.net for WAMPSERVER in Windows Server 2008. Fortunately, the procedure to install ASP.net is about the same in Windows Vista and XP, so you can use this guide to setup ASP.net in either Windows Vista or XP.

Note: Even this guide is used for Wampserver, you can apply this method on other wamp package such as Xampp, EasyPHP, so on. Just make sure to select correct file(s) in proper location(s) 😉

[Read more…]

102 thoughts on “JLBN – Setup ASP.net on WAMP

  • March 25, 2010 at 11:36 am
    Permalink

    I have a problem with youre tut. I have Apache 2.2.11, when i select the it like in youre tut, it says that the path is wrong. please help me

    • March 26, 2010 at 3:46 pm
      Permalink

      Sam, can you post what step you have problem?

  • March 17, 2010 at 4:33 pm
    Permalink

    Do you really need 10,000 steps? You could condense it into 5 steps without making us keep clicking.

    • March 17, 2010 at 7:22 pm
      Permalink

      Different people have different level of technical skill and we definitely can make the guide with just one step or two like other websites; however, it’s the reason why most people can not follow those guides on other websites and only find the solution here 😉

  • February 22, 2010 at 11:22 am
    Permalink

    I absolutely cannot get this to work. The installer quits every time. Prompt says it’s incompatible with previous version. I give up.

  • February 19, 2010 at 11:46 pm
    Permalink

    can eny post link witch complite files plz
    i cam’t cnfig mybe somthing wrong
    tnx againn..

  • November 14, 2009 at 11:37 am
    Permalink

    It works perfect with the sample script but when I create a website using VB code with asp it gives me internal server error

    • November 16, 2009 at 12:08 am
      Permalink

      Charlie, this guide’s for asp.net, not for asp 🙁

  • October 7, 2009 at 11:05 am
    Permalink

    I’ve get the same problem wth Jimmy’s.
    I work with the sample script and it show the message as same as Jimmy’s

  • September 17, 2009 at 2:18 pm
    Permalink

    Hi, Thank you for this tutorial first of all its amazing! Great work.

    I do have one problem

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Its all i get. Here is the error log from apache:

    [Thu Sep 17 15:06:11 2009] [error] [client 127.0.0.1] mod_aspdotnet: No AspNetMount URI for request:

    I installed Frameworks 2.2, Downloaded your httpd-aspdotnet.conf and placed it in the correct folder, I also added the lines of code required for the httpd.conf

    If I could get any recomnendations on how to get this fixed it would be greatly apresiated thank you again.

    • September 18, 2009 at 10:15 am
      Permalink

      Jimmy, after finishing setup asp.net, does it work w/ sample asp.net script provided in the guide?

  • June 15, 2009 at 5:00 pm
    Permalink

    Can I somehow make it work with partial classes, where I have some of the code in aspx.cs? And if I set Inherits parameter in my aspx so I can use designer in visual studio then when trying to run it on apache I get an error. Can I somehow fix it?

    • June 15, 2009 at 6:17 pm
      Permalink

      since this is asp.net add-on for wamp, its classes and libraries might not be the same as running in IIS, so you have to find out how to run it properly

  • March 26, 2009 at 1:59 pm
    Permalink

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: It is an error to use a section registered as allowDefinition=’windows’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    • March 26, 2009 at 4:50 pm
      Permalink

      zacklander, please be a little more specific steps or what you did cause that error 😉

  • March 25, 2009 at 1:48 pm
    Permalink

    Hi,

    I sucessfully configured my WAMP to run the aspdotnet module.

    However like AJAY above, I cannot view *.aspx locally of my website.

    It shows it in HTML code. Apparently it needs AjaxControlToolkit to run. I’ve got .NET Framework v3.5.

    Any ideas how to make it work??

    Thanks in advance.

  • March 16, 2009 at 4:24 am
    Permalink

    [SOLVED] – hope this helps someone else…

    I finally managed to get apache to start and have .NET and PHP running side by side in wamp by changing the line in the main httpd.conf to include the FULL path as below;-

    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf

    # ASP.net
    Include “c:/wamp/apache2/conf/extra/httpd-aspdotnet.conf”

    Thanks again, great work on gettting this info out there!

  • March 13, 2009 at 11:09 am
    Permalink

    Just like Flo, I have followed the instructions but restarting wamp fails (with red / yellow in task bar) until i remove the include extra conf line in the httpd.conf.

    Any idea what may not be right in that extra conf file? I copied / pasted from this site, and i have checked the paths are correct for my system.

    Any suggestions greatly appreciated 🙂

    • March 13, 2009 at 11:25 am
      Permalink

      try to download file httpd-aspdotnet.conf, the link in our guide, and edit the path to match yours 😉

Leave a Reply