MrStevenWin
asked on
ASP .NET IIS 7.50 deployment
When I access the web site I setup using IP address ..I got below error
HTTP Error 404. The requested resource is not found.
When I access with domain name I got a blank page.
Is there anything wrong with website setup in IIS 7.5 (Windows 2008 server)?
It is hosted in public IP.
Thanks.
HTTP Error 404. The requested resource is not found.
When I access with domain name I got a blank page.
Is there anything wrong with website setup in IIS 7.5 (Windows 2008 server)?
It is hosted in public IP.
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It sounds like only framework 2 is registered in IIS, or that the 4.0 registration is missing something.
Register framework 4 by running this in a console window run as administrator, from the framework folder (something like C:\Windows\Microsoft.NET\F ramework\v 4.0.30319) :
aspnet_regiis -i
Ref: IIS registration tool
You can fine plenty of descriptions of this: iis register framework 4
Register framework 4 by running this in a console window run as administrator, from the framework folder (something like C:\Windows\Microsoft.NET\F
aspnet_regiis -i
Ref: IIS registration tool
You can fine plenty of descriptions of this: iis register framework 4
ASKER
Hi GreenGhost,
Thanks. Exactly, Framework 4 is not registered. Now, it solved.
Regards,
Steven
Thanks. Exactly, Framework 4 is not registered. Now, it solved.
Regards,
Steven
ASKER
Later, I have tested again and found that even in localhost it is not working yet.
The site doesn't seems to process .aspx page at all. When I put .htm page there and browse it, it can be shown.
I have tied the site to .net framework 4.
The server was installed with both framework 4 and 2.
When I check Handlers Mapping, it seems not correct.
I found (PageHandlerFactory-ISAPI-
but I didn't find (PageHandlerFactory-ISAPI-
Then I manually try to add it, but it seems not working ..
I'm not quite familiar with hosting sites especially with IIS 7.5. Is there any good place I can go and learn to know more about IIS 7.5 administration.
Thanks.