Mabilisang pag-aayos: Mga Serbisyo sa Web na Makipag-ugnay sa SharePoint, InvalidOperationException

Ang isang milyong taon na ang nakalipas, I helped developed a web service that was invoked via a custom action for a SharePoint Designer workflow. Sa linggong ito, client ang Nais upang ilipat ito sa produksyon (sa wakas!) kaya ginawa namin.

Ang custom action na nagtrabaho fine, ngunit ang mga serbisyo sa web mahihingi ito ay hindi, pagbigay sa amin ang error na ito:

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, ito ay nagtrabaho 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

</dulo>

Mag-subscribe sa aking blog.

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

Technorati Tags:

-Iwan ng sagot

Ang iyong email address ay hindi nai-publish. Mga kinakailangang patlang ay minarkahan *