Last post Aug 21, 2008 05:30 PM by timallard
Sep 05, 2007 06:58 AM|aalokitoaami|LINK
I am using asp.net 2.0 and Ajax1.0 for my website. The project is running fine in my local system, but when after publishing i am uploading the aspx & dlls in my web server i am getting Page Not Found (404) error for all .aspx pages. But the .html pages
are running fine. I am sure the .aspx pages exists there.
I have tried the followings too :-
RDP to the server and opeing the MMC i selected to my Website and right-click on default.aspx andc lick on "browse". But still i am getting the same error ( Here url is
http://localhost/default.aspx ). So there is no change of not existance of the page.
Then i viewed the Regisrty where i could find the Key : "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.0.50727.0"
Then i went to command prompt and usregisteded and then again register the .net2.0 to the iis with aspnet_regiis tool. And in the IIS MMC after right clicking on my website -> properties ->Website tab i found execute permission is given to "Script and Executables".
And when i click on the Configuration button i see the image for mapping :
which tells framework 2.0 dll are mapped as executable path for asp.net pages.
What i found different :
In my local machine when i open the properties of my website from IIS i can see a tab with "ASP.Net" label, through which i can change the asp.net version, configuration (web.config) for my site, which (The ASP.Net Tab) is not present in my Web server.
I don't have restarted the server after Installing the Ajax1.0 . And do.t khow whether it was restarted after installing .Net2.0 framework or not.
The server is with 64 bit preocessor. But my development machine is a 32 Bit one. So the files published from 32 bit machine and uploaded to 64 bit one
64 bit processor web server
publish from 32 bit processsor
Page not found
Sep 05, 2007 07:48 AM|ca8msm|LINK
If you are running a Windows 2003 machine, go to IIS -> Web Service Extensions and make sure that ASP.NET scripts are set to Allowed.
Website Design Darlington - http://lessthandot.com -
Sep 06, 2007 03:20 AM|aalokitoaami|LINK
Thank you for your reply. And it has worked. But still i can't see the "ASP.Net" tab when i right click on website >Properties window. I saw it in other webservers and in my local XP IIS. This let you to change the asp.net version of your site easily. or
May 21, 2008 12:43 AM|hayashiryo|LINK
I am also facing the same problem. I can only run static pages (html). For aspx, it still says 'The page cannot be found'.
I'm running Windows 2003 DataCenter Edition 64 bit. And the following are extracted from my Web Service Extension in IIS:
All unknown CGI Extensions Prohibited
All unknown ISAPI Extensions Prohibited
Active Server Pages Allowed
ASP.NET v1.1.4322 Allowed
ASP.NET v2.0.50727 Prohibited
ASP.NET v2.0.50727 (32-bit) Allowed
Indexing Service Prohibited
Internet Data Connector Prohibited
Perl Extensions Prohibited
PHP Extensions Prohibited
PHP5 Extensions Prohibited
Plesk Extensions Prohibited
Server Side Includes Prohibited
Aug 21, 2008 05:30 PM|timallard|LINK
Just found a solution: http://support.microsoft.com/kb/909444
The final changes near the bottom did the trick, my machine had Everyone with the correct permissions.
If this post was useful to you, please mark it as answer. Thank you!