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) 😉
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
Sam, can you post what step you have problem?
Wow man it works at the first try, thank you… 🙂
Do you really need 10,000 steps? You could condense it into 5 steps without making us keep clicking.
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 😉
I absolutely cannot get this to work. The installer quits every time. Prompt says it’s incompatible with previous version. I give up.
can eny post link witch complite files plz
i cam’t cnfig mybe somthing wrong
tnx againn..
It works perfect with the sample script but when I create a website using VB code with asp it gives me internal server error
Charlie, this guide’s for asp.net, not for asp 🙁
Your guide worked perfectly!
Thank you so much for writing it!
what version of wamp are you guys running???
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
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.
Jimmy, after finishing setup asp.net, does it work w/ sample asp.net script provided in the guide?
Works fine for me. GREAT GUIDE, Thank you !!!
great guide, thank you!! works fine!
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?
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
Thank you for the WAMP ASP.NET guide
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.
zacklander, please be a little more specific steps or what you did cause that error 😉
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.
John, you have to install it
http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=16488#ReleaseFiles
[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!
thanks
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 🙂
try to download file httpd-aspdotnet.conf, the link in our guide, and edit the path to match yours 😉
Hey thanks a lot that was really easy the way you explained and worked great!
Thanks!