Month: July 2010

SSL certificate error when calling webservice in SharePoint

I have a secured SSL site which I wanted to query with SPD (REST webservice). SPD gave me the well known ‘the server returned a non specific error’ message. After some investigation, I found the following error in the ULS logs: An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=*.company.com, OU=PositiveSSL Wildcard,

Read more

Silverlight web part not grayed out behind SharePoint popup

If you create a Silverlight webpart and deploy it to SharePoint; it won’t gray out behind a default SharePoint popup. To fix this, you need to set the windowsless parameter to true (though this might affect performance a bit). To do this, edit the default SilverlightPluginGenerator.cs file and add the following line after line number

Read more

Support auto width in Silverlight web part

For some reason, the default implementation of the Silverlight webpart which comes with VS2010 doesn’t allow you to set the width to 100% (auto width). You’ll get an error saying “UnitType Percentage is not supported”. That’s kind of weird, since the only thing it really does is set the width for the surrounding object container

Read more

Constructing dynamic CAML queries: the easy way

For a project I’m working on, I needed a way to roll-up data across multiple sites. There aren’t much ways of doing that, but one good way is using the SPSiteDataQuery object. This object, which can be used with the object model (not the client ones unfortunately), can be used to fire queries to SharePoint

Read more

DataSheet view in SharePoint 2010 with Office 64-bit

My notebook runs 64-bit Windows 7. That’s cool, because you can develop SharePoint 2010 stuff on it without the need to run a virtual machine (which eats up extra memory slowing the whole thing down again). But I had some troubles with SharePoint 2010 and Office 2010 64-bit. The datasheet view, which you can use

Read more