Solved

installutil.exe win32 error message

Posted on 2008-10-26
7
4,214 Views
Last Modified: 2013-11-08
C:\WINDOWS\system32>installutil "C:\Documents and Settings\CHINV006\My Documents
\Visual Studio 2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsSe
rvice2.exe "
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.3053
Copyright (c) Microsoft Corporation.  All rights reserved.


Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Documents and Settings\CHINV006\My D
ocuments\Visual Studio 2008\Projects\WindowsService2\WindowsService2\bin\Debug\W
indowsService2.exe assembly's progress.
The file is located at C:\Documents and Settings\CHINV006\My Documents\Visual St
udio 2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.Ins
tallLog.
Installing assembly 'C:\Documents and Settings\CHINV006\My Documents\Visual Stud
io 2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.exe'.

Affected parameters are:
   logtoconsole =
   assemblypath = C:\Documents and Settings\CHINV006\My Documents\Visual Studio
2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.exe
   logfile = C:\Documents and Settings\CHINV006\My Documents\Visual Studio 2008\
Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.InstallLog
Installing service Service1...
Creating EventLog source Service1 in log Application...

An exception occurred during the Install phase.
System.InvalidOperationException: Cannot open Service Control Manager on compute
r '.'. This operation might require other privileges.
The inner exception System.ComponentModel.Win32Exception was thrown with the fol
lowing error message: Access is denied.

The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Documents and Settings\CHINV006\My D
ocuments\Visual Studio 2008\Projects\WindowsService2\WindowsService2\bin\Debug\W
indowsService2.exe assembly's progress.
The file is located at C:\Documents and Settings\CHINV006\My Documents\Visual St
udio 2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.Ins
tallLog.
Rolling back assembly 'C:\Documents and Settings\CHINV006\My Documents\Visual St
udio 2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.exe
'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Documents and Settings\CHINV006\My Documents\Visual Studio
2008\Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.exe
   logfile = C:\Documents and Settings\CHINV006\My Documents\Visual Studio 2008\
Projects\WindowsService2\WindowsService2\bin\Debug\WindowsService2.InstallLog
Restoring event log to previous state for source Service1.

The Rollback phase completed successfully.

The transacted install has completed.
The installation failed, and the rollback has been performed



THIS IS THE ERROR MESSAGE AND I AMATTACHING THE LOG FILE TOO .
WindowsService2.InstallLog.TXT
0
Comment
Question by:Swetha_aJaX
7 Comments
 
LVL 12

Accepted Solution

by:
jazzIIIlove earned 500 total points
ID: 22808568
Hi there;

<<An exception occurred during the Install phase.
<<System.InvalidOperationException: Cannot open Service Control Manager on computer '.'. This <<operation might require other privileges.
<<The inner exception System.ComponentModel.Win32Exception was thrown with the following error <<message: Access is denied.

You have admin priv. on the machine? If not, have please...

Best regards...
0
 

Author Comment

by:Swetha_aJaX
ID: 22808586
I HAVE ADMIN RIGHTS ON MY SYSTEM
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22808686
Hi there again;

Do you have all of the dependencies for the service in the same folder so that they can be discovered. It sounds like you may be missing something...

.NET v3.5 doesn't have InstallUtil.exe...Looking at %windir%\Microsoft.NET\Framework\v3.5, it appears that most of the utilities are missing. this means that you should use v2.0 utilities from %windir%\Microsoft.NET\Framework\v2.0.50727?

.NET 3.0 and 3.5 are just an 'Add-On' to the 2.0-Runtime...

Best regards...
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:Swetha_aJaX
ID: 22808792
can you explain me in detail....
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22808885
0
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 22813586
can you please give details of your environment
OS you are trying to install
.net runtime etc etc
under what account you service is configured to run
0
 

Expert Comment

by:Rajeshbala
ID: 34005196
when u open the visual studio command prompt choose "Run as Administrator"
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now