Showing posts with label Sharepoint 2007. Show all posts
Showing posts with label Sharepoint 2007. Show all posts

Friday, May 22, 2009

Hey dude, where's my Sharepoint licence?

Due to a bug, the MOSS 2007 SP2 installer resets the product expiration date to 180 days, as if it was a trial installation.

Microsoft is already working on a hotfix. In the meantime, you can still install SP2 and then manually re-enter the Product ID number (PID) on the "Convert License Type" page in Central Administration. Product ID numbers (PIDs) can be retrieved by logging into the Volume Licensing Service Center.

All this was announced yesterday by the Sharepoint Team. You can read the full article here.

Friday, April 17, 2009

Sharepoint Error: Unable to complete this operation

We all know that Sharepoint moves in misterious ways, but well, I'm still a beliver. Today, one of our installations was throwing this error when trying to check-out a page:


"Unable to complete this operation. Please contact your administrator"

For debugging purposes, the message was less usefull than reading the coffee grounds. Hopefully, I searched for the error and the Google angel sent me this message.

"SQL Server has ran out of disk space".

First I thaugt it couldn't be my case, for the whole system would be failing, but then I found this message on the Sharepoint log:

Unexpected query execution failure, error code 9002. Additional error information from SQL Server is included below. "The log file for database 'XXXXXXX' is full. Back up the transaction log for the database to free up some log space."

And that was it. Mistery cleared. You can check what to do with a full transaction log here
http://msdn.microsoft.com/en-us/library/ms175495.aspx

Wednesday, April 9, 2008

Sharepoint easy e-mailing Alerts and Reminders

Even when Sharepoint 2007 (MOSS) has a lot of Document Management Capabilities, I've found it lacks of some basic features. One of those missing features, is alerts and reminders. You can define a document's expiration date, but no feature allows you to easily remind the author the date is near, nor aler the author's boss when time arrives.

The top-of-mind solution for such a problem is using workflow. You can dispach a new workflow instance for every doc, then wait until (ExpirationDate - x days) arrives, and then send a mail. But what if you want to add looped reminders after the first one, and then scale-up to the boss, etc. The workflow rapidly grows outside Sharepoint Designer scope and you fall into using WWF for an originally peanut sized feature.

Here at Infocorp, together with Andres Barreiro, we came across a simpler, (IMHO) better solution.

The use case would be like this:
1) On setup time, the policy manager builds the "Revision Plan", creating several recurrent appointments on a Sharepoint Calendar named "Revision Plan". As seen in the picture:
a. First appointment, tells the user to update the document
b. Following ones, remind the user daily
c. Last one, tells the user that the document is past due.
2) After that, authors work with the documents as usual. Based on the meta-data, documents appear on several tracking views, such as "Pending Reviews".
3) (Here's the trick) In background, a daily scheduled service loops trough the revision plan/document library and when needed, sends traditional, all-mail-version-client-compatible mails to authors:
a. Mail body is taken from the appointment's body
b. Mail to: field is filled with the document's author e-mail.

I believe this solution, sill being functionally equivalent to the others, has multiple advantages:
1) Management: All the reminders logic resides on sharepoint lists, very handy for business managers. Changing a reminders period, or editing the message are piece-of-cake tasks :-)
2) Deployment: The single non-sharepoint component is an "x-copy deployable" .exe file (the service) scheduled by Windows scheduler.
3) Extensible: The service's logic could be easily improved in future occasions, using custom columns on the Revision Plan Calendar as parameters. For instance:
a. If document is due without revision, and column "Block If Due" of revision plan is ON, then set "Status" field as "Deprecated" (which makes document disappear from views)
b. After 3rd reminder, if column "Notify User's Boss" is ON, then fetch user's boss name on Active Directory and send a second reminder.
4) K.I.S.S. Principle: The solution is much more simpler than the WWF approach.