Tuesday, August 18, 2009

Additions to this Web site have been blocked

This issue relates to SharePoint 2007

You trying to add, features, document libraries , lists, sites. The SharePoint system prevents you from accessing it. And you get the follwoing error:
Additions to this Web site have been blocked. Please contact the administrator to resolve this problem. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl)
Dont be silly. The error is because you have got site collection locks set on your site. Go to your central administration -> Application Management -> Site Collection Quotas and locks, and you'll probably find you have changed the setting to 'Adding Content Prevented'. (http:///_admin/sitequota.aspx). It should be set to 'Not locked

Sunday, August 9, 2009

Troubleshooting some of the issues associated with Shared Service Provider (SSP) in SharePoint

Shared Services Provider could be a very complex subject. Troubleshooting some of the errors associated with SSP can take 1 or hours to resolve. One of this is when you click on Search settings, Usage reports, Search Usage Reports links in SSP you get this error: Unknown Error to Troubleshoot issues with windows SharePoint Services. See below

SSP can be broken by number of things including failure to load some dlls, incremental crawl etc. This problem will normally affect your /ssp/admin/_layouts/searchsspsettings.aspx, /ssp/admin/_layouts/SpUsageConfig.aspx (Usage reports), /ssp/admin/_layouts/SpUsageSspSearchQueries.aspx (Search Usage Reports), etc
Still frustrated. The message above do not mean anything. To view detailed error message go to the SSP web application web Config like so.
1. Open on your IIS (start run inetmgr)
2. Look for your web application, right click -> click properties - >click home directory
3. Copy your directory, paste on run command to open it.
Find Web.config (Alternatively, you can find your web applications on c:\Inetpub\wwwroot\wss\VirtualDirectories, look for the port hosting your SSP. find you web cofig.)
4. Search for callStack
5. Change the line callStack=”false” to CallStack=”True”
6. Now search for customErrors (), change the customErrors tag to (customErrors mode="Off")
7. At this point when you browse to the SSP search settings, you will find detailed errors, see the figure below.

Well now that makes sense to me. What this says is that you have dlls missing. The question is which one? The next steps show you how to find these dlls. You will use a tool called Fusion Log Viewer "FUSLOGVW.EXE." You may find this tool in one of the following locations:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\FUSLOGVW.EXE dated 9/23/2005 and C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\FUSLOGVW.EXE dated 11/7/2007
Please note for some obvious reasons you might not have this tool in the production environment. Copy the tool from your dev environment and paste in production. Follow the following post to complete the exercise : http://colinborrowman.spaces.live.com/Blog/cns!5BE1E6D14CDF840F!264.entry?sa=198329881

Saturday, August 1, 2009

SP2 update

If you have recently downloaded and installed Service Pack 2 for MOSS 2007. The release that was available between April 28, 2009 and July 29, 2009 is buggy. A product expiration is activated incorrectly. Refer to http://support.microsoft.com/kb/971620. To check if you have the same symptoms after installation. Go Central administration -> operations, then under Upgrade and Migration click Convert License Type. on the Current License Type if you see the word Trial ("Office SharePoint Server Trial with Enterprise Client Access License ") , you need to install the latest update referred to in the KB article above.

Please note if you running SharePoint in a Multi-server Farm , you need to install the update in all your machines. And yes, you have to restart the servers.