I'm using Win 7 and MS Visual C# Express. When I try to run my Solution, I get a security error from the routine trying to write something in the event log. Did I forget to setup something. Works fine in Win XP.
I'm using Win 7 and MS Visual C# Express. When I try to run my Solution, I get a security error from the routine trying to write something in the event log. Did I forget to setup something. Works fine in Win XP.
Last edited by Deveon; 01-02-2010 at 11:15 PM.
You have an .lib file or an .obj file that exposes C interfaces that was built by using Microsoft Visual C#. You add this file to a project as a link dependency. Try this patch for Windows 7 SDK. Best of luck.
https://connect.microsoft.com/Visual...wnloadID=18623
There are no problems with your MS Visual C# Express, since you had it working fine in Windows XP. So, this is totally an incompatibility issue. First, try to run it using the "Run as Administrator" option. This option forces any particular application or program to run. If this does not work, use the troubleshoot compatibility option which sets the system in the compatibility mode when the application or program runs. The last option is to use the compatibility tool that you will have to download from the internet. This will surely solve the problem of the incompatibility in the system.
Try to perform a clean boot. This may help you in making the things to work fine for you then.
* Click on the start button.
* Type msconfig in the searchbox and hit enter.
* Under the selective startup tab choose Hide all Microsoft services.
* Disable the services.
* Restart the system.
Now try to execute the same. It may work out.
Bookmarks