Skip to main content

Hi,

 

We have issue on Run Forms "Manage Site Realms" from Designer > System > Management > Security > Form > Manage Site Realms

The error message with details as below shown:

 

Specified cast is not valid. 
 
  • 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`2& 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)

 

Wonder did anyone had come across this before? Any advise or resolution to fix it?

 

Thank you.

 

Best Regards,

Kalvin

Hi, Kalvin,

 

This is due to your URL's possibly being misconfigured.

 

I believe the following should help:

 

1. Check your uK2].2Identity].yClaimRealm] and nK2].2Identity].yClaimRealmIssuer] tables in SQL to see if there are realms that are not mapped to any user. If so, you need to write a script to insert those.

2. Check your web.config file for Runtime and Designer and see if they are pointing to the correct URL

 

Also, you can try running a reconfigure to sync the current misconfiguration automatically.

 

Kind Regards,

MA

 


Reply