Solved

installutil.exe win32 error message

Posted on 2008-10-26
7
4,186 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

19 Experts available now in Live!

Get 1:1 Help Now