We have been trying to put our site in production and our resources are not loading. The same build we have taken from UAT server an deployed in Production. But when we tried to run the site, none of the image or js or css file from the master page is loading.
Also wherever we have used Jquery, it's throwing error as "Object not found". Did a lot of googling and got to know some solutions, but unfortunately nothing works for us.
Please help, it's Urgent.
Regards,
Snigdha
Please Mark as Answer if my reply helped you.
The IE version, IIS version, IIS configuration, the build and the database - everything is same for UAt and production, but UAT works and Production does not work. UAT is in one server and Production in another server.
Regards,
Snigdha
Please Mark as Answer if my reply helped you.
But when we tried to run the site, none of the image or js or css file from the master page is loading.
Also wherever we have used Jquery, it's throwing error as "Object not found".
Hello,
Either you don't have enough permission to access the folders which contains the js and css files or your paths are not correct. See the network tab of your chrome developer tools (Press f12 in keyboard and select that tab. For firefox, install firebug and
do the same but the tab name is 'net'). Then see how resources are loading and what is the message you are getting for the Status (i.e. 200, 401, 404 etc.) It will help you to rectify the problem. :)
Well, it was some permission issue, your guess was correct.
Later that day after struggling for six hours, we found out that one of the permission was not granted for that site. We added the users in IIS and it loaded.
So, anybody, who faces this kind of problem, please check with your permissions also. There can be multiple reasons why you can get this error and not giving enough permission is one of them.
Anyway, thanks so much Ruchira
Regards,
Snigdha
Please Mark as Answer if my reply helped you.
sargamlucy
Member
559 Points
164 Posts
Resources not loading
Mar 24, 2012 10:11 AM|LINK
Hi,
We have been trying to put our site in production and our resources are not loading. The same build we have taken from UAT server an deployed in Production. But when we tried to run the site, none of the image or js or css file from the master page is loading.
Also wherever we have used Jquery, it's throwing error as "Object not found". Did a lot of googling and got to know some solutions, but unfortunately nothing works for us.
Please help, it's Urgent.
Regards,
Snigdha
Please Mark as Answer if my reply helped you.
sargamlucy
Member
559 Points
164 Posts
Re: Resources not loading
Mar 24, 2012 10:13 AM|LINK
The IE version, IIS version, IIS configuration, the build and the database - everything is same for UAt and production, but UAT works and Production does not work. UAT is in one server and Production in another server.
Regards,
Snigdha
Please Mark as Answer if my reply helped you.
Ruchira
All-Star
44216 Points
7184 Posts
MVP
Re: Resources not loading
Mar 24, 2012 03:02 PM|LINK
Hello,
Either you don't have enough permission to access the folders which contains the js and css files or your paths are not correct. See the network tab of your chrome developer tools (Press f12 in keyboard and select that tab. For firefox, install firebug and do the same but the tab name is 'net'). Then see how resources are loading and what is the message you are getting for the Status (i.e. 200, 401, 404 etc.) It will help you to rectify the problem. :)
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.sargamlucy
Member
559 Points
164 Posts
Re: Resources not loading
Mar 26, 2012 09:36 AM|LINK
Hi Thanks for replying.
Well, it was some permission issue, your guess was correct.
Later that day after struggling for six hours, we found out that one of the permission was not granted for that site. We added the users in IIS and it loaded.
So, anybody, who faces this kind of problem, please check with your permissions also. There can be multiple reasons why you can get this error and not giving enough permission is one of them.
Anyway, thanks so much Ruchira
Regards,
Snigdha
Please Mark as Answer if my reply helped you.