Wednesday, September 15, 2010

SharePoint 2010: Calendar bug when browser maximised

I've noticed that when you maximise the browser while viewing a SharePoint 2010 Calendar in the Monthly view. Items are not being resized correctly.

The correct functionality occurs when you resize the browser.

I've had a quick poke around SharePoint's javascript files. My best guess at this stage is the event to resize items is being called before the items are on the page.

I hope to get more time to investigate this and provide a solution in the next couple of days.

I tested this in IE 8.0.6001.18702 and Firefox 3.6.9.

Infopath 2007: Adding contact selector gives CoCreateInstance failed.

I've tried to add the contact selector to my dev environment. I followed the steps here:

http://blogs.msdn.com/b/infopath/archive/2007/02/28/using-the-contact-selector-control.aspx

But at step 4 I get:

CoCreateInstance failed to create the control.
- The control may not be properly installed or registered.
- The control may have missing dependencies.
- Only controls implemented as InProc servers (.DLL or .OCX) are supported.

Solution:
I ran an "Office Diagnostics..." and it fixed the issue.

In Infopath 2007: Help > Office Diagnostics...

At least I think this is the fix. I have been tinkering with my system in attempts to fix this. If it works for you please comment here to confirm.

I think there might have been a new version of the ContactSelector.dll control installed somehow and Infopath 2007 didn't like it.