473,657 Members | 2,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Install windows service

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:\ewsconnecto r\ewsconnector. exe'.
Affected parameters are:
assemblypath = c:\ewsconnector \ewsconnector.e xe
logfile = c:\ewsconnector \ewsconnector.I nstallLog
An exception occurred while trying to find the installers in the
c:\ewsconnector \ewsconnector.e xe assembly.
System.Reflecti on.ReflectionTy peLoadException : One or more of the types in
the assembly unable to load.
Aborting installation for c:\ewsconnector \ewsconnector.e xe.
Rolling back assembly 'c:\ewsconnecto r\ewsconnector. exe'.
Affected parameters are:
assemblypath = c:\ewsconnector \ewsconnector.e xe
logfile = c:\ewsconnector \ewsconnector.I nstallLog
An exception occurred while trying to find the installers in the
c:\ewsconnector \ewsconnector.e xe assembly.
System.Reflecti on.ReflectionTy peLoadException : One or more of the types in
the assembly unable to load.
Aborting installation for c:\ewsconnector \ewsconnector.e xe.

Jul 21 '05 #1
1 5100
Make sure your user has the appropriate rights to install services. Windows
Server 2003 comes with very tight security.

--
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
"csheng" <cs****@discuss ions.microsoft. com> wrote in message
news:93******** *************** ***********@mic rosoft.com...
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:\ewsconnecto r\ewsconnector. exe'.
Affected parameters are:
assemblypath = c:\ewsconnector \ewsconnector.e xe
logfile = c:\ewsconnector \ewsconnector.I nstallLog
An exception occurred while trying to find the installers in the
c:\ewsconnector \ewsconnector.e xe assembly.
System.Reflecti on.ReflectionTy peLoadException : One or more of the types in
the assembly unable to load.
Aborting installation for c:\ewsconnector \ewsconnector.e xe.
Rolling back assembly 'c:\ewsconnecto r\ewsconnector. exe'.
Affected parameters are:
assemblypath = c:\ewsconnector \ewsconnector.e xe
logfile = c:\ewsconnector \ewsconnector.I nstallLog
An exception occurred while trying to find the installers in the
c:\ewsconnector \ewsconnector.e xe assembly.
System.Reflecti on.ReflectionTy peLoadException : One or more of the types in
the assembly unable to load.
Aborting installation for c:\ewsconnector \ewsconnector.e xe.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3274
by: raghavendra | last post by:
Hi, How to run automatically windows service by using setup deployment insatllation script using visual studio 2003.? What i did is :-- 1. created a windows service & tested the same. 2. then i used the windowsservice.exe in setup deployment project.
0
2758
by: Stuart Whelan | last post by:
I am writing a service in C# with an internal service installer. I am running XP Pro SP with VS7.1 and .NET 1.1 It installed okay the first time, but during uninstall the app crashed. Now I am unable to install again: Running a transacted installation. Beginning the Install phase of the installation.
3
56972
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I want to test this service on a Windows Server 2003 box that doesn't have the Visual Studio Command prompt. How do I go about installing the service on the Windows Server 2003 box? Thanks!
2
7980
by: Fan Wang | last post by:
Hi All, I wrote a windows service with C# as below. But I can't install it with installutil.exe. I got an error message " Exception occurred while initializing the installation: System.IO.FileNotFoundException: File or assembly name windowsservice1, or one of its dependencies, was not found.. " I am new to C# environment. Any idea any clue will be appreciated. Thanks using System;
3
4033
by: Chad Smith | last post by:
Hi, I have created a .NET deployment project in Visual Studio 2003. I have specified an entry point into my own code in this installer which launches into the familiar: public override void Install(IDictionary savedState) { Application.Run(new MyForm()); base.Install(savedState);
4
3175
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
3
3071
by: JM | last post by:
Hi, I have created a Solution in VS 2005 with 2 simple projects. First project is simple Windows Service which writes an entry into event log when it starts and when it stops. Nothing else. I have added a projectinstaller also for that. I have used following settings for it (developed in VS 2005 only): 1. For Service1.cs file, I have kept the default values. i.e. Name of
5
7708
by: Ajith Menon | last post by:
I have to install .NET framework 3.0. I already have .NET Framework 1.1 installed on my machine. I don't want to remove framework 1.1 since some of the critical applications are using it. While installing .NET framework 3.0 I got the error: "Microsoft .NET Framework 3.0 x86 has encountered a problem during setup. Setup did not complete correctly." Error Signature:
2
13320
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
I know this has been answered, I just can't find it. can someone point me to a URL or thread that shows how to install a web service in a Windows Setup Project ? I need to install a windows app, but it must install a web service in IIS too.
0
2125
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Actually, my installer package is not for a Windows Service, but for a WinForms application. Well, it is kind of both: this is a multi-project solution with its main target being a WinForms application, but it also includes a Windows Service. My custom install actions configuration includes output from a Class Library project that contains the custom actions followed by the output of the Windows Service project to register the service....
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.