Solved

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

Posted on 2014-04-23
4
142 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now