| | |
Error 1053:the service did not respond to the start or control request in a timely...
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2008
Posts: 2
Reputation:
Solved Threads: 0
Error 1053:the service did not respond to the start or control request in a timely...
0
#1 Feb 25th, 2008
Hi, I have created a window services in vb.net and it is installed successfully. But when I start the service, I get the error
error 1053, the service did not respond to the start or control request in a timely fashion
And this is the code..I suspect that the error is because of the code in red text. I have tried to print the log to text file, everything is ok, just the service cannot be started completely when the starting progress near 100%
error 1053, the service did not respond to the start or control request in a timely fashion
And this is the code..I suspect that the error is because of the code in red text. I have tried to print the log to text file, everything is ok, just the service cannot be started completely when the starting progress near 100%
Public Class Maintenance
Protected Overrides Sub OnStart(ByVal args() As String)
Dim autoEvent As New AutoResetEvent(False)
Dim statusChecker As New clsStatusChecker()
Dim timerDelegate As TimerCallback = AddressOf statusChecker.CheckStatus
Dim stateTimer As Timer = New Timer(timerDelegate, autoEvent, 0, 1000)
autoEvent.WaitOne(Timeout.Infinite, False)
stateTimer.Dispose() End Sub
Protected Overrides Sub OnStop()
End Sub
End Class
Public Class clsStatusChecker
Sub New()
intLock = 0
End Sub
Sub CheckStatus(ByVal pobjStateInfo As Object)
.....
End Sub
End Class![]() |
Similar Threads
- Oracle Service Problem (Oracle)
Other Threads in the VB.NET Forum
- Previous Thread: VB.NET Soap Method Not Exposed
- Next Thread: Vista UAC-like prompt (where it creates new desktop for prompt)
Views: 5145 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2005 30minutes 2005 2008 access application arithmetic array basic binary bing button buttons c# center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design designer dissertation dissertations dissertationthesis dll dropdownlist error excel file-dialog folder ftp google hardcopy highlighting image images inline installer listview login mobile ms navigate net networking opacity output peertopeervideostreaming picturebox picturebox1 plugin port print printing problem problemwithinstallation project reports" save savedialog searchbox serial server soap sorting sql string studio syntax tcp text textbox timer toolbox trim updown usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf





