Solved

ASP .NET IIS 7.50 deployment

Posted on 2013-11-30
5
443 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now