You are viewing limited content. For full access, please sign in.

Question

Question

The object must have its connection set before it can be used.

asked on June 12

WF's not triggering. We recently upgraded our SQL server. All pointers are now pointing to the new DB. This WF server runs WF's from 2 different Imagebases. One is running fine. The other is not triggering based on the Rules set for the WF. Event Viewer has this error message. 

 

<InnerException>
    <ExceptionType>Laserfiche.RepositoryAccess.NoConnectionException, Laserfiche.RepositoryAccess, Version=11.0.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6</ExceptionType>
    <Message>The object must have its connection set before it can be used.</Message>
    <Source>Laserfiche.RepositoryAccess</Source>
    <HelpLink />
    <Property name="ErrorCode">0</Property>
    <Property name="UnlocalizedMessage">The object must have its connection set before it can be used.</Property>
    <Property name="Server">xxx-xxxxxx-xx.xxxxxxxx.local</Property>
    <Property name="TargetSite">Void .ctor(Laserfiche.RepositoryAccess.ISession)</Property>
    <Property name="HResult">-2146233088</Property>
    <StackTrace>   at Laserfiche.RepositoryAccess.Server..ctor(ISession session)
   at Laserfiche.Connection.Lfso.RepositoryAccess.Reflected.LFConnectionReflectedRA.get_ServerInformation()
   at Laserfiche.Connection.Lfso.LFConnection.get_CachedServerInformation()
   at Laserfiche.Workflow.Runtime.LaserficheManagementSystem.RefreshProfileLicense(LicenseSystem licenseSystem, DatabaseProfile profile, Exception&amp; licenseError)</StackTrace>
  </InnerException>

I cannot find anywhere where this Repository access is not set. 

Any help would be appreciated. 

0 0

Answer

SELECTED ANSWER
replied on June 15

Answer: Workflow Configuration Manager - Monitored Repositories. Remove all connections and re-connected. Restarted WF service. All Rules triggering worked. No error message in Event Viewer. 

0 0

Replies

replied on June 12

This is about the connection between the Subscriber and the repository. Has the Subscriber been restarted after updating the database for Workflow? Was the Laserfiche Server moved to another machine?

0 0
replied on June 15

Subscriber was restarted. The SQL DB was moved to another Server.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.