Skip to main content


 

Symptoms


After upgrading my environment from 4.6.8 to 4.6.9 this form began to throw errors.
All items have been checked in in K2 Designer and the workflow has been redeployed but the problem still persists.
Please advise on how to fix this asap.

This is the full error:

The request failed with HTTP status 404: Not Found.
Type:
SourceCode.SmartObjects.Client.SmartObjectException
Source:
SourceCode.SmartObjects.Client
Method Base
Member Type:
Method
Name:
GetSmartObjectReader
Module
Scope Name:
SourceCode.SmartObjects.Client.dll
Declaring Type
Full Name:
SourceCode.SmartObjects.Client.SmartObjectClientServer
Stack Trace:

at SourceCode.SmartObjects.Client.SmartObjectClientServer.GetSmartObjectReader(SmartObject smartObject, ExecuteListReaderOptions options, Dictionary`2and propertyReference)

at SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteListReader(SmartObject smartObject, ExecuteListReaderOptions options)

at SourceCode.Forms.AppFramework.FormsApiToXml.ToXmlList()

at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(XPathNavigator nav, Boolean outputDependencies, SmartObjectClientServer svr)

at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(String xml)

at SourceCode.Forms.Runtime.AJAXCall.ProcessRequest(HttpContext context)
 

Diagnoses


During the meeting, we were able to narrow your issue down to the problem that some of the SharePoint V2 and Content SmartObjects being called on the form are broken after the upgrade. We are not sure what caused it.
For the SharePoint Content SmartObjects, we suspect that it was caused by redeploying from Client that has not been upgraded to the same version (4.6.9).
 

Resolution

For the SharePoint Content SmartObjects, we upgraded your client to 4.6.9, and able to redeploy those SmartObjects and fixed them.

For the SharePoint V2 SmartObjects, you were getting errors while accessing K2 site settings.
“Could not load file or assembly ‘SourceCode.SharePoint.ApplicationPages,…’”, and were able to resolve the issue by manually add the DLLs in the ISAPI folder into the WFE that is missing them, and able to load the SmartObject page from K2 Site Settings.

You had to make sure that the assemblies are installed in GAC on both WFE servers. Retracted all the SharePoint solutions and redeployed them and that fixed the issue with missing assembly error.

With regards to the issue with smartforms will not load in IE 8, this is a limitation per the following KB, http://help.k2.com/en/KB001704.aspx. You were able to use the work around by providing link to the form on your SharePoint page.




 
Be the first to reply!

Reply