Posts

Showing posts from May, 2015

Sideloading of apps is not enabled on this site - error while debugging SharePoint application

Image
Hi

In case if you want to deploy, test or debug a SharePoint application on you newly created web site you can gen an error which looks like this

Error occurred in deployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site.

It means that the site does not have development feature enabled. Strange and stupid error message which could be more descriptive!

the solution is actually more stupid. you cannot enable it from features because it is hidden, so just run this from PowerShell and enjoy.

Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 –url http://sptest.cloudapp.net

Skip domain requirement while configuring database for SharePoint

Image
In case if you forgot to configure domain while installing SharePoint or do not know how to do that you can face an error while configuring DB for SharePoint.

“The specified user is a local account . Local account should only be used in stand alone mode”


The easy way just pre create Databases before configuring SharePoint.

Just run SharePoint management shell and run New-SPConfigurationDatabase command and answer some sample question. The command will create configuration databases so you will be able to skip that step in the wizard.


May be not the best idea for production but in test environment this can save a lot of time.