|
-
Feb 22nd, 2012, 08:18 PM
#20
Re: Can Window Service Call a Stored Procedure?
 Originally Posted by 9pepper
I changed to what you recommended, and it still shows "In OnStart".
Go back to my earlier post about the File.WriteAllText("c:\temp\startOnStart1.txt", "Start"), and I said it did not run this line which is on the very top of the OnStart method. I just wondering if the service actually process anything inside this OnStart method.
right now I do not know how it write to the event log "In OnStart"!?
Since IN ONSTART is no longer present anywhere in your code that makes no sense...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|