Monthly Archives: October 2008

Quick Fix: Web Services that Interact with SharePoint, InvalidOperationException

A million years ago, I helped developed a web service that was invoked via a custom action for a SharePoint Designer workflow.  This week, the client wanted to move it to production (finally!) so we did.

The custom action worked fine, but the web service it invoked did not, giving us this error:

System.InvalidOperationException: This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products and Technologies Configuration Wizard, located on the Start menu in Administrative Tools.
   at Microsoft.SharePoint.Administration.SPWebApplication.Lookup(Uri requestUri)

Turns out that I forgot to add the service to the SharePoint application pool in IIS.  Once I did that, it worked fine.

This MSDN forum posting gave me the clue I needed: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/2c97c004-7118-4e06-a62c-b2b0ac07ac99

</end>

 Subscribe to my blog.

Follow me on twitter: http://twitter.com/pagalvin

Technorati Tags:

Using Delicious.com to Track SharePoint “v.next” Information

As I find resources on the web discussing features available in the next version of SharePoint, I’ll be adding them to my delicious bookmarks.  It appears that Delicious allows people to subscribe to a particular tag, so if you’re interested in what I find, when I find it, subscribe here: http://feeds.delicious.com/v2/rss/pagalvin/SharePoint_O14?count=15

</end>

 Subscribe to my blog.

Technorati Tags:

Congratulations, Natalya!

I just received word that my friend and colleague, Natalya Voskresenskaya was awarded MVP for SharePoint today.  I’ve been working with Natalya for almost 18 months now and it’s a well-deserved recognition.  Like all the MVPs I know, she’s strongly motivated by the community and her work with ISPA, among other things, is helping to make the SharePoint community one of the strongest and most helpful of any technically oriented effort on the planet.

Congrats!

</end>