RegisterSOD is Undefined - JavaScript Exception from SharePoint Hosted App in SharePoint 2013

Sathish Nadarajan
SharePoint MVP
Published On :   28 Mar 2015
Visit Count
Today :  1    Total :   9242
Plan, Migrate, Secure, Report
SharePoint & Office 365 Tool. Simple & Easy to Use. 15-Day Trial!

Sharegate: Kick-Ass Tool
Think Your SharePoint & Office 365 Are Secure ? Find Out Now!

I was creating a blank new environment for one of the demo about the SharePoint hosted Applications. At that time, I configured all the service applications properly and created the App. After deploying the App, my screen loads, but not properly. When I traced the Javascript exceptions, I found an exception like “RegisterSOD is undefined”. Basically this method should be present on the JQuery itself. Probably I may wrong at this point. But surprisingly what solved my issue is creating a new SiteCollection at the Root level. i.e., I created a site collection like and deployed this app. I got the screen as below.


Then I created a Root Site like – and then refreshes the other site collection. It start working like anything. Though it looks strange, this worked out for me.

Happy Coding

Sathish Nadarajan.

SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.

List Aggregator App