473,326 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

installing windows service

I am able to make a windows service in C#.NET
and also tested it on my own system by installing it this way(installutil
servicename.exe) and is running fine
now when I want to test it on other system
which files do i need to copy
or how can I make a project installer which can install it on other system.I
am using visual studio.net 2003
Feb 6 '06 #1
4 2689
http://www.codeproject.com/dotnet/si...owsservice.asp
i was able to create the setup with the help of this article
but now it installs on other system client gets connected to server(tcp
listener) in service but service is not giving any replies as giving on my
own computer
"Ankit Aneja" <ef*****@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I am able to make a windows service in C#.NET
and also tested it on my own system by installing it this way(installutil
servicename.exe) and is running fine
now when I want to test it on other system
which files do i need to copy
or how can I make a project installer which can install it on other
system.I am using visual studio.net 2003

Feb 6 '06 #2
Hello,

Does the service start successfully on the target server? Also, is there
any useful information in the system event log, for example, the service
failed to start up?

It is better to add some debug code to your windows service, for example,
write some log to a text file or system event log, to record if it start
sccuessfully or if it recieve client's request. These all can help to
trouble shoot the problem.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Feb 7 '06 #3
yes its working fine,I just want a tutorial which can teach me how can i
make a setup which itself register comdll(which my service is using) on
server on which i run setup
"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:OL**************@TK2MSFTNGXA02.phx.gbl...
Hello,

Does the service start successfully on the target server? Also, is there
any useful information in the system event log, for example, the service
failed to start up?

It is better to add some debug code to your windows service, for example,
write some log to a text file or system event log, to record if it start
sccuessfully or if it recieve client's request. These all can help to
trouble shoot the problem.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Feb 10 '06 #4
problem solved
thanks
"Ankit Aneja" <ef*****@newsgroups.nospam> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
yes its working fine,I just want a tutorial which can teach me how can i
make a setup which itself register comdll(which my service is using) on
server on which i run setup
"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:OL**************@TK2MSFTNGXA02.phx.gbl...
Hello,

Does the service start successfully on the target server? Also, is there
any useful information in the system event log, for example, the service
failed to start up?

It is better to add some debug code to your windows service, for example,
write some log to a text file or system event log, to record if it start
sccuessfully or if it recieve client's request. These all can help to
trouble shoot the problem.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Feb 10 '06 #5

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...
0
by: Chris Halcrow | last post by:
Hi I've spent ALL DAY trying to re-install SQL Server 2000 on Windows XP. I continually get the error 'cannot configure server' just at the end of the installation. I've tried the following: ...
1
by: Jeevan | last post by:
Hi, I am creating a Window Service in C-Sharp. The Window Service has a reference to an OCX file created in VC++. In OnStart method I have created an instance of the class, of the OCX file and...
11
by: tshad | last post by:
I have a small Windows Service program that just has a timer on it and it built fine. I try to install it using InstallUtil and I get the following message: ...
5
by: Andrea Vincenzi | last post by:
Help me please, I'm totally stuck! My Visual Studio 2003 debugger stopped working after I installed Windows XP Service Pack 2. Here is what happens (with any project, even a "Hello, world"...
10
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each...
3
by: Mukesh | last post by:
Hi friends i wants to install a service (MS application Block) on the server using a web application. Can i do this if yes then how can i do this I m using MS VisualStudio.net 2003, C#, .net1.1...
11
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in...
15
by: =?Utf-8?B?RWxpb3Ro?= | last post by:
I try to install Windows Services but it show this error during the installation process, "Insufficient System resources exist to complete the requested service." I created this Services in VB...
4
by: ravitunk | last post by:
hello all..i have a windows service which inserts a record into a table after every 24hours....while creating this windows service i selected 'Localsystem' as the account type in the properties...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.