web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error in Microsoft.Dynamics.Workflow - owstimer.exe.config

(0) ShareShare
ReportReport
Posted on by 215

Hi, We are seeing the following error in the event viewer:

"could not load file or assembly 'microsoft.dynamics.enterpriselibrary.caching, culture=neutral, publickeytoken=31bf3856ad364e35' or one of its dependencies. the system cannot find the file specified"

We use Sharepoint Server 2010, Microsoft Dynamics GP2010+SP3 on Windows Server 2008 R2 and SQL Server 2008 R2, Workflow for Microsoft Dynamics GP2010, Web Services and e-Connect.

This is the complete error messaje:

The description for Event ID 0 from source Microsoft.Dynamics.Workflow cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Action:
RaiseEvent

Current User LogOnName:
CRB\UserName

Input parameters:
<RequestObjects>
<WorkflowEvent>WorkflowError</WorkflowEvent>
<WorkflowErrorEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DynamicsActivationArgs>
    <DynamicsWorkflowId>d7c4ea8b-e20d-4d0f-a652-de126154f333</DynamicsWorkflowId>
    <BusinessObjectType>Payables Batch</BusinessObjectType>
    <SPWorkflowAssociationId>90b64a15-e356-4330-9bcf-f0a2f6f4c263</SPWorkflowAssociationId>
    <BusinessObjectSubmissionInformation>
      <WorkflowName>Dynamics GP Payables Batch Approval Workflow</WorkflowName>
      <OriginalDueDays xsi:nil="true" />
      <DueDays xsi:nil="true" />
      <Comment />
      <BusinessObjectKey>
        <KeyParts>
          <KeyPart xsi:type="KeyPartOfString">
            <Name>BACHNUMB</Name>
            <PartValue>OAY29122012-02</PartValue>
          </KeyPart>
          <KeyPart xsi:type="KeyPartOfString">
            <Name>BCHSOURC</Name>
            <PartValue>PM_Payment</PartValue>
          </KeyPart>
          <KeyPart xsi:type="KeyPartOfDateTime">
            <Name>CREATEDDATE</Name>
            <PartValue>2012-12-29T13:33:40</PartValue>
          </KeyPart>
        </KeyParts>
      </BusinessObjectKey>
    </BusinessObjectSubmissionInformation>
    <User>CRB\UserName</User>
  </DynamicsActivationArgs>
  <DynamicsWorkflowKey>
    <Id>d7c4ea8b-e20d-4d0f-a652-de126154f333</Id>
  </DynamicsWorkflowKey>
  <WorkflowInstanceId>26cf2b35-1d56-4536-8b5d-ab0068143b9a</WorkflowInstanceId>
  <ExceptionMessages>
    <string>an error occurred creating the configuration section handler for cachingconfiguration: could not load file or assembly 'microsoft.dynamics.enterpriselibrary.caching, culture=neutral, publickeytoken=31bf3856ad364e35' or one of its dependencies. the system cannot find the file specified. (c:\program files\common files\microsoft shared\web server extensions\14\bin\owstimer.exe.config line 2)</string>
    <string>could not load file or assembly 'microsoft.dynamics.enterpriselibrary.caching, culture=neutral, publickeytoken=31bf3856ad364e35' or one of its dependencies. the system cannot find the file specified.</string>
  </ExceptionMessages>
</WorkflowErrorEventArgs></RequestObjects>

Exception type:
System.Configuration.ConfigurationErrorsException

Exception message:
An error occurred creating the configuration section handler for cachingConfiguration: Could not load file or assembly 'Microsoft.Dynamics.EnterpriseLibrary.Caching, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\OWSTIMER.EXE.Config line 2)

Stack Trace:
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at Microsoft.Dynamics.EnterpriseLibrary.Common.Configuration.SystemConfigurationSourceImplementation.GetSection(String sectionName)
   at Microsoft.Dynamics.EnterpriseLibrary.Caching.CachingConfigurationView.GetCacheManagerData(String cacheManagerName)
   at Microsoft.Dynamics.EnterpriseLibrary.Caching.CacheManagerCustomFactory.CreateObject(IBuilderContext context, String name, IConfigurationSource configurationSource, ConfigurationReflectionCache reflectionCache)
   at Microsoft.Dynamics.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
   at Microsoft.Dynamics.EnterpriseLibrary.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
   at Microsoft.Dynamics.EnterpriseLibrary.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
   at Microsoft.Dynamics.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfigurationNameMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
   at Microsoft.Dynamics.EnterpriseLibrary.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
   at Microsoft.Dynamics.EnterpriseLibrary.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
   at Microsoft.Dynamics.EnterpriseLibrary.ObjectBuilder.BuilderBase`1.BuildUp[TTypeToBuild](IReadWriteLocator locator, String idToBuild, Object existing, PolicyList[] transientPolicies)
   at Microsoft.Dynamics.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, String id, IConfigurationSource configurationSource)
   at Microsoft.Dynamics.EnterpriseLibrary.Common.Configuration.ObjectBuilder.LocatorNameTypeFactoryBase`1.Create(String name)
   at Microsoft.Dynamics.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager(String cacheManagerName)
   at Microsoft.Dynamics.Workflow.SPFieldCache.<get_CacheManager>b__0()
   at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
   at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   at Microsoft.Dynamics.Workflow.SPFieldCache.get_CacheManager()
   at Microsoft.Dynamics.Workflow.SPFieldCache.GetField(String columnName)
   at Microsoft.Dynamics.Workflow.DynamicsDataStoreManager`2.GetSPField(SPWeb web, String columnName)
   at Microsoft.Dynamics.Workflow.DynamicsDataStoreManager`2.<>c__DisplayClassc.<AddDataStorePropertyToCache>b__b()
   at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
   at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   at Microsoft.Dynamics.Workflow.DynamicsDataStoreManager`2.AddDataStorePropertyToCache(List`1 properties, PropertyInfo member)
   at Microsoft.Dynamics.Workflow.DynamicsDataStoreManager`2.get_ListProperties()
   at Microsoft.Dynamics.Workflow.DynamicsDataStoreManager`2.RetrieveFromDataStore(K key)
   at Microsoft.Dynamics.Workflow.DynamicsDataStoreManager`2.FindByKey(K key)
   at Microsoft.Dynamics.Workflow.DynamicsWorkflowKey.GetDynamicsWorkflow()
   at Microsoft.Dynamics.Workflow.WorkflowEventManager.RaiseEvent(Object source, WorkflowEvent eventType, WorkflowEventArgs args)
Exception type:
System.IO.FileNotFoundException

Exception message:
Could not load file or assembly 'Microsoft.Dynamics.EnterpriseLibrary.Caching, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Stack Trace:
   at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)


the message resource is present but the message is not found in the string/message table

If you have any ideas to resolve this error. Thanks

 

*This post is locked for comments

I have the same question (0)
  • Jonathan Fear Profile Picture
    Microsoft Employee on at

    Hello,

    Have you stopped and restarted the Microsoft Dynamics GP Service Host service? Can you access the policy node in the Dynamics Security Console? Are there any errors in the Exception Console?

  • Community Member Profile Picture
    on at

    I'm having the exact error.   I have restarted Microsoft Dynamics GP Service Host service. I can access the policy node, and yes there are error in the Exception Console.  

    This is a fresh install of GP workflow, assisted by tech support, and it has never worked.  What is the next step to resolving this error.

    Thanks,

  • Jonathan Fear Profile Picture
    Microsoft Employee on at

    Thanks for the update Bonnie. I would recommend you open a support case to assist with this if restarting the services does not resolve the issue.

  • Tanya Henderson Profile Picture
    on at

    Did this ever get resolved and any idea of the answer I am having the same issue with an existing installation that used to work and just stopped working for some reason.

  • Community Member Profile Picture
    on at

    Did this ever get resolved and any idea of the answer I am having the same issue with an existing installation that used to work and just stopped working for some reason

  • Tanya Henderson Profile Picture
    on at

    No I never got a response and we still have the same issue off and on.

  • soma Profile Picture
    24,410 on at

    Have you tried to re-installed the web service?

    Hope this helps!!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

#2
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans