开发者

ASP.Net Page layout is not displaying properly in QA machine but is displaying correctly in Dev Machine

开发者 https://www.devze.com 2022-12-27 11:28 出处:网络
ASP.Net Page layout is not display开发者_JS百科ing properly in QA machine but is displaying correctly in Dev Machine.What could be the issue? We are using ASP.Net 2.0Very common issues are:

ASP.Net Page layout is not display开发者_JS百科ing properly in QA machine but is displaying correctly in Dev Machine. What could be the issue? We are using ASP.Net 2.0


Very common issues are:

  • QA machine still has old resources in the browser cache

    IE: Hit CTRL + Refresh
    FF, Chrome: SHIFT + Refresh

  • Resource Paths are different.

    Somewhere a path to an image starts with "/" which relates to to absolute route of a page.
    On the dev machine the page is: localhost:8080/default.aspx
    On the QA its: localhost:8080/somepath/default.aspx

    This will not work anymore, replace the absolute paths or make sure the path depth is the same everywhere

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号