Results 1 to 5 of 5

Thread: VB.NET Windows Service Problem

  1. #1

    Thread Starter
    Hyperactive Member kleptos's Avatar
    Join Date
    Aug 2001
    Location
    The Dark Carnival
    Posts
    346

    VB.NET Windows Service Problem

    I recently created a Windows Service from the default template in VB.NET. All went well, i created the service, the installer, now when i go to install it, i get a username and password and it never asked for one, and wont install the service unless i give it the right one, any ideas how to disable this?
    ..::[kleptos]::..
    • Database Administrator (MSSQL 2000)
    • Application Developer (C#)
    • Web Developer (ASP.NET)


  2. #2
    Junior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    30
    I'm sure you might already know this but to install a service on a NT-based system you'll need the admin password to allow it to install the service.

    <! Ozki !>

  3. #3

    Thread Starter
    Hyperactive Member kleptos's Avatar
    Join Date
    Aug 2001
    Location
    The Dark Carnival
    Posts
    346
    Actually I fixed the problem, there is a setting in VB.NET that sets the service type, either to a user or the system, it its set to user you need to enter DOMAIN\UserName, for system it wont ask. So i set it to system and it works fine.
    ..::[kleptos]::..
    • Database Administrator (MSSQL 2000)
    • Application Developer (C#)
    • Web Developer (ASP.NET)


  4. #4
    Junior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    30
    Ah, so it allows for you to set it as system.
    Thx.
    <! Ozki !>

  5. #5

    Thread Starter
    Hyperactive Member kleptos's Avatar
    Join Date
    Aug 2001
    Location
    The Dark Carnival
    Posts
    346
    There are actually 4 settings, user, local system, local service and something else. Local System is what i used, and no password was needed. User was the one that asked for a password.
    ..::[kleptos]::..
    • Database Administrator (MSSQL 2000)
    • Application Developer (C#)
    • Web Developer (ASP.NET)


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