Install Windows Service error "System.IO.FileLoadException: ......

G

Guest

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.exe myservice.exe" in a Solution
Explorer. I got an error:

F:\>installutil AdAdlmService.exe
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.FileLoadException: Unverifiable image 'AdAdlmService.exe' can not
be run.

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

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