Server returns blank pages from asp.net 3.5 on IIS6

I have a problem with a site deployed on an IIS6 server. Here's the problem, when I first deploy the asp.net 3.5 site to the server (the site is relatively small with 5 pages and 5 libraries in the basket), it works as expected. But after a certain period of time (~ 1 hour), the server returns black pages instead of the expected content:

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

At first, my idea was that my site conflicts with other .net 2.0 nodes hosted on the same server, so I put my site in a dedicated pool, but to no avail. The first site works, then not. There are no errors or similar in iis logs. And I do not use the ClearError () method on my site.

I found a similar question here (I get blank pages instead of error messages using classic ASP, IIS6 and WinServer 2003 R2) , but this is for classic ASP.

Also several topics in ASP.NET:

But these solutions also do not help me. For example, when I replace web.config with a new one or replace one of the necessary assemblies with a rebuilt one, I get the same result. The first site works, then the black pages.

From what I see, I think it’s kind of a configuration problem, but I’m completely stunned right now because I tried everything and now I don’t have enough ideas, so help is greatly appreciated.

+6
source share
4 answers

I did not find the cause of the problem. However, the problem was resolved using the project publishing wizard. The original version was distributed on xcopy with source codes.

+2
source share

I just had the exact same issue with IIS 7.5.

I tried to remove IIS several times by changing the configuration, etc., but nothing changed. I followed all the available guides - still nothing.

As a result, I completely deleted IIS and all associated files and configuration (except for registry settings):

  • Uninstall IIS using Add or Remove Programs> Turn Windows Features On or Off
  • reboots
  • The directory containing all the files has been deleted: c: \ inetpub
  • The folder containing all the files has been deleted: C: \ Windows \ System32 \ inetsrv
  • Reinstalled IIS using Add or Remove Programs> Turn Windows Features On or Off.

Finally, it worked. Hope someone else benefits from this :)

+3
source share

It seems the problem is with your browser’s temporary files. I assume you are using Internet Explorer, in which case try the following:

Open Tools-> Internet Options. On the General tab, clear your browsing history by clicking the delete button.

+1
source share

I had a similar problem on our QA server (with the latest changes). Everything was 100% in the development window, but not on QA. In the end, I had to rewrite my QA server with Production code, and then use Beyond Compare to transfer the change files by file and line by line. The error came from the CSS snippet below. I did not find the reason, but I wrote a work.

 .dt-action-text { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important; color: #333333 !important; margin-left: 5px !important; } 

This is done to override the parent settings, but it doesn’t work so well.

In short: Check your CSS , maybe this will be the culprit.

0
source share

All Articles