P
pbd22
Hi.
I built a windows service using C#/2005 on a DEV
machine and am a little confused about moving the
service to a production server.
I have successfully installed (installutil) and run the
service on my XP dev machine.
When I install and run it on the 2003 box, I get a
"start and stop - nothing to do" error.
To me, this means there is a wrong file path or
something of that nature. But, I reproduced the
file paths on the XP box and everything checks
out.
So. my thoughts turned to the EXE, DLLS, etc.
On the 2003 box I have just included myservice.exe
and the DLLs in the same folder. But, In my DEV project,
I see BIN, OBJ, and PROPERTIES folders.
I know I need to use the release EXE from my
project when I move to production, but do I need
to include the properties folder or the OBJ folder?
I assumed i just needed to move the Bin/Release/myproj.exe
file and its associated DLLs to the production server.
I also notice that the DLLs are referenced in the OBJ
folder in my project (there is no OBJ folder in the production
server). Is this going to mess things up?
Please help me sort this out - I know my service works.
Thanks.
I built a windows service using C#/2005 on a DEV
machine and am a little confused about moving the
service to a production server.
I have successfully installed (installutil) and run the
service on my XP dev machine.
When I install and run it on the 2003 box, I get a
"start and stop - nothing to do" error.
To me, this means there is a wrong file path or
something of that nature. But, I reproduced the
file paths on the XP box and everything checks
out.
So. my thoughts turned to the EXE, DLLS, etc.
On the 2003 box I have just included myservice.exe
and the DLLs in the same folder. But, In my DEV project,
I see BIN, OBJ, and PROPERTIES folders.
I know I need to use the release EXE from my
project when I move to production, but do I need
to include the properties folder or the OBJ folder?
I assumed i just needed to move the Bin/Release/myproj.exe
file and its associated DLLs to the production server.
I also notice that the DLLs are referenced in the OBJ
folder in my project (there is no OBJ folder in the production
server). Is this going to mess things up?
Please help me sort this out - I know my service works.
Thanks.