ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tdk
tdk
Re: [TDK] Unable to create a working wrapped service
by Jeff Hobbs other posts by this author
Jun 2 2008 1:37PM messages near this date
view in the new Beta List Site
Re: [TDK] Unable to create a working wrapped service | Re: [TDK] Unable to create a working wrapped service
I'm not aware of the description being required for a service to run 
properly ... in order to get that issue out of the way though, you can 
access the service in the registry at:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AAA

and then create key name "Description" of type REG_SZ.  IOW, with Tcl:

package require registry
set key {HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AAA}
set value "Description"
set data "This is a description"
registry set $key $value $data

and try again and see if that changes anything.

Jeff

Chuck Ferril wrote:
>  I get this in the event log (I installed with the service name AAA):
>  
>  The description for Event ID ( 1 ) in Source ( AAA ) cannot be found.
>  The local computer may not have the necessary registry information or 
>  message DLL
>  files to display messages from a remote computer. You may be able to use
>  the /AUXSOURCE= flag to retrieve this description; see Help and Support for
>  details. The following information is part of the event: AAA, Service 
>  Shutting down.
>  
>  Chuck
>  
>  
>  
>  On Jun 2, 2008, at 3:14 PM, Jeff Hobbs wrote:
>  
> > Chuck Ferril wrote:
> >> Using the sample exprserver.tcl I am able to install, use, and 
> >> remove  the service as a script just fine. But when I use TclApp to 
> >> wrap with  the base-tclsvc... prefix, the service can install and 
> >> remove itself,  but doesn't run. I get a message stating that the 
> >> service started and  then stopped.
> >> What am I missing?
> >
> > Can you provide any more detail from the Windows system event log 
> > (reports details on services starting and stopping)?
> >
> > Jeff
>  

_______________________________________________
TDK mailing list
TDK@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk
Thread:
Chuck Ferril
Jeff Hobbs
Chuck Ferril
Jeff Hobbs
Chuck Ferril
Chuck Ferril

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved