Skip to main content

Good afternoon all -


Here is my situation : Whenever I try to run that command from our MOSS site, it completes, but doesn't add a service definition to the workspace.  Here is the IIS log entries.  As you can see, K2SPSites.asmx works fine, I authorize the second time.  Now with the K2SPLists.asmx things are a little different, I get a 401, and then a 500??


2008-10-28 14:42:04 W3SVC526379222 10.69.20.144 POST /TriWestForms/_vti_bin/K2SPSites.asmx - 80 - 10.69.113.45 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.1433) 401 2 2148074254
2008-10-28 14:42:09 W3SVC526379222 10.69.20.144 POST /TriWestForms/_vti_bin/K2SPSites.asmx - 80 TRIWESTckilyk 10.69.113.45 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.1433) 200 0 0
2008-10-28 14:42:31 W3SVC526379222 10.69.20.144 POST /TriWestForms/_vti_bin/K2SPLists.asmx - 80 - 10.69.113.45 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.1433) 401 2 2148074254
2008-10-28 14:42:32 W3SVC526379222 10.69.20.144 POST /TriWestForms/_vti_bin/K2SPLists.asmx - 80 TRIWESTckilyk 10.69.113.45 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.1433) 500 0 0


Here is what the BP server logs when that feature is ran:


"6915725","2008-10-28 02:53:52","Debug","System","1035","InternalSessionMarshal","SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal","1035 Session Marshal 0C8F76892D3DBCF6F31D893191272386.SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.GetServiceInstanceSchemaDoc","system","10.69.20.137","hqvswsbpdev1:d:program filesk2 blackpearlHost ServerBin","6915725","8642cc0eaa234101a9d575cf59d5b1cc",""
"6915726","2008-10-28 02:53:52","Info","SmartObjects","10530","ExecuteMethod","SourceCode.SmartObjects.Runtime.SmartObjectManagementServer eGetServiceInstanceSchemaDoc( d:program filesk2 blackpearlServiceBrokerSourceCode.SmartObjects.Services.SharePoint.dll , string CompletedConfig)]","10530 Executing Method: 'GetServiceInstanceSchemaDoc( d:program filesk2 blackpearlServiceBrokerSourceCode.SmartObjects.Services.SharePoint.dll , string CompletedConfig)' ...","anonymous","0.0.0.0","hqvswsbpdev1:d:program filesk2 blackpearlHost ServerBin","6915726","60fb56b3b553408da463746234663198",""
"6915727","2008-10-28 02:53:52","Error","SmartObjects","10521","GeneralError","SourceCode.SmartObjects.Runtime.SmartObjectManagementServer eGetServiceInstanceSchemaDoc( d:program filesk2 blackpearlServiceBrokerSourceCode.SmartObjects.Services.SharePoint.dll , string CompletedConfig)]","10521 SmartObject Runtime.Management General Error: 'The request failed with HTTP status 401: Unauthorized.'","anonymous","0.0.0.0","hqvswsbpdev1:d:program filesk2 blackpearlHost ServerBin","6915727","6bc2c8da4277404f939ac80e8d9b5551",""
"6915728","2008-10-28 02:53:52","Error","SmartObjects","10521","GeneralError","SourceCode.SmartObjects.Runtime.SmartObjectManagementServer eGetServiceInstanceSchemaDoc( d:program filesk2 blackpearlServiceBrokerSourceCode.SmartObjects.Services.SharePoint.dll , string CompletedConfig)]","10521 SmartObject Runtime.Management General Error: 'The request failed with HTTP status 401: Unauthorized.


It is highly unlikely that it is a Kerberos issue as everything else works fine.  Anyone have any ideas on what might cause this strange oddity?  I have opened a service ticket, however the tech wasn't too helpful and recommended we create a new service account for K2, but that won't fly at the client site. 


Thanks!

I have seen this behavior before and it was caused by Kerberos.  However, there is 2nd way to update/add the service instance while you are looking into that.



  1. Go to the K2 Workspace management console
  2. Drill down into the SmartObjects node of the tree view
  3. Got to Services | SharePoint Service
  4. If your site isn't listed, click Add
  5. Follow the wizard to add to enter the URL to your site

This should have the same result as updating it from the menu in MOSS.  I'm of no help when it comes to Kerberos and your problem could be different.


David


What I don't understand though is why do I auth fine with the K2SPSites web service, but the K2SPLists web service takes a dump on me.  What would make it lose my credentials?

I figured out the issue, just updating this thread in the event anyone comes across it in the future.


If a user that was active on a SharePoint site created some artifacts (lists, doc libs, etc), and then that persons account is deleted from AD you will see this error.


2 resolutions, save the List template with the content, delete the list (and empty the recycle bin) and then recreate the list/doc lib with a current valid user account.


PM me if you need more details.


The same just happened to me, and in this case was that the K2 Service Account didn't have permissions to create object in the SmartBox Administration during the upgrade. I hope this helps.

 


Reply