Developer forum

Forum » Integration » DW Connector Service reports error in eventlog

DW Connector Service reports error in eventlog

Lars Larsen
Reply

Hi,

At a customer we have installed the Dynamicweb Connector Service to enable integration from Dynamicweb to NAV. But the Dynamicweb Connector Service keeps report errors in the eventlog. The error is this:

   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
   at System.Reflection.Assembly.LoadFile(String path)
   at DynamicwebServiceClass.AddInManager.GetAddInTypeByName(String typeName, String assemblyLocationFolder) in c:\Projects\eCommerce\Integrations\DynamicwebConnectorService\DynamicwebServiceClass\AddInManager.cs:line 25

Any idea of what is causing this error?


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Could it be that you have configured a connector in the service's config file for which you don't have the necessary addin DLL file? For a NAV setup, you should have a file called NavConnectorAddIn.dll in the same folder as DynamicwebConnectorService.exe. If the file is there, make sure it's not blocked (right-click it in Windows and choose Properties to check this)

Hope this helps,

Imar

 
Lars Larsen
Reply

Hi Imar

Thanks for your advice. I will check up on the dll and if it is blocked.

Checked and the file ”NavConnectorAddIn.dll” was in the folder and wasn't blocked. But the files "AXConnectorAddIn.dll" and "CrmConnectorAddIn.dll" were also in the folder and these files were blocked. Removing the blocking of these two files solved the problem smiley

 

You must be logged in to post in the forum