Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

EntryPoint NotFound Exception when trying to execute Silk4NET Test in debug mode

EntryPoint NotFound Exception when trying to execute Silk4NET Test in debug mode

When running a Silk4NET test in debug mode within Visual Studio 2010, you may encounter the following exception:

System.EntryPointNotFoundException crossed a native/managed boundary
  Message=Unable to find an entry point named 'EventSetInformation' in DLL 'advapi32.dll'.
       at Microsoft.Win32.UnsafeNativeMethods.ManifestEtw.EventSetInformation(Int64 registrationHandle, EVENT_INFO_CLASS informationClass, Void* eventInformation, Int32 informationLength)
       at System.Diagnostics.Tracing.EventProvider.SetInformation(EVENT_INFO_CLASS eventInfoClass, Void* data, Int32 dataSize)

The exception indicates an issue with the Visual Studio 2010 configuration and environment. 

To resolve the issue you will need to do the following:

Click on the 'Debug' menu and select 'Options'. Ensure that the following option is unchecked:

With this option unchecked, you should no longer receive this exception when running in debug mode.


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2017-04-19 11:13
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.