Roland Oldengarm - Independent IT Contractor

Living in the coolest little capital Wellington, New Zealand!

Month: May 2011

Contentbyquerywebpart, displaying value of Associated Lookupfield: “Attempted to use an object that ceased to exist”

The case: The customer wants to create news pages and select a category out of a dropdown. Each category has an associated image which has to be shown in an overview. No code allowed. Thus, lookup list, contentbyquerywebpart, image library, should work like a charm… But, no…

Continue reading

SharePoint 2010 – Cannot retrieve the information for application credential key

using object-model, we create sitecollections. We have trusts towards another domain and therefore had to use “stsadm -o setapppassword -password {password}”  on the application server to complete the trust.

However, creating the sitecollection resulted in : Microsoft.SharePoint.SPException: Cannot retrieve the information for application credential key.     at Microsoft.SharePoint.Administration.SPCredentialManager.DecryptWithApplicationCredentialKey(Byte[] …)

What is the issue? “stsadm -o setapppassword -password {password}” should be run on each server!! That solved the problem.