• RSS
  • Delicious
  • Facebook
  • Twitter

JLBN

Free Guides, Themes, Photo, Games, Movies

JLBN – Setup ASP.net on WAMP

Posted by BN September - 30 - 2008 102 Comments

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 Responses so far.

  1. CR says:

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

  2. John says:

    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

  3. John Lopez says:

    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?

    • BN says:

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

  4. mcloof says:

    thanx
    works on Win7, WampServer 2, Apache 2.2.17

  5. coguaro says:

    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

  6. prabin says:

    thank u very much.. it helped me a lot…

  7. noah says:

    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

  8. Darrell says:

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

  9. Djskin says:

    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

  10. A.l says:

    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

  11. john c says:

    not able to do this in x64 windows 7

  12. john c says:

    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.

  13. Mark says:

    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. :)

  14. Mark says:

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

    • Mark says:

      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.

    • Mark says:

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

      compilation debug=”false” targetFramework=”4.0″

    • JL says:

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

  15. Dan B says:

    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.

  16. Michel Kint says:

    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.

  17. Jorge says:

    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

  18. arthur allen balang says:

    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

    • BN says:

      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

You must be logged in to post a comment.

  • Get Chitika Premium
  • JLBN - Place Your Banner Here
  • JLBN - Place Your Banner Here