My Books recommendations

Wednesday, May 28, 2008

Access is denied. Check that the Default Content Access Account has access to this

After upgrade from SharePoint [SPS] 2003 to SharePoint 2007 [MOSS 2007] the search doesn't work and gives this error:

"Access is denied. Check that the Default Content Access Account has access to this
content, or add a crawl rule to crawl this content. (This item was deleted because
it was either not found or the crawler was denied access to it.)"

We decided that default content access account have had access to SharePoint sites, but when index service crawled these sites in IIS log appended 401 error for this account.
Steps of solution:
• Login on SharePoint Server as default content access account
• Turn off automatic proxy server detection in IE settings
• Provide valid proxy server’s address and port number
• Check “Bypass proxy server for local addresses”
• Start full indexing again

FileMaxSize property

How to increase FileMaxSize property of a Content Deployment Job?

There is no easy or out of the box way of updating this property, one way though is to do it using custom code using SDK. Here is a quick code snippet which does that.

ContentDeploymentConfiguration config = ContentDeploymentConfiguration.GetInstance();
config.FileMaxSize = 30;

Once changed this should affect all content deployment jobs.

Tuesday, May 27, 2008

Thursday, May 15, 2008

Event ID 6482 in Office SharePoint Server log files

You get the Event ID 6482 in your logfiles, the error is related to Office SharePoint Server. The fix for this error is included in Service pack 1 for Windows SharePoint Services 3.0 SP 1. The KB article for this is KB 936988.

Download Service pack 1 for WSS 3.0

Tuesday, May 13, 2008

Site Collection output cache error

One of our client today faced this issue where they were unable to access portal -> site actions -> Site Settings -> Modify all site settings -> Site Collection output cache settings in their site collection.

The solution is to de-activate and re-activate the publishing feature of the site collection. I have tested on the staging server and it seemed to work.

1. Click Site Actions--Modify Site Settings, click Site Collection Features
2. Click Deactivate for "Office SharePoint Server Publishing Infrastructure", click Deactivate this feature on the next page
3. Click Activate for "Office SharePoint Server Publishing Infrastructure".

The probable cause may be, Since the "cache profiles" list is generated by the system when the publishing site is provisioned, it is possible there are some problems during the site provisioning
and it causes the error.

Microsoft has released the User Guide, Samples and Walkthroughs for the Visual Studio 2005 extensions for Windows SharePoint Services 3.0, v1.1

Microsoft has released the User Guide, Samples and Walkthroughs for the Visual Studio 2005 extensions for Windows SharePoint Services 3.0, v1.1. The extensions that this user guide relates to was released on Feb 11th 2008 and a version for Visual Studio 2008 is planned to release in June 2008.

The user guide is downloadable here and represents approx 200 pages of documentation applicable to both the current and applicable to the forthcoming Visual Studio 2008 extensions for Windows SharePoint Services.

This user guide is a part of a dedicated campaign that lots of people are working on to drive more professional developers to work on SharePoint, to fill the gap in this audience required for SharePoint deployments and to improve the satisfaction of those developers. These are some of the other activities going on presently, many of which are launching at TechEd Developers 2008:

· New Introductory SharePoint Developer landing page for .NET Developers with free introductory online training
· Print Datasheet of Positioning and Value Prop of SharePoint Development for .NET Developers
· Advertising of the new SharePoint Developer landing page on and at TechEd Developers USA
· Web casting and an in-person Firestarter event for the new training material
· A major new introductory SharePoint developer article in the MSDN Library aimed at .NET developers
· More improvements coming on the Visual Studio extensions for SharePoint for SharePoint “12”. The next is a release that works with Visual Studio 2008 coming in June 2008
· The Silverlight Blueprint for SharePoint published in Feb 2008
· Third party paid additions to the WSS and MOSS SDK in collaboration with Office UA – 100 new API SDK pages completed so far
· Dedicated support for the SharePoint Developer and Programming MSDN Forum which has increased the answer rate from 17% to 58%
· Translation of the VSeWSS user guide to Japanese
· SPDisposeCheck – A tool to aid SharePoint Developers in following best practices for use and disposing of SharePoint objects

Hope MS will keep up the good work of promoting SharePoint and making the lives of hundreds of thousands of developers easy.