Prepare for your Next Interview
This is a discussion on installing windows service within the C# forums, part of the Software Development category; Hi All, I have written a windows service in VC++ (.NET 2.0) and was trying to install it after compilation using installutil utility but it is giving the following ...
|
|||
|
Hi All,
I have written a windows service in VC++ (.NET 2.0) and was trying to install it after compilation using installutil utility but it is giving the following error- "Exception occurred while initializing the installation: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Projects\ServiceName.exe' or one of its dependencies. The module was expected to contain an assembly manifest.." I am giving the following command at VS 2005 command prompt- C:\>installutil C:\Projects\ServiceName.exe I have earlier created windows services in C# and have'nt faced this problem while installing the service. Please suggest what I could be doing wrong. Thanks in advance. |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the difference between Windows XP and Windows 2000? | guru_prasad | Windows | 7 | 06-04-2008 03:18 AM |
| diff b/w configuring and installing | KADAVELUGU RAJA SHRAVAN | Oracle | 1 | 05-08-2008 08:28 AM |
| Any workaround for installing Loadrunner 9 at Windows Vista Machine? | paul_20k | LoadRunner | 5 | 01-24-2008 08:36 PM |
| Windows start service failure | webindian2007 | ASP.NET | 0 | 09-20-2007 05:20 PM |
| Installing XP on WIN 98 | hemchan | Windows | 1 | 04-22-2007 02:13 AM |