Hi.
We are getting "Attempted to read or write protected memory" error when we run our .NET project on Windows Server 2008 R2 and Windows 10.
It runs fine on Windows Server 2003 R2 and Windows 7.
The MBPScriptModel2.dll is the same as on the asset server - version 8.1.1.33256 from 13/6/2014.
It registers OK using \sysWOW64\regsvr32.
It runs OK when used in a VBScript file called from \sysWOW64\cscript.exe
In the .NET project the MBSession object is created, then the Logon call fails (without error) and the next call (e.g. GetAsset) gives "Attempted to read or write protected memory" .
Has anyone who uses the MBPScriptModel2.DLL in .NET projects ever deployed them to 64bit environments?
Thanks.