Error in deploy in production site

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
 
T

Thomas Dunk

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
 
D

DC

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!
 

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