Can't install windows service
I've written a windows service, but when I installed it there was a system.security.securityexception. I think it is because I imported a function from user32.dll, but I don't know. Can anyone help me?
Edit:
Installlog:
Sorry for the language.开发者_StackOverflow
Während der Installationsphase ist eine Ausnahme aufgetreten. System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
If it's Windows 7 or Vista you must run the command line as admin, otherwise it won't "catch".
To do that, click the Windows button or start "Orb", type "cmd" then instead of hitting the Enter key, hit CTRL+SHIFT+Enter key and confirm the dialog.
精彩评论