Link to home
Start Free TrialLog in
Avatar of MrStevenWin
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.
SOLUTION
Avatar of Göran Andersson
Göran Andersson
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MrStevenWin
MrStevenWin

ASKER

Thanks for the replies and advice.

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-2.0-64) which is tied for .aspx
but I didn't find  (PageHandlerFactory-ISAPI-4.0_64bit ).
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.
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\Framework\v4.0.30319):

    aspnet_regiis -i

Ref: IIS registration tool
You can fine plenty of descriptions of this: iis register framework 4
Hi GreenGhost,

Thanks. Exactly, Framework 4 is not registered. Now, it solved.

Regards,
Steven