473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Problems with InstallUtil on FW1.1

Hi there,

I have to installa a Windows service on a machine which has only the
fw1.1 installed. I did the following:
- Create a WindowsService application (using the VisualStudio template);
- Create the ServiceInstaller;
- Imported a .dll in the solution (which is the logic of my application);
- Build the solution using MSBee to target with the fx1.1
- Run the InstallUtil.exe for the v1.1.etc of the framework...

....and got a System.BadImageFormatException.
Any suggestion?

Thanks in advance,
Giulio

--
OnAir:
May 21 '07 #1
3 1249

"Giulio Petrucci" <fa******@fakedomain.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi there,

I have to installa a Windows service on a machine which has only the fw1.1
installed. I did the following:
- Create a WindowsService application (using the VisualStudio template);
- Create the ServiceInstaller;
- Imported a .dll in the solution (which is the logic of my application);
- Build the solution using MSBee to target with the fx1.1 - Run the
InstallUtil.exe for the v1.1.etc of the framework...

...and got a System.BadImageFormatException.
Any suggestion?
..Net Framework 1.1 cannot load an assembly created with .Net Framework 2.0,
if that's what you have done.

As always, Google is your friend.

http://www.google.com/search?hl=en&q...=Google+Search

May 21 '07 #2
Hi Mr.Arnold,

Mr. Arnold ha scritto:
>- Build the solution using MSBee to target with the fx1.1 - Run the
InstallUtil.exe for the v1.1.etc of the framework...
.Net Framework 1.1 cannot load an assembly created with .Net Framework
2.0, if that's what you have done.
But if I have built the solution using MSBee and making the assembly
target with fw1.1 (see before), it should be able to load the assembly,
right?

Thanks,
Giulio

--


May 21 '07 #3

"Giulio Petrucci" <fa******@fakedomain.comwrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl...
Hi Mr.Arnold,

Mr. Arnold ha scritto:
>>- Build the solution using MSBee to target with the fx1.1 - Run the
InstallUtil.exe for the v1.1.etc of the framework...
>.Net Framework 1.1 cannot load an assembly created with .Net Framework
2.0, if that's what you have done.

But if I have built the solution using MSBee and making the assembly
target with fw1.1 (see before), it should be able to load the assembly,
right?
Then the other problem could be that .Net can't find the assembly. I suggest
that you start reading the issues in the link provided that others are
having in this area in an attempt to find a solution.

May 21 '07 #4

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

Similar topics

0
by: Mike R | last post by:
I have 2 questions about custom options in InstallUtil. The help screen for InstallUtil says this: --- quote --- Options take the form /switch= <...a list of options follows...> Individual...
3
by: TT (Tom Tempelaere) | last post by:
Hi there I am making a service project in C#, and I'm in the process of writing the installer. I made an installer class by using the "Add Installer" menu-item in the design window of the service,...
7
by: scarred wind | last post by:
when i run my program, an error message prompt me that i should add the installutil.exe. How do i checked for the installutil.exe? How can i add it to my Timer program? ...
3
by: Rob Meade | last post by:
Hi all, I've just followed an article regarding the creation of a windows service - so far so good - right up until I try to do the install... I get the following error message in the command...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
2
by: tshad | last post by:
I have been running into all kinds of problems with VS2003 and handling Windows services. One of the main problems is trying to uninstall services. It doesn't work half the time. Mainly it...
5
by: Jamin Mace | last post by:
I'm trying to create a batch script that will allow me to use the .Net installutil.exe to install a windows service. I want to be able to specify the username and pasword in my script so that I...
3
by: Installutil System.BadImageFormatExcepti | last post by:
I've tried to make a Windows Service using the 2005 C# and when I go to use Installutil it returns with an System.BadImageFormatException error while intializing the installation. I've even gone as...
1
by: vovan | last post by:
My VB 6 program uses Windows Service I developed with VB 2005. Setup for VB 6 project, created in InstallShield 12, installs Framework 2 if it is not presented on the client machine. I ran setup...
2
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi all people, everybody I create several windows services in VS 2005. The services can be installed by MSI, and too using installutil command. If the service has Installer class, all is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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,...

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.