Install windows service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a application to deliver now, and I am stuck.

I developed a windows service, and I use intallutil to install. It works
fine in development machine, when I copy the file to a windows 2003 server,
i got the following error, what is causing this? Thanks for help in advance.

Installing assembly 'c:\ewsconnector\ewsconnector.exe'.
Affected parameters are:
assemblypath = c:\ewsconnector\ewsconnector.exe
logfile = c:\ewsconnector\ewsconnector.InstallLog
An exception occurred while trying to find the installers in the
c:\ewsconnector\ewsconnector.exe assembly.
System.Reflection.ReflectionTypeLoadException: One or more of the types in
the assembly unable to load.
Aborting installation for c:\ewsconnector\ewsconnector.exe.
Rolling back assembly 'c:\ewsconnector\ewsconnector.exe'.
Affected parameters are:
assemblypath = c:\ewsconnector\ewsconnector.exe
logfile = c:\ewsconnector\ewsconnector.InstallLog
An exception occurred while trying to find the installers in the
c:\ewsconnector\ewsconnector.exe assembly.
System.Reflection.ReflectionTypeLoadException: One or more of the types in
the assembly unable to load.
Aborting installation for c:\ewsconnector\ewsconnector.exe.
 
Make sure your user has the appropriate rights to install services. Windows
Server 2003 comes with very tight security.
 
Back
Top