Friday, December 21, 2012

O site não é válido. Falta a biblioteca de documentos 'Páginas'.

Problem:  When activating a Feature the following message is shown

"O site não é válido. Falta a biblioteca de documentos 'Páginas'."

Solution: Open PowerShell and write these lines


$web = get-spweb http://sitecollection/subsite
$NewID = $web.Lists["Páginas"].ID
$web.AllProperties["__PagesListId"] = $NewID.ToString()
$web.Update()

Wait 5 minutes and check again. Note: If you check seconds later, the message still shows up. So wait a little bit more.

Wednesday, December 5, 2012

stsadm -o execadmsvcjobs


When deploying a Solution, Feature or Form a message is shown
"Solution XPTO is not being executed because the administration service on this server is not started. This job definition can be run manually using 'stsadm -o execadmsvcjobs'"

Solution:
1- Go to Services.msc on your server
2- Start the service called "windows sharepoint services administration" or  "SharePoint 2010 Administration". Depends on what version you have 2007 or 2010
3- Now your jobs gets executed in time.