I have a dotnet variabe declared in a codeunit. This dotnet variabel must have "WithEvents=Yes", and can therefore not be "RunOnClient =Yes" (NAV Rule). The dotnet dll is calling a com dll and problem arises when running the codeunit: "Retrieving the COM class factory for component with CLSID ....80040154", meaning the COM dll is not registered. When running OnClient, it works and server and client is on same computer.
How should I register the COM dll so that it will be visible for the Service Tier in NAV 2013?
*This post is locked for comments