473,472 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows Service in VC++.NET 2003

Hello,

I'm trying to create Windows Service using VC++ .NET 2003
Standard similar to sample from 'Walkthrough: Creating a
Windows Service Application in the Component Designer'
from MSDN.com. When I try to install this service I got
message "Exception occurred while initializing
installation: System:IO:FileLoadException: Unverifiable
image 'MyFirstWinService.exe' can not be run". How to fix
it in VC++ .NET 2003 Standard?

Regards
Leonid
Nov 16 '05 #1
1 2440
I think installutil can't deal with assemblies that have native code. You
need to write installer in C# and then use installutil or just do the
install entries in C++

"Leonid" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...
Hello,

I'm trying to create Windows Service using VC++ .NET 2003
Standard similar to sample from 'Walkthrough: Creating a
Windows Service Application in the Component Designer'
from MSDN.com. When I try to install this service I got
message "Exception occurred while initializing
installation: System:IO:FileLoadException: Unverifiable
image 'MyFirstWinService.exe' can not be run". How to fix
it in VC++ .NET 2003 Standard?

Regards
Leonid

Nov 16 '05 #2

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

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
1
by: Girish | last post by:
Im looking for information on how to build a windows service (not web service) on a .net enabled platform. Now, ive had some experience building services using vc++ 6.0 - and I can tell you its...
3
by: Josh Salit | last post by:
Hi, I'm working with a TCP/IP server (Mixed C/C++, built with VC++ .NET 2002) that can be run as either an application or as a Windows Service. The problem we are facing is that when running as an...
0
by: Vipul Patel | last post by:
Hi, There is a project requirement to create an installer for a windows service created in VC++ 7.0 unmanaged code. Can any one guide to a link or working sample as to where I can get the...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
7
by: Sunil Varma | last post by:
Hello all, I wrote a Windows Service in VC.NET 2005 I want to debug the solution. I tried as mentioned in the following link. ...
4
by: German Koninin | last post by:
Hi there. I just installed VC++ 2005. I was using VC++ 6 before. So I need to create a Windows Service. I tried to use wizard but code that was generated seems to be a .Net related. In fact I...
5
by: Larry | last post by:
Hi, I am a newcomer to VC++ (specifically programming on Microsoft platforms); and I have a very basic question about windows services. Using Windows Services mechanism is it possible to...
0
by: sector20 | last post by:
Hi, Please help!! I want to create a Windows Service application using VC++ .Net (Visual Studio 2003) using ATL COM. Thanks Amit
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
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...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.