473,670 Members | 2,563 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Install Windows Service error "System.IO.File LoadException: ......


Hello,
I am using Visual Studio .NET 2003 (7.1) C++ on Windows XP.

I created a project using Windows Service (.NET). I used all the default
except my project name. After the project is created, I opened the class's
desinger and added an installer link at the bottom of the Properties window.
Then save and build the project.

The problem occurrs when I ran "installutil.ex e myservice.exe" in a Solution
Explorer. I got an error:

F:\>installutil AdAdlmService.e xe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Exception occurred while initializing the installation:
System.IO.FileL oadException: Unverifiable image 'AdAdlmService. exe' can not
be run.

Does anybody know what is the problem?
Thank you in advance,
Yueming

Nov 17 '05 #1
0 2355

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

Similar topics

1
2327
by: Naeem Sarfraz | last post by:
I understand this file is under protection but how do I remove it from the 'detected dependencies' in the Installer project. The error message: 'shdocvw.dll' should be excluded because its source file 'C:\WINDOWS\System32\shdocvw.dll' is under Windows System File Protection.
1
1588
by: martin smith | last post by:
I have some old CBT software written in a package called IconAuthor. It uses Access database to store details of lessons, graphics filenames, sounds etc. The software creates a user DSN which points at an Access ODBC driver in the windows\system folder as opposed to the system32 folder that Windows XP uses. I am hunting around trying to find someone with the IconAuthor software to change the path in the DSN but I wondered whether the...
0
1974
by: huobazi | last post by:
I have many dropdownlist controls in my ascx (and use LoadControl in a aspx fiel) file,so i write a method "InitList(DropDownList list,string strsql,string TextField,string ValueField)" but when i want to get the BigClassList.SelectedItem.Text and BigClassList.SelectedItem.Value in a button onclick method,btnSmallClassEdit_Click(....),there post an error " System.NullReferenceException: 佫¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£", I Don't know the...
5
1582
by: Patrick.O.Ige | last post by:
What could cause the error:- System.NullReferenceException: Object reference not set to an instance of an object. Any ideas?
1
1386
by: ranadhir_nag | last post by:
We have written a windows ATL server application which runs as a windows service(system account). Since the system account does not have file-write prmissions,we are searching for a way how to introduce logging mechanism into this application(either to file or event log). Any help on this will be appreciated. FYI, this program launces a browser to perform certain actions and so the servicei s configured with 'Interact with desktop'...
0
1057
by: Dutt | last post by:
Windows System Tray Programming using C# and VB.NET http://msdotnetsupport.blogspot.com/2008/02/cnet-application-windows-system-tray.html
3
4326
by: Krishna Kirti Das | last post by:
I am a long-time user of Perl who comes to you in peace and is evaluating different scripting languages for use as a scripting platform for system administrators on the Windows platform. Perl already has many modules that allow sys admins and devolpers to do lots of things with the Windows OS, and I'm wondering what the state of the art is with Python and being able to control and administer a windows environment. In this regard, how does...
1
3754
by: thomasc | last post by:
Hello, This is about VB.NET2003. I'm trying to obtain the RGB value of a Windows system color and use it as the background color of my Microsoft Word file. But I have not been able to find out how I can do so. THe name of the system color I'm interested in is "System.Drawing.SystemColors.Control".
1
1539
by: engteng | last post by:
How can I retrieve Windows System Information ? example : System Name, System Model, Processor, Total Physical Memory and etc. Regards, Tee ET
1
7830
by: dviry | last post by:
hello , i need to do some things with windows system time . the problem is that i need to change windows system time - and i dont know how to change it . datetime.new - can't get any parameters .. i would like to get some help ..
0
8466
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
8384
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
8896
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
8810
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
8659
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
7410
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
5683
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();...
0
4208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2035
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.