Server returns blank pages with asp.net 3.5 on IIS6

一个人想着一个人 提交于 2019-12-01 17:30:23

I have just had exactly the same problem with IIS 7.5.

I tried uninstalling IIS multiple times, changing configuration etc., but nothing seemed to do any difference. I followed all the guides available - still nothing.

What I ended up doing, was completely removing IIS and all related files and configuration (except registry settings):

  • Uninstall IIS via Add/Remove Programs > Turn Windows Features on or off
  • Rebooted
  • Removed the directory including all files: c:\inetpub
  • Removed the folder inkluding all files: C:\Windows\System32\inetsrv
  • Reinstalled IIS via Add/Remove Programs > Turn Windows Features on or off

Finally it worked. Hope someone else will benefit from this :)

I didn't find the origins of the problem. However problem was solved by using Publish Project wizard. Original variant was distributed at xcopy basis with code-behind sources.

Looks like its an issue with your browser temporary files. I am assuming you are using Internet Explorer browser in which case try the following:

Goto Tools->Internet Options. Under 'General' tab, clear the browser history by clicking on 'delete' button.

I had a similar issue on our QA Server (with the latest changes). Everything was running 100% on the development box but not on QA. Eventually I had to overwrite my QA server with code from Production and then used Beyond Compare to transfer changes file by file and line by line. The error came from the CSS snippet below. I didn't find the reason why but I wrote a work around.

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

This was done to override the the parent settings, but didn't work so well.

In short: Check your CSS as well, it might be the culprit.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!