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

  • June 15, 2016 at 1:13 am
    Permalink

    The user guide is useful. I may like to know how am I going to hide my codes? I always see my codes whenever I run my page in Chrome and Firefox, but somehow works on IE.

    Im using wamp 2.2.21

    • August 9, 2016 at 12:44 pm
      Permalink

      Make sure you don’t save file with hidden txt extension; in Windows Folder Property, you can disable “Hide known extension…” to see your real file extension; also, make sure to save your files in document root folder in order for Apache to parse PHP script; to get more idea, check this guide
      http://guides.jlbn.net/setbs/setbs.html

  • April 8, 2014 at 5:37 pm
    Permalink

    Need help with win Sever 2003 x64, wampserver 2.4 x64 and ASP

    I’m trying to install ASP over wampserver 2.4 x64 and don’t work.

    I had Wampserver 2.4 x64 installed in L:/SERVER/WAMP and it works fine.

    After following all the steps, when i try to start APACHE service, nothing happend. Icon stay red. If i bypass the Include conf/extra/httpd-aspdotnet.conf line in hppd.conf file everything work again.

    I had installed mod_aspdotnet for Apache 2.2 successfully. It appeard in control panel and it copy the modaspdotnet.so module in the apache2.2.4 modules folder

    i did copy the httpd-aspdontnet.conf file to the extra folder and change the destination folder address carefully. I had changed c:/wamp/www/ASP -> L:/SERVER/WAMP/www/ASP folder with the examples. ( carefully with caps)

    I had cheked all the steps and can’t make it work. Any suggestion??

    Regards
    Jorge

  • April 5, 2014 at 10:38 am
    Permalink

    Hello,
    Greetings and thanks for your tutorial : very simple to understand and… efficiency !

    But ther is a problem when using pages with only .asp extension…

    Server Error in ‘/ASP’ Application.
    ——————————————————————————–

    This type of page is not served.
    Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension ‘.asp’ may be incorrect. Please review the URL below and make sure that it is spelled correctly.

    Thank you for your help.

  • December 16, 2012 at 9:17 pm
    Permalink

    Greetings and thanks for putting this together.

    When I try to load the simple.aspx file all I see is the code. Do you have any suggestions or leads as to what I may have missed?

    Thanks

    p.s. also for people troubleshooting make sure that when you edit the “httpd.conf” file you add a “#” in front of the second like of code that you add to it, don’t just copy and paste. This had me stuck for a while.

    • December 18, 2012 at 9:35 pm
      Permalink

      Dan B, seems you missing the shebang

  • December 11, 2012 at 1:44 pm
    Permalink

    Edit: Sorry, I meant for the httpd-aspdotnet.conf file, not httpd.conf. Still, I had it sorted out in minutes. Thanks again!

    • December 14, 2012 at 4:12 pm
      Permalink

      Oops, I spoke too fast. When I try to run more sophisticated sites than the given example, I get the following error:

      “Unrecognized attribute ‘targetFramework'”

      The following line in the webconfig file is what is causing the problems:

      Almost all the fixes coming back from google are IIS-specific, so there’s no help there.

      The response will probably come too late to help me, but I’m sure others will benefit from it if you know how to fix this. Thanks.

    • December 14, 2012 at 4:12 pm
      Permalink

      The offendign line got filtered out when I posted it. Here it is again:

      compilation debug=”false” targetFramework=”4.0″

    • December 18, 2012 at 9:35 pm
      Permalink

      Mark, just as it stated, you need .NET 4

  • December 11, 2012 at 1:42 pm
    Permalink

    Thank you very much for this! Very simple and easy to follow.

    The cut and paste text for the file httpd.conf didn’t work cleanly on my first attempt, but when I changed it to match the script in the jpegs, everything was fine. 🙂

  • July 22, 2012 at 7:44 pm
    Permalink

    This works for only specific versions of Apache. I tried it on 2.0.50, 2.0.54, 2.2.11 and 2.2.22 out of which it worked for only 2.2.11. My system is x64 windows 8 consumer preview.

    • July 23, 2012 at 6:20 pm
      Permalink

      This ASP.net was not built for Windows 8 so the result might not be as expected 😉

  • April 11, 2012 at 9:54 am
    Permalink

    works flawlessly! thanks so much. you may want to edit it at some point to improve the grammar for readability sake but it’s not a huge issue. works on windows XP SP3

  • March 28, 2012 at 10:15 am
    Permalink

    I follow this steps to get ASP.net in wamp but it still does not work even downloaded the conf file after this steps i running W7 64 bit
    and wamp 2.2 net frame work is 4

  • March 23, 2012 at 2:11 pm
    Permalink

    So how do I make the ASP available to all of my virtual hosts?

  • February 6, 2012 at 9:29 am
    Permalink

    does anyone know how to make it work with window 7 64. it works until i write the httpd-aspdotnet.conf i figured it was because the way it is written here and everwhere i find it is for 32bit. it does not reference the 64bit framework. can someone please help me

    • February 10, 2012 at 12:03 am
      Permalink

      noah, when edit any config file, make sure it does not have blank space in front or in the end of the line

  • October 30, 2011 at 3:31 am
    Permalink

    i have try this but not function and not find the error the error log not have write any error where i’m find the possibily error?
    i’m use WampServer2.2a-x64 on windows 7 ultimate x64

    sorry for my english

  • July 27, 2011 at 11:00 pm
    Permalink

    Hello, I need some help I’m having problems using C# language, I have this error:

    Parser Error Message: ‘”C#”’ is not a supported language.

    can you help me?

    • July 31, 2011 at 8:08 am
      Permalink

      John Lopez, as error pointed out, check your codes since we don’t have any issue to run either C# or VB 😉

  • May 20, 2011 at 1:58 pm
    Permalink

    Hello;
    I am using windows7, wamp server 2.1
    I fallow every step in your tutorial about asp.net on wamp.
    I see the module installed in wamp apache module menu, but when i run the page, i only see the code in the browser.
    The module is not running the asp.
    Help please!
    Thanks
    John

    • May 22, 2011 at 3:18 pm
      Permalink

      John, for asp files, you might have to set it up through Apache:Perl script

  • April 12, 2011 at 10:04 am
    Permalink

    This was extremely helpful and very simple. Followed the directions and had absolutely no problems. Thank you!

Leave a Reply