473,847 Members | 1,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help me please...(i have a problem with my windows service)

Hi guys, i have a problem with my windows service project. I already
publish that to my localhost and install it. The installation file has
been created. But at the same time, a message box appear to inform
that i cannot start service from command line or debugger. I must
install it first then start it using service management tools. Do
anyone know whats going on.....?
Jan 6 '08 #1
2 1290

"DSilent" <su***********@ gmail.comwrote in message
news:25******** *************** ***********@h11 g2000prf.google groups.com...
Hi guys, i have a problem with my windows service project. I already
publish that to my localhost and install it. The installation file has
been created. But at the same time, a message box appear to inform
that i cannot start service from command line or debugger. I must
install it first then start it using service management tools. Do
anyone know whats going on.....?

http://msdn2.microsoft.com/en-us/lib...95(VS.71).aspx
http://www.developer.com/net/csharp/...0918_2173801_2

Jan 6 '08 #2
thanks... it's work.

Jan 6 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3310
by: msnews.microsoft.com | last post by:
Hello everyone I was wondering if anyone has come across my problem? I programmed a Windows Service that uses httpWebRequest and httpWebResponse in VB.NET. Everything works fine until I use the webresponse object. What the Windows Service does is when the timer in the windows service elapses, the request to the website is made and a response is retrieve in a simple myhttpWebrequest.GetResponse(). I don't even do anything with the...
1
1181
by: Tressa | last post by:
I have a C# Windows Service and I need to access it from a C++ Application. I am new to programming and have been looking all over for help on the internet without much luck. I did place this line at the top of the C++ file (using namespace Shutdown_Restart;) I get something that says a namespace with this name does not exist. Thank you for your help
2
8468
by: hnkien | last post by:
Hi, I am writing a windows service with threading.timer for 10 seconds but it didn't work. Here are my code: namespace SchedulerService { public class ScheduleService : System.ServiceProcess.ServiceBase { private System.ComponentModel.IContainer components; protected System.Threading.Timer tmrThreadingTimer;
5
4281
by: vinoth | last post by:
Hi, I have created WindowsService Project.In that Project OnStart Method i have written the following Code. In this code the Server is waiting for the connection from client. When the Client connects to the Server, the server will process and send result to the client.(This is Client Server Application. The Server side Code is implementd in th OnStart method Of Windows Service). When i tried the Client Server Application in Console...
1
966
by: zurg | last post by:
Hi! I need my program to communicate with windows service wich I have also wroten (sending/reciving information). I was using CustomCommand function but it aloves me to send only numbers - I have also to send/recive strings... Anybody had an idea how to do that? Any halp would be appriciated.... zurg
0
979
by: Stephen | last post by:
Hi, I have created a windows service and I make entries into eventlog as well as created a file for writing "Errors", it ran fine until i observed 2 conditions: 1. sufficient space was not allocated on eventlog and it wrote this to "error file" and from this point on, it was not working.... but if i go to "Services" the service still says started but nothing happens.... (increased the space and overwrite after 7 days)
0
1100
by: Lemune | last post by:
Hello everyone. I'm creating windows service application to capture data from my PABX, and send the data to sql server. My question is how could my application know when that PABX is sending data and not? I get really confused here. Please check my code and give me some idea or clue or help please :). Thanks in advance. My code is like this: Dim DBConnection As SqlConnection Dim WithEvents SPConnection As SerialPort = New...
2
1874
by: Niron kag | last post by:
Hi, I built a windows service and I added it references to COM objects which I use in my code. The service work well when I install it in my pc (windows 2000). When I install the project in other pc (Server – windows server 2003) it returns me an error: “Service on local computer started and then stopped. Some services stop automatically if they have no work to do” I checked the error in Google and the best advice there was to...
1
1308
devonknows
by: devonknows | last post by:
Hi, what im aiming to do is to write a windows service which shuts down a process when a information in a .dat files changes, now the windows service installs, and runs, but.. its not doing the designated task i was hoping someone could offer some help. Language: .NET Version: Visual Studio 2005 Project: Windows Service As you open the new project () Ive added a timer (Timer1) to run the task at an interval of, 10,000. Below is the code...
1
4405
by: sutch | last post by:
I have created a DDE( Dynamic-Data Exchange) Client (Console) application to interact with a legacy DDE Server. This client is working perfectly I am asked to develop same functionality in a windows service. I have already tried the following and have not achieved success til yet 1) Loading the Assembly (DLL) containing the DDE Client using AppDomain.Load / Assembly.Load 2) Loading a DDE Client (console app) using...
0
10647
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10706
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9481
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7882
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7056
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5719
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5910
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4119
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3164
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.