Results 1 to 8 of 8

Thread: Windows service requests reboot some servers

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Windows service requests reboot some servers

    i am not quite sure where to start debugging this problem.

    i have written a windows service in vb.net. it is like many i have written before, but this one is behaving differently.

    when installed on a 3rd server, the server prompted for a system restart. it did not make such a request on other servers.

    i need to determine what my installation package is attempting to modify that would instigate a system restart. where do i start to look to figure this out?

    thanks.

  2. #2
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: Windows service requests reboot some servers

    In the service explorer find your service, right click it, and choose properties. In the properties window click the recovery tab.

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Re: Windows service requests reboot some servers

    thanks wild bill for your reply.

    that tab allows me to control what my service does in the event on an error.

    what i need to determine is why my server, at the last dialog of my service installation, prompted for a reboot. my installation package must of requested a change somewhere, a registry change, another module startup, a registration, something. i am sure it could be many reasons. how might i determine which?

  4. #4
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: Windows service requests reboot some servers

    An install log gets created. You could compare it against the logs of your other servers.

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Re: Windows service requests reboot some servers

    thanks wild bill!

    that is exactally the kind of help i am looking for.

    where might i find such an installation log?

  6. #6
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: Windows service requests reboot some servers

    If you are using installutil to install the service, a file named yourfilename.installlog in the directory you ran the utility

  7. #7

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Re: Windows service requests reboot some servers

    on my local development workstation, i installed the service by right-clicking on my setup project from within visual studio and selecting install. there was no install log created. is there a parameter or setting somewhere than i need to enable?

    i do not have access to the other servers, which used my setup package. i do not know if log files were created there.

  8. #8
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: Windows service requests reboot some servers

    I would do a search for *.installlog to see if one was created. If one was not created, ask the end user to install via installutil. Here are directions http://www.developerfusion.co.uk/show/3441/3/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width