When a Sharepoint site developed in the past two days opens any page, the following error will always pop out:
Message: Object required
Line: 693
CHAR: 9
Code: 0
Uri: http: // myspsite/scriptresource. axd? D = bytes & T = 5c2f384e
For example:
Analyze the error message because it contains scriptresource. axd. It is estimated that it is related to the script.CodeOr operation. The error occurred on every webpage of this website, so I put my attention in two places.
1. masterpage of the website.
2. features deployed on the website.
In the first case, Google found that the above error was caused by the Script node expression in the materpage. Set
< Script Type = "Text/JavaScript" SRC = "../Style % 20 Library/JS/jquery-1.4.3.js" />
Change
<ScriptType= "Text/JavaScript" SRC = " ../Style % 20 Library/JS/jquery-1.4.3.js " > </ Script >
However, when I open the masterpage of my website, I find that the Script node is only simple.
<ScriptType= "Text/JavaScript"/>
So I moved my eyes to feature and used the command
Get-spfeature-site http: // myspsite/| sort displayname | ft displayname, ID
Listing all features of this website, we found that one featuer introduced jquery, called spjquery_jqueryfeature, is suspected of being script-related, so we use the command
Disable-spfeature spjquery_jqueryfeature-URL http: // myspsite
Disable this feature, return to the website, open the page again, and the error disappears. It is estimated that this feature is faulty when jquery is introduced (such as in the first case.