Hi all,
Appologies if this question relates more to a .NET/Windows issue rather than LabView 8.
I have created a class library assembly in VB.NET with numerous functions. One function is to write to the windows event log (Control Panel, Administrative Tools, Event Log).
The assembly is called up from a LabView 8 vi, and the functions work fine at design time (i.e. they are all visible and callable). However, once the project is compiled and deployed as an exe, I get an SystemDiagnostics.EventLogPermission. I've had a look on Google, an I believe it be permissions with the assembly itself. Some of the solutions include:
- Increasing trust of the assembly on the local machine by going to Control Panel, Administrative Tools, Microsoft .NET Framework 1.1 Configuration, Configure Code Access Security Policy.
- Caspol.exe
Any ideas?
Thanks,
Ynyr