Pages

Wednesday, December 23, 2015

Error occurred in deployment step 'Install app for SharePoint': The requested service, AppMng.svc' could not be activated. See the server's diagnostic trace logs for more information

The cause for getting the above error is free memory is less to start this service. So you need to free some memory.

“Memory gates checking failed because the free memory is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.”


You can resolve this issue by restarting the SPSearchHostController service in services.msc console  as this consumes lot of memory, which will free some memory for you. You can also try to reboot your server or close unnecessary applications to free some memory. 

more :http://social.technet.microsoft.com/wiki/contents/articles/25793.step-by-step-guide-to-configure-environment-for-creating-your-first-sharepoint-hosted-app.aspx

Error occurred in deployment step 'Uninstall app for SharePoint': The System Account cannot perform this action

- Create a new account.
- Add this account to local admin.
- Then add the account to farm admin group. Open sharepoint central administration, go to Security. From there select Manage the farm administrators group.
- Now open visual studio into different user ( Shift + Right Click, and open with different user ). and put the user which you have created now.

Thursday, December 17, 2015

CONFIGURATION FAILED – FAILED TO CREATE SAMPLE DATA-SHAREPOINT 2013

I am installing SharePoint 2013 for the first time – it’s a standalone installation on a clean Windows 2012 server.  SharePoint appears to have installed without incident but the Configuration Wizard has failed with the following message: “The SDDL string contains an invalid sid or a sid that cannot be translated.
Configuration_Failed
It appears to have failed to create the sample database.  After rebuilding the server to try again, and spending a bit of time searching for a solution, it would appear that this is a common problem and there isn’t one solution for all.  For me, it only took a few simple steps to fix by sharing a folder and setting some permissions:
1. Once the Configuration Wizard has failed browse to C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server
2. Right-click on the Analytics_GUID folder and choose Properties
3. On the Sharing tab click Advanced Sharing
4. Tick the box to share the folder (don’t change the share name) and click the Permissions button
5. Click Add, enter WSS_ADMIN_WPG and click OK.  Grant the group Full Control and click OK
6. Click Close
I ran the Configuration Wizard again and it completed successfully
Configuration_Successful

eNJ....