?
Solved

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

Posted on 2014-04-23
4
Medium Priority
?
162 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 568 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 35

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 568 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 564 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 35

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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

599 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