Solved

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

Posted on 2014-04-23
4
145 Views
Last Modified: 2014-11-15
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
Comment
Question by:Xbradders
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Dale Burrell earned 142 total points
ID: 40019787
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
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 142 total points
ID: 40020089
Are these javascript files hosted by your IIS server, or are they retrieved from a third party?
0
 
LVL 18

Assisted Solution

by:dj_alik
dj_alik earned 141 total points
ID: 40020866
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
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40444998
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question