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
http://sathishserver.ss.loc:1000/sites/AppDemo and deployed this app. I got the screen as below.
Then I created a Root Site like – http://sathishserver.ss.loc:1000/ 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.
Leave a comment