|
-
Jan 26th, 2002, 02:56 PM
#1
Thread Starter
Hyperactive Member
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)

-
Jan 27th, 2002, 08:15 AM
#2
Junior Member
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.
-
Jan 27th, 2002, 10:35 AM
#3
Thread Starter
Hyperactive Member
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)

-
Jan 27th, 2002, 03:03 PM
#4
Junior Member
Ah, so it allows for you to set it as system.
Thx.
-
Jan 27th, 2002, 06:10 PM
#5
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|