[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

IIS trying to load js files that aren't in the code

I've got a .NET app that is working just fine on some machines, but failing to load on others.  We're tried various browsers, O/S, networks, cleared caches, reboots, and still fail to load the page in some cases.

I've traced with Firebug as see that my homepage that is hanging, is getting stuck on some js files are only used in other pages in the application, NOT the homepage itself.  I can't figure out why IIS is looking for these, unless it's caching somewhere, but we've bounced IIS a bunch already.  

This application was just moved to a new AWS Windows server, that should have ample processing power.  It was living on a Rackspace Win server 2008R2 / IIS 7 before and not having this issue, so I feel like it's something in the Win Server 2012 / IIS 8 settings or something.  

Any ideas?
0
Xbradders
Asked:
Xbradders
  • 2
3 Solutions
 
Dale BurrellCommented:
IIS doesn't load js files - your browser does. IIS may fail to return them. Can you post the firebug output of the page which fails to load? Or a URL to an actual hanging page would be better.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Are these javascript files hosted by your IIS server, or are they retrieved from a third party?
0
 
dj_alikCommented:
1.Check windows permission and  folder thats it inherit wrong permissions. try to move to wwwroot folder and add permission to iis user.
2.Enable the Static Content feature of Internet Information Services
http://www.sitecore.net/Community/Technical-Blogs/John-West-Sitecore-Blog/Posts/2013/06/Enable-IIS-Static-Content-for-the-Sitecore-ASPNET-CMS.aspx
0
 
Paul MacDonaldDirector, Information SystemsCommented:
I appreciate the points, but I'm curious what your resolution was.  If you were able to solve the problem, letting us know will help others in the future.  If we weren't able to help solve the problem, there's no need to award points.

Thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now