Sharepoint losing html formatting

I am getting a sharepoint formatting error where our sharepoint site loses its html formating. The picture bellow is what it is suppose to look like and the one under it is the formatting error I am getting. This error is coming up on several machines in our network. At first I thought it was the browser that was causing this but on some machines this error occurs on chrome and some on internet explorer on others it happens on both. This error also occurs accross operating systems on both windows 7 and XP. I also checked the different versions of chrome and internet explorer and all the explorers are the same but some are getting error while others arn't. I also checked whether or not if updates of the machines had anything to do with it and there was no corrolation between the error and the update versions. This error has been occuring for a few weeks now and any new machines that access the sharepoint page is getting the error on both internet explorer and chrome. If anyone has any ideas as to why this is happening it would be greatly appreciated.<o:p></o:p>

November 26th, 2012 4:15pm

could you install Fiddler to monitor the http while you access the site?

Any lines in red means that something is wrong.

Free Windows Admin Tool Kit Click here and download it now
November 26th, 2012 4:19pm

Do you have more than 1 web server in your farm as an entry point to your end users?  It looks like you are missing a css file on 1 or some of your web servers and if a client hits that box it's rendering without a css file.
November 26th, 2012 4:43pm

I installed fiddler and it appears that it is an authentication error. I went to the developer tools in chrome and it gave me the errors below. Also it appears that the error occurs consistently on both chrome and internet explorer for any new users that join the domain Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/_layouts/1033/styles/Themable/corev4.css?rev=iIikGkMuXBs8CWzKDAyjsQ%3D%3D Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/WebResource.axd?d=A5kwg2pLOuVhc_U3pQkd1shmKO2sl1448RtKKOULaFF4MqTaEoUchFSR0DqDZ426W862li5y_GzobM9H15EG1_Dmrmc1&t=634604244479085897 Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3D Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/_layouts/1033/init.js?rev=BJDmyeIV5jS04CPkRq4Ldg%3D%3D Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/ScriptResource.axd?d=3QA5QMqb9BUbw15uQf_9AQIG3_FcfA86qoL2U1g22cBrJMUUPy-iC_ha-1RogelQPtBigtPSf6sbHfHxIG2ONA1bT_zrS04WA1prN61dc3yYzAmRqWe6o7F1pSAOtdRCiU8p0HblihTVw4vLvT8aTl1-1r01&t=ffffffffb868b5f4 Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/ScriptResource.axd?d=o8DNdmmhB8TE1V97gWdT6GwgEOeZqbsz4dHltt2U5CYOfNgeIFcp9cCP6FsUE-7r-oD2aCuhiFRaUpWY4zH56UKyWRYrmuApeWaD_SMxF9EonT6YIGIEuvCWCFAhRUzhPF-v4FfOxp8ZALw_KntVRn_idn1RiQPffAlJ72_7ifFSn2kp0&t=ffffffffb868b5f4 Uncaught ReferenceError: Type is not defined ScriptResource.axd:1 Uncaught ReferenceError: MCCalendar is not defined ScriptResource.axd:1 Uncaught ReferenceError: MCCalendar is not defined ScriptResource.axd:1 Uncaught ReferenceError: Type is not defined js:1 Uncaught ReferenceError: Sys is not defined Home.aspx:182 Uncaught ReferenceError: ContextInfo is not defined Home.aspx:866 Uncaught ReferenceError: ContextInfo is not defined Home.aspx:951 Uncaught ReferenceError: ContextInfo is not defined Home.aspx:1036 Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined Home.aspx:1226 Uncaught ReferenceError: $find is not defined Home.aspx:1373 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1470 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1471 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1472 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1473 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1474 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1475 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1476 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1477 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1478 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1479 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1480 Uncaught ReferenceError: RegisterSod is not defined Home.aspx:1481 Uncaught ReferenceError: RegisterSodDep is not defined Home.aspx:1482 Uncaught ReferenceError: Sys is not defined Home.aspx:1485 Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/_layouts/images/fgimg.png Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/_layouts/images/siteIcon.png Failed to load resource: the server responded with a status of 401 (Unauthorized) http://sharepoint/_layouts/images/blank.gif
  • Edited by Netadmin100 Wednesday, November 28, 2012 1:31 PM
Free Windows Admin Tool Kit Click here and download it now
November 28th, 2012 4:26pm

We only have one web server in our office 
November 28th, 2012 4:27pm

mhh some stuff to check

have you changed anything in the Alternate Access mappings ?

dns issue ?

Free Windows Admin Tool Kit Click here and download it now
November 28th, 2012 4:35pm

Sorry if my reply has taken so long. No I havn't changed anything in the Alternate Access mappings. Havn't had any DNS issues either
December 3rd, 2012 4:09pm

Got the same issue! If you'll find the solution it would be great if you share!
Free Windows Admin Tool Kit Click here and download it now
December 5th, 2012 9:09am

I work with Netadmin100.  For our setup we're using NTLM to do Windows Authentication against our AD.  We noticed when looking in IIS that the folders giving the 401 errors were configured to use Anonymous Authentication where as the rest of the site was configured to use Windows Authentication.  We changed those folders to use Windows Authentication and that resolved the 401 issues with images and css files so the site at least displays correctly now.  However, we're still getting 401 errors on .axd and .js files for those users and some of the functionality (i.e. calendars) is not working correctly.

Does anyone have any suggestions about those errors?


GET http://sharepoint/_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3D 401 (Unauthorized) Home.aspx:14
GET http://sharepoint/WebResource.axd?d=A5kwg2pLOuVhc_U3pQkd1shmKO2sl1448RtKKOULaFF4MqTaEoUchFSR0DqDZ426W862li5y_GzobM9H15EG1_Dmrmc1&t=634604244479085897 401 (Unauthorized) Home.aspx:14
GET http://sharepoint/ScriptResource.axd?d=3QA5QMqb9BUbw15uQf_9AQIG3_FcfA86qoL2U1g22cBrJMUUPy-iC_ha-1RogelQPtBigtPSf6sbHfHxIG2ONA1bT_zrS04WA1prN61dc3yYzAmRqWe6o7F1pSAOtdRCiU8p0HblihTVw4vLvT8aTl1-1r01&t=ffffffffb868b5f4 401 (Unauthorized) Home.aspx:18
GET http://sharepoint/ScriptResource.axd?d=o8DNdmmhB8TE1V97gWdT6GwgEOeZqbsz4dHltt2U5CYOfNgeIFcp9cCP6FsUE-7r-oD2aCuhiFRaUpWY4zH56UKyWRYrmuApeWaD_SMxF9EonT6YIGIEuvCWCFAhRUzhPF-v4FfOxp8ZALw_KntVRn_idn1RiQPffAlJ72_7ifFSn2kp0&t=ffffffffb868b5f4 401 (Unauthorized) Home.aspx:20
GET http://sharepoint/ScriptResource.axd?d=lMCgBRUPoBqcsTFdTNkd0X8odKIk1TVnOTocaIOmRAQ4K5Lxt-Ecl7pcDbfV9Ne670tiF3-ixhwu-4_VD3BXpznUS4CJJEceJip8tGZ32K-1wzxrgEzFv-FSydjGk87al2EdIYFdMo05Qqrd3F2O67GRSv73Sva26T7K2LvqJe0qAure99ReMj29x9ScaHTJui6tEdtxZXi5Sqk5Tvs-F-6beTLASmF3p_1M-TFU3cA9lj1lH3vSnIrM6d-1mhRUGu7dlw2&t=2d44201c 401 (Unauthorized) Home.aspx:21
GET http://sharepoint/ScriptResource.axd?d=_MTEBnOBAY2QkypMNB2YWHin5hckEYD-VlTqH7frPYginN91ezyEqiHjsKcHHs5o3REfdIy3tmMKpmK-Rtw3CiPEPiG1WBAdf16-3XKfHQd9ckgXmwhXxEzpEtYvOTV0i1sXyjF3rnv2f1h_TuWcDtZgPZrjEzH0AkSJAGq8yIosQvoPXE7JC52lwfG8KTOVhfTZClvuJebkL02GPJWKXTvQU9b92vbUEVxJeUI8kMRUkJ-6IFJxT3ibQ3ll7W5G6VSbpg2&t=2d44201c 401 (Unauthorized) Home.aspx:22
GET http://sharepoint/ScriptResource.axd?d=tFVXjZd1NH8glRb66T4HXwnifq7t9komYou5EXU1xQqgFScbK2gZ_AFTEVniZUqMRBO18AywuBqIhKN01bqC6zoAPioddZxrsHpmWjr8L22bPVFis1u3r6Rm6dhuyhVnK59idLqUfgvLeBAG2z1BNbzNcWBtQ3kUfguuqVLOREPbTjQTbwf7XyB93jNLEuE3TW8HpwPAgSdL0E8RlC7mF4G_2e6MIIu2OIgBF6VA1YBZyl7X0&t=2d44201c 401 (Unauthorized) Home.aspx:23
Uncaught ReferenceError: Type is not defined js:1
Uncaught ReferenceError: Sys is not defined Home.aspx:182
Uncaught ReferenceError: Virto is not defined Home.aspx:1303
Uncaught ReferenceError: $find is not defined Home.aspx:1372
Uncaught ReferenceError: Sys is not defined Home.aspx:1484
GET http://sharepoint/_layouts/sp.core.js?rev=7ByNlH%2BvcgRJg%2BRCctdC0w%3D%3D 401 (Unauthorized) init.js:2
GET http://sharepoint/_layouts/cui.js?rev=wvoVpqlQb30nGo4DjDk8Kg%3D%3D 401 (Unauthorized) init.js:2
GET http://sharepoint/_layouts/ScriptResx.ashx?culture=en%2Dus&name=SP%2ERes&rev=b6%2FcRx1a6orhAQ%2FcF%2B0ytQ%3D%3D 401 (Unauthorized) init.js:2



  • Edited by brudasill Wednesday, December 05, 2012 7:07 PM
December 5th, 2012 4:45pm

Could you solve this problem?

I have the same in sharepoint 2013. if you can help, it would be great.

Free Windows Admin Tool Kit Click here and download it now
June 28th, 2014 6:05pm

Hi,

It seems to be the problem in authorizing "_layouts" folder for currently logged in users as you deployed the design stuffs into "_layout" folder.

To resolve this problem,you need to assign the permission level as its looks like

Its best practice to keep all your images,css and javascript files in to SharePoint "Assets" folder instead of deploying into "_layout" folder.


June 29th, 2014 9:00am

Which folder you're talking about here? I'm facing same problem in SharePoint 2010. I did change my service account password though, but updated new one in application pool of each web application. I'm not able to load central admin or any other site properly. Getting 401 unauthorized error and not able to load any images, javascript which are in layout folder.

---------------------------------------

GET http://sharepoint:9713/ScriptResource.axd?d=OYSrO9_x6V87wMgvJz2Rf9_6zQLtDVInRFSXzdiQY7ufPGVS7luzedKRzGbZIWosTjhFt6wb7kg7PTAcmFDgNTzO81&t=2e2045e2 
AllItems.aspx:15 GET http://sharepoint:9713/_layouts/1033/init.js?rev=7rurhilS20pNrVcviE3PbA%3D%3D 
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/iccss.gif 401 (Unauthorized)
emailviewerhandleraction.js:97 Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined
AllItems.aspx:21 GET http://sharepoint:9713/ScriptResource.axd?d=_UUb-mBjkGdWQvGtHyJ-mI8TepF3d1kIveQsMztvcDJTBwg1SarrHG7tptgExoQbhNEY-FTsxEUFhw3ozr0Q1l3T80&t=2e2045e2 401 (Unauthorized)
AllItems.aspx:162 Uncaught ReferenceError: Sys is not defined
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/icgen.gif 401 (Unauthorized)
AllItems.aspx:197 GET http://sharepoint:9713/_layouts/images/blank.gif 401 (Unauthorized)
AllItems.aspx:197 GET http://sharepoint:9713/_layouts/images/fgimg.png 401 (Unauthorized)
AllItems.aspx:537 GET http://sharepoint:9713/_layouts/images/gosearch15.png 401 (Unauthorized)
AllItems.aspx:589 GET http://sharepoint:9713/WebResource.axd?d=u4uKTbf8fjCZQOOEbxJgjIhkQpxuSL5JrLq_pBb_bM5kyR2DUvgwqi1xZ4Em1gar0INbUvN54YNuxYH4cE1&t=635294915132453548 401 (Unauthorized)
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/icxlsx.png 401 (Unauthorized)
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/iccss.gif 401 (Unauthorized)
AllItems.aspx:707 Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined
AllItems.aspx:708 Uncaught ReferenceError: ContextInfo is not defined
AllItems.aspx:778 Uncaught ReferenceError: HideListViewRows is not defined
AllItems.aspx:900 Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined
AllItems.aspx:907 Uncaught ReferenceError: _spBodyOnLoadFunctionNames is not defined
AllItems.aspx:940 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:941 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:942 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:943 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:944 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:945 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:946 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:947 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:948 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:949 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:950 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:951 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:952 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:953 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:954 Uncaught ReferenceError: RegisterSod is not defined
AllItems.aspx:955 Uncaught ReferenceError: RegisterSodDep is not defined
AllItems.aspx:958 Uncaught ReferenceError: Sys is not defined
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/blank.gif 401 (Unauthorized)
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/icxlsx.png 401 (Unauthorized)
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/iccss.gif 401 (Unauthorized)
AllItems.aspx:778 GET http://sharepoint:9713/_layouts/images/icgen.gif 401 (Unauthorized)
AllItems.aspx:785 GET http://sharepoint:9713/_layouts/images/fgimg.png 401 (Unauthorized)

  • Edited by Sunil- Friday, January 30, 2015 9:53 PM
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2015 12:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics