Pages do not load correctly only when click Refresh on Win7+IIS7.5

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 18:04:20

问题


I recently migrate my development website from old computer (WinXP with IIS5.1) to new computer (Win7 with IIS7.5). The application developped using ASP.NET with bunch of javascript and CSS files.

On the new computer, the virtual directory is created under Default Web Site with default configuration but enable ASP.NET Impersonate and Windows Authentication (Anonymous disable)

The application used the Classic Pipeline on Classic .NET AppPool (.NET 2.0) that comes with IIS7.5.

With above configuration, application run fine on IIS5.1 but not on IIS7.5. The page will load correctly but if refresh button is hit, page will load incorrectly by displaying only ASP.NET page without loading JS and CSS.

However, by retyping URL in the address bar and hit enter to reload page, it displays correctly.

At first, I thought it's because IE9 but I can use IE9 to open application on old computer without problem.

If anyone know any clues, please tell me.

Thank you

来源:https://stackoverflow.com/questions/10912763/pages-do-not-load-correctly-only-when-click-refresh-on-win7iis7-5

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