I have created a DLL with the help of Visual Studio and added it’s reference to AOT. But I am able to use the DLL only on the server, and whenever I try to use it from any other client machine I get an error as “Object CLR object could not be created”. I’m working on Ax 2012.
Can you get any more details from Event Log ?
On Behalf of Abhinay :
There are two Error can be found in the Event Log
1 .Net Runtime Error :
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Where CRMconnector is a Reference Added in the AOT
- Application Error :
Faulting application name: Ax32.exe, version: 6.0.947.280, time stamp: 0x4ec3003a
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0x1c40
Faulting application start time: 0x01ce1b0743382b33
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: e818f4ad-86fa-11e2-921f-402cf486825e
Their is also a warning message Which says :
The description for Event ID 110 from source Dynamics .NET Business Connector 6.0 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.