Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Windows service not starting at boot time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
oscar.acostamontesde@googlemail.com - 27 Jul 2006 13:17 GMT
Hello:
I'm currently developing a windows service, and in OnStart i launch a
couple of threads to do some work. When i start it manually everything
goes fine, but at start up the service just timeout. I have added all
the dependencies i thought could be used by the service, included
eventlog, rpc, sqlserver. Is there any way to get the service
dependencies all? Or is there any detailed log of what is going on on
startup? The timeout message in eventlog says nothing about the cause.
Any ideas would be apreciated, thanks
Angelina - 27 Jul 2006 14:30 GMT
Did to try to run your service from local system account? If no then to to
set the account as local system in "Log On" tab of the service. When you are
runnung your service at startup then there is no user accoutn available at
that moment as to still to login. So whenever you run manually then you are
login with a account.

- angi

> Hello:
> I'm currently developing a windows service, and in OnStart i launch a
[quoted text clipped - 5 lines]
> startup? The timeout message in eventlog says nothing about the cause.
> Any ideas would be apreciated, thanks
oscar.acostamontesde@googlemail.com - 27 Jul 2006 19:23 GMT
Thanks for you replay Angelina.
Yes, the service account is Local\System. Is there any way to get a
detailed log from the S.O., a dump or something? Someone tell me it's
because service dependencies, but except that the framework it self has
more, I'm only using in my development sql server and eventlog as
services on wich mine depends on.

Best regards,

Angelina ha escrito:

> Did to try to run your service from local system account? If no then to to
> set the account as local system in "Log On" tab of the service. When you are
[quoted text clipped - 13 lines]
> > startup? The timeout message in eventlog says nothing about the cause.
> > Any ideas would be apreciated, thanks
ThunderMusic - 27 Jul 2006 15:23 GMT
did you try to use a file log to know at least where it times out? it helped
me a lot with services since I didn't want to full my event log with a lot
of crap and I can't use Message boxes ;)...  so file log is perfect...  and
it also helps to debug even on client's computers if needed... so it's a
good mecanic to develop and is not that long...

I hope it helps

ThunderMusic

> Hello:
> I'm currently developing a windows service, and in OnStart i launch a
[quoted text clipped - 5 lines]
> startup? The timeout message in eventlog says nothing about the cause.
> Any ideas would be apreciated, thanks
oscar.acostamontesde@googlemail.com - 27 Jul 2006 19:14 GMT
Hello and thanks for you reply. I have a log, but as the service does
not get started it's empty. I just see a message in system eventlog
saying that the service has take too much time to respond (30000 ms i
think is the timeout by default)
I'd like to know if i can get some extended log from windows with more
detail about the error. Any ideas?

Thanks

ThunderMusic ha escrito:

> did you try to use a file log to know at least where it times out? it helped
> me a lot with services since I didn't want to full my event log with a lot
[quoted text clipped - 15 lines]
> > startup? The timeout message in eventlog says nothing about the cause.
> > Any ideas would be apreciated, thanks

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.