Stardraw Forums
Home
»
All Stardraw Products
»
Stardraw Design/Documentation Applications
»
Legacy Applications
»
SDC Server as Windows Service
Login
Register
Login
Register
Home
»
All Stardraw Products
»
Stardraw Design/Documentation Applications
»
Legacy Applications
»
SDC Server as Windows Service
SDC Server as Windows Service
Post Reply
Like
108
SDC Server as Windows Service
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
pserengulian
pserengulian
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 7,
Visits: 11
Say I've licensed my host and successfully created an SDC server and client application. I want to then add the server application to the list of Windows Services so that the executable can be run during system startup. This would be useful in case the server host reboots or shuts down because of an electrical failure or Windows updates. At startup the SDC server application could then restart without any user interaction. The same could be done for the panels app, but for now I'd like to concentrate on getting one of them working.
I know how to create a service in Windows using the 'sc' command in DOS. Refer to
Microsoft KB251192
. The 'sc' command will create the service and then you can add a description and set the startup type to 'Automatic.'
The problem I have is that when I try to start the service I get this error message:
Error 1053: The service did not respond to the start or control request in a timely fashion.
I did some web searches and the common search result was something to do with the .NET framework. It's not an issue of privileges since I'm trying to start the service as a user with admin rights. I tried hacking the registry to extend the timeout period based on one Google search result, but that had no effect. Is there some chunk of code I have to add to each driver for each device in my form in order for the SDC server to communicate with Windows to tell Windows the service was started? Maybe this is an enhancement request for SDC 2007 to have an option to create a Windows service when compiling and creating the executables.
Thanks,
Patrick
Software Engineer :: Control Arts, LLC :: www.ca-automation.net
Software Engineer ::
Control
Arts
, LLC
Reply
Like
108
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
SDC Server as Windows Service
pserengulian
-
17 Years Ago
The Stardraw Server generated executable is a regular Windows .net 1.1...
David Snipp
-
17 Years Ago
Thank you, David, for your prompt response. I should have thought of...
pserengulian
-
17 Years Ago
Post Reply
Like
108
Similar Topics
Post Quoted Reply
Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search