.net - Windows Service Error: Installog access is Denied -


I get an error when installing my Windows service through a command prompt

path Access 'C: \ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ InstallUtil.In StallLog' is prohibited.

I am using the following command:

  C: \ Windows \ Microsoft.NET \ Framework \ v2.0.50727> installutil.exe "C : \ Hive-WindowsService \ HiveBatchProcess \ HiveBatchProcess \ bin \ Debug \ HiveBatchProcess.exe "-i   

What could be wrong?

Do you have administrator rights? Try running the service prompt by launching the command prompt as an administrator.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -