install utill is not a valid win 32 application ::access denied

Hi ,
I created a windows service in and installed using command prompt yesterday using  installutill followed by the path of my application exe ,
but when i modified the service and trying use installutil i am getting this error message
installutil is not a valid win32 application
and coming an acess denied mesg in command prompt

error.bmp
Swetha_aJaXAsked:
Who is Participating?
 
elimesikaConnect With a Mentor Commented:
HI

You have to use MS command prompt

or

just run this

%comspec% /k ""c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86_amd64
0
 
Anurag ThakurTechnical ManagerCommented:
is your framework path included
C:\Windows\Microsoft.NET\Framework\v2.0.50727

better create a bat file to do the install and add the following to it
@SET FrameworkDir=%SystemRoot%\Microsoft.NET\Framework
@SET FrameworkVersion=v2.0.50727
@set PATH=%FrameworkDir%\%FrameworkVersion%;%PATH%;
installutil bin/"Your Service Name.exe" /ShowCallStack
0
 
Swetha_aJaXAuthor Commented:
thanks very much what is this exactly happening this
0
 
Swetha_aJaXAuthor Commented:
still having the problem....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.