Showing posts with label SharePoint Error. Show all posts
Showing posts with label SharePoint Error. Show all posts

Friday, May 20, 2016

My Site Cleanup Job deleting My Site immediately

he My Site Cleanup Job is also enabled and set to run every hour as set by default.

Once an account is deleted or deactivated within Active Directory, this correctly flags a profile for deletion
If the user had a My Site, the manager will receive a notification that it will be deleted in 14 days.

However the My Site is deleted immediately and there is no delay.

Its jobs must runs User Profile Incremental Synchronization 

login Prompt of SharePoint Sites error



Please refer this below link

https://blogs.technet.microsoft.com/scottstewart/2014/09/15/disableloopbackcheck-when-routing-through-a-load-balancer-powershell-sample-included/

Thursday, March 17, 2016

WSP gets stuck in "Deploying"


  • stsadm -o execadmsvcjobs on the server running Central Admin
  • Install-SPSolution has only the -Force, 
  • Check for Sharepoint 2013 Timer service






Add-SPSolution –LiteralPath "d:solution.wsp" 

install solution and we executed the following command:

Install-SPSolution -Identity "solution.wsp" -WebApplication http://peakfinders.com/  –GACDeployment

Monday, February 8, 2016

How to adding content type in Custom List programmatically gets null reference exception

In this article ,When user trying to add content type return s error,"null reference exception"

SPContentType test = web.AvailableContentTypes["Employee Details"];
newList.ContentTypesEnabled = true;
newList.Update();
newList.ContentTypes.Add(test);

Wednesday, January 20, 2016

What happens when I deactivate a publishing feature?

Question:

 I have a site where the publishing feature was turned on. There are no file under Pages All web pages are under Site Pages. I have files under documents and the image folders. If I deactivate the publishing feature will anything break.


Solution:


If you enable the SharePoint Server Publishing feature and attempt to restore a backed up site with this feature having been turned on once (even if you disable it before a backup), there will be issues with restoring that site