Posts tonen met het label Error. Alle posts tonen
Posts tonen met het label Error. Alle posts tonen

zondag 24 juni 2012

Refinements, "Show More" link stopped working

I recently discovered that the “Show More” link on the Search Refinement Panel web part 
had stopped working, seemingly out of the blue.  
With a bit of debugging I discovered that the functions defined in the onclick event:
onclick="SearchEnsureSOD();ToggleRefMoreLessFilters(this, true);"
were returning “Object Expected”.  
For some reason the functions were no longer defined.

I eventually figured out that the problem was that I had removed the Search Box web part 
from the page and replaced it with my own custom search box.  

Apparently the Search Box web part is required on the same page as the Refinement Panel web part,
as it injects JavaScript into the page that is used by the Refinement Panel.  

I fixed the problem by adding the Search Box web part back onto the page and hiding it.

 

woensdag 9 november 2011

Error while creating a new page in SP 2007.


Are you getting the below error while creating a new page in SP 2007 while using publishing 
or collaboration portal template?
List does not exist The page you selected contains a list that does not exist.

It may have been deleted by another user.

at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName,
                         Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, 
                         Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, 
                         Int32& plRecycleBinCount) 
at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, 
                         Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, 
                         UInt...


 

Resolution
Go to Site Settings
            - Modify All Site Settings 
            - Master pages and page layouts
            - Add the usergroup who may create sites to the list with Read Restricted Access rights