Install windows service

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.
 
S

Sijin Joseph

Make sure your user has the appropriate rights to install services. Windows
Server 2003 comes with very tight security.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top