Click to See Complete Forum and Search --> : server does not process .aspx pages
Croody
May 22nd, 2006, 04:35 AM
Hi, I installed asp.net 2.0 on windows 2003 server (iis 6) but the server still does not process any .asp .aspx page. It only processes .htm pages. I don't know what I have done wrong there. I have asp.net 1.1 on a different server and it is working.
Any help will be appreciated.
Thanks
Croody
Shuja Ali
May 22nd, 2006, 05:04 AM
Did you register the ASP 2.0?
Try executing this command from
aspnet_regiis.exe -i from command prompt. This file will be ideally located in C:\windows\Microsoft.NET\Framework\v2.0.50727
And by the way, Welcome to the Forum :wave:
Croody
May 22nd, 2006, 06:47 AM
Thanks
No I didn't. I had no idea that I need to register it first. Anyaway I have done it but the server still does not process aspx pages. It still get error 404 (page cannot be found). I have restarted iis. Do I need to restart the machine after registering asp 2.0?
HairyMonkeyMan
May 22nd, 2006, 07:19 AM
If the server isn't processing the aspx page, you should be seeing the source code, not a 404 error!
Croody
May 22nd, 2006, 07:40 AM
That's exactly what I do not understand. If I switch to v1.1 the page will be normally processed and displayed without any error. But the moment I switch to v2.0 error 404 appears. But the file is actually there. This means that v2.0 is not working or configured correctly.
HairyMonkeyMan
May 22nd, 2006, 07:55 AM
Check that the extension is installed:
http://www.mnd.co.uk/iis1.gif
And that any applications that use asp1.1 (or regular asp) are not running off the same application pool
http://www.mnd.co.uk/iis2.gif
Good luck
Croody
May 22nd, 2006, 08:41 AM
A million thanks!!!
The extension wasn't installed. Now it is working. I can rest my head a bit now.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.