Solved

ASP .NET IIS 7.50 deployment

Posted on 2013-11-30
5
449 Views
Last Modified: 2013-12-03
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.
0
Comment
Question by:MrStevenWin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 29

Assisted Solution

by:Göran Andersson
Göran Andersson earned 175 total points
ID: 39687439
You can only access a web site using the IP address if the site is set up to be the default site of the server.

IIS can host multiple sites on the same IP address, and uses the domain name in the URL to determine which site you are trying to visit. One of the sites on the sever can also be the default site, and it will also answer to requests with a domain name that no other site on the server is registered to handle.

When you visit a site using on the IP address, there is no domain name to match against, so you can only reach the default site that way.
0
 
LVL 7

Accepted Solution

by:
XGIS earned 175 total points
ID: 39687988
Hello MrStevenWin
Does it work on the server using a non-bound localhost address;  eg http://localhost:81
If it does not work in this way there may be another issue that needs to be resolved.
0
 

Author Closing Comment

by:MrStevenWin
ID: 39688072
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.
0
 
LVL 29

Expert Comment

by:Göran Andersson
ID: 39688228
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
0
 

Author Comment

by:MrStevenWin
ID: 39694635
Hi GreenGhost,

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

Regards,
Steven
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

      Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question