• 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. Hey thanks a lot that was really easy the way you explained and worked great!

    Thanks!

  2. Jeremy says:

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

    • JL says:

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

  3. Jeremy says:

    [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!

  4. John says:

    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.

  5. zacklander says:

    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.

  6. Bala says:

    Thank you for the WAMP ASP.NET guide

  7. Areinu says:

    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?

    • JL says:

      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

  8. MF says:

    great guide, thank you!! works fine!

  9. Mile says:

    Works fine for me. GREAT GUIDE, Thank you !!!

  10. Jimmy says:

    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.

  11. OOPS says:

    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

  12. JL says:

    what version of wamp are you guys running???

  13. John says:

    Your guide worked perfectly!

    Thank you so much for writing it!

  14. Charlie says:

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

  15. loonbg says:

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

  16. Miles says:

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

  17. You says:

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

    • BN says:

      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 ;)

  18. GuilleGlad says:

    Wow man it works at the first try, thank you… :)

  19. Sam says:

    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

You must be logged in to post a comment.

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