If you get an error, check to make sure the directory it’s looking for is there and if it isn’t just create it. For me the directory was C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

It’s not called in httpd-aspdotnet.conf because there is no separate config file for that Apache version (at least the one I tested it on). And if I tried to import it, it would never work right.. So I just hardcoded it to httpd.conf itself.

There is a different ASP.net version for 2.2 that is on Sourceforge, did you try downloading that instead of the 2.0 version that I linked?

Are you sure it’s saved as an aspx file? And that it’s set like it is above in the httpd.conf? Sounds like it’s not being read as an ASP file and just reading the code into an HTML file.

Yes I know there is no separated file since you just hard coded it. but in JLBN Method he did actually called it the http-aspdotnet.conf and he loaded it through the httpd.conf. At least this is what I understood.

Anyways I would like to do it your way. I am currently trying to get asp running in wampserver, apache version is Apache 2.2.11, Yes I did install ASP for apache 2.2. also made sure I had the latest Frameworks. Do i need to have a specific framework ?

I also hard coded the httpf.conf file with your suggestions.

I made sure that the file was simple.aspx, inside “C:\wamp\www\ASP\simple.aspx” and i visit the site through http://localhost/asp/simple.aspx and i just get html output with actual asp code.

Every .aspx, .asp page just spits out html code including the actual asp code.

I have completely removed and reinstalled everything and still end up with the same thing. maby I should start looking for a different method for this ?

You’re right, he included it in the httpd.conf file. For some reason, that never worked for me and it never got included, so hardcoded it in the file itself instead.

Anyways, are you sure the ASP module is running and working? Check the modules tab under WAMP and make sure it is checked and the line loading the module is pointing to the right path.

Otherwise you’ll get..

< % Dim I As Integer
For I = 0 to 7 %>”> Simple ASP.NET TEST
< % Next %>

as straight text when you load the page in a browser.

Other than that, I’m not really sure. Make sure the module is properly installed and working and that you are pointing to the correct paths. I’m assuming you are restarting WAMP after you made the changes too. Apache shouldn’t successfully load if something is wrong in the httpd.conf file.

Adam, it wont work. ASP is just not for my WAMPS I guess. I only wanted ASP for some support while I changed some stuff to PHP and MySQL

Anyways I do have one last question. Could WAMP be used to manage a collage website and be stable on a actual server 24/7?. I currently maintain this collage site that is all ASP and yeah it needs upgrades.

Enabling ssl_module in apache modules and php_openssl in php extension will get ssl working; you can find a tutorial about generating an ssl certificate, but ssl will work without the ssl cert for functionality that requires it, it just won’t be certified.

For everyone experiencing issues when WAMP works with an original httpd.conf but not with the edited. Make sure that the quotes, and with that I mean the rabbit ears, ” are not formatted. That really screwed things up for me, it was just a simple search and replace for all strange ” characters (could be characters from another keyboard layout or something than for others).

The thing is i need to test something for a Association that asked for my help with their homepage and their old Webmaster apparently did all in .asp so i am reading up on my ASP atm but i need WAMP to accept.

I will try and translate to English: “Server error in the program ‘/ASP’.
This type of page can’t be delivered.
Description: This type of page, your requesting can’t be delivered, because its explicit prohibited. File type name ‘.asp’ is possible not right. Check the URL-address below to be sure you spelled it correctly.

I tried the 12 page long way and that did not work and caused my WAMP server to not work because APACHE would not load. So I came to you. Hard coding it seemed like it would be a much better idea; however, that is not the case. Your way did not work either.

I followed both instructions perfect TO THE “T”. Twice in fact… so this is my fourth failed attempt.

I have NO idea what is wrong with it. Each time I edit the HTTPD file, it causes my APACHE to stop running. I edited when I installed PERL on the server, but now every time I edit that file it causes it to stop running.

I don’t understand how so many people can get it to work just by doing the SAME thing as me, but mine won’t work. Any ideas?

Here are the specs:
Windows XP
Wamp Server APACHE Version: 2.2.17

I even used the ASP.NET from the other guy’s because that was for version 2.2X… I’m completely baffled by this. Please help! WAMP Is an amazing server and I don’t want to have to figure out another server to use!

I couldn’t get it working in my WAMPserver, The tray dock icon only turned orange, not green. It turned out I was mixing the 64-bit version with 32-bit ASP.net module. I installed the latest 32-bit version of WAMPserver and now it runs fine.

I followed the location “C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files” and failed I back tracked it and noticed mine does not have the Temporary folder whatsoever and I could not find ASP.NET files.
Please help!!!!

I follow the steps given above:
1. Downloaded mod_aspdotnet-2.2.0.2006-setup-r2.msi and installed.
2. Added LoadModule aspdotnet_module “modules/mod_aspdotnet.so” and all the codes in httpd.conf.
3. Started all Services successfully in WAMP v2.2.
4. Create simple.aspx will the code given above.

Hello sir, I have successfully made the simple.aspx work with WAMP, But when I copy pasted my website that I created using VS2010, it doesnt work. It errors:
It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.

This error can be caused by a virtual directory not being configured as an application in IIS
… and I am using WIN7 so I dont have IIS.. Please take a look at this link for my detailed explanation.

many people seem to be facing the same problem as me, aspdotnet does not worr. Wamp Icon stays orange.
So guyds, any ideas? I am guessing it has to do with the 64bit version of Windows, but that would not explain why it does not work when you install a 32bit wamp server anyway.

So please dear Author of the post: clear us up and help us, we are lost 😉
Kind regards,
Dominik

I also tried this method to be able to see ASP webpages through WAMP server.
First I also got the WAMP taskbar icon orange. But after fiddling around with removing the hash (#) before virtual host include line in the httpd.conf file above the inserted line # ASP.net …. and restarting the whole WAMP server (All services) the WAMP tray icon then turned green. I put back the hash (#) to exclude the line for include virtual host – restarted again all services and the WAMP tray icon went green again. So I guess all is working now and the page simple.aspx is displaying fine.

But – it seems only working with .aspx files and not asp. As few have already asked… why is this?

Installed module in apache root directory of wamp, result 73k .so file can be seen in the module subfolder.
There is a already the temporary folder ie v2.0.50727\Temporary ASP.NET in windows folder
Add … before “Include “c:/wamp/alias/*”” in the httpd.conf
Loaded aspdotnet.so module using LoadModule aspdotnet_module “modules/mod_aspdotnet.so” in httpd.conf.

After shut down and restart wamp, all seem ok as this module is ticked in tray’s apache modules

but …
the any dynamic aspx or asp file in the localhost folders is not processed by .net.

Any advice for a quick fix.

Or this the way to go now
Have Apache as the front-end server (port 80) and have IIS be the back-end server (8080). Then use Apache’s ProxyPass directive to proxy specific websites or URLs to IIS, which runs the ASP.NET code, and give the output back to Apache, which delivers it to the visitor/client.