Friday, April 18, 2014

VC++ shows error VCEnd exited with code 2147024891

Starting from Windows Vista, including Vista, Win2008 Server, Windows7, build process cannot write to HKEY_CLASSES_ROOT (HKCR) hives unless the process is started as administrator. To be able to register in non-administrator mode, VS2008 and VS2010 offer the feature of "registrer per user". The registration information is written to HKEY_CURRENT_USER (HKCU).

You can set Linker -> General -> Per User ReDirections to "true" if Linker -> General -> Register Output is set to "true if you use the built registration step of the project system.

If you have your own custom registration step, you can use the per user registration command: regsvr32 /s /n /i:user "xxxx.dll".

If VS2010 is installed on Windows XP, you don't need to have the elevated privilege or per user registration to register your application since the security requirement is OS specific.

ATL Project in VS2010 RC - how should I run VS2010.

RefLink :-http://social.msdn.microsoft.com/Forums/vstudio/en-US/82ed3690-c622-4262-a965-33eb3870dcfc/registering-service-in-vsnet2010-build-event-gets-following-error-regservervcend-exited-with?forum=msbuild

No comments:

Post a Comment