[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Blank page on ASP.NET 4.0 and IIS 7.5

Posted on 2011-03-24
3
Medium Priority
?
1,347 Views
Last Modified: 2012-05-11
I have an ASP.NET 4.0 webapp that runs fine locally on IIS 7.5 and Windows 7. But when I deploy it to a Windows Server 2008 R2 server and try to hit a page, all I get is blank. When I view source I get this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

Open in new window


I tried creating and hitting a simple html page in the root of the webapp. Same result: blank.
I tried hitting a nonexistent page, just shows blank--no 'page not found' error or similar.
At first I had a web.config error, and that error was displayed through the page. Once I fixed that config error, I just get the blank page.

Here's what I've already verified:
IIS 7.5 is installed and running
ASP.NET & static content server is installed
Friendly HTTP error messages are disabled, so I should see real error messages from server
custom errors are disabled via web.config
permissions are wide open on the folder containing the asp.net files

Any ideas?
0
Comment
Question by:SweatCoder
[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
3 Comments
 
LVL 15

Expert Comment

by:pcsmitpra
ID: 35214097
ASP.NET 2.0 and ASP.NET 4.0 should be installed on the server. Also the application pool for website should be running with ASP.NET 2.
0
 
LVL 11

Accepted Solution

by:
SweatCoder earned 0 total points
ID: 35234460
I'm running asp.net 4.0. Why would I want the app pool to run on 2.0 when it can run on 4.0?

I jerked around with this a bunch more and finally got it working. I think it was related to Windows Auth in IIS being disabled, and I needed it enabled. Very strange symptom for this: blank page.

Anyway, I think I may just request this be closed.
0
 
LVL 11

Author Closing Comment

by:SweatCoder
ID: 35321745
I'd like to close this out...
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 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