Error in deploy in production site

  • Thread starter Thread starter DC
  • Start date Start date
D

DC

I created a small windows service app. using VB.net, and it works perfectly
in our development server.
However, when I uploaded this program into our production server, and tried
installing it using "installutil" tool, I have this error:

Exception occurred while initializing the installation:
System.IO.FileNotFoundException: File or assembly name
communication_tool_service, or one of its dependencies, was not found.

communication_tool_service is my program name, and I have uploaded the BIN
folder which contains the .EXE file and the required .DLL.

Am I missing step here?

- DC
 
Hi

Had the same error just now. It seems that installutil.exe can't find
the dll's if you don't specify the complete path to the program, even
if you are executing installutil in the directory of the program.

Use installutil.exe like this:

installutil.exe "c:\MyPath\MyService.exe"

It worked for me.

/Thomas
 
Thomas Dunk said:
Hi

Had the same error just now. It seems that installutil.exe can't find
the dll's if you don't specify the complete path to the program, even
if you are executing installutil in the directory of the program.

Use installutil.exe like this:

installutil.exe "c:\MyPath\MyService.exe"

It worked for me.

/Thomas

Ah, that's the key. Many thanks Thomas!
 
Back
Top