C
Carlo Razzeto
I am trying to write a Windows Service that will periodically look through a
database for old user accounts. My problem is I wanted it to connect to my
computers EventLog to log errors. The code compiles just fine, however when
I try to actually install this Windows Service using InstallUtil, just after
it reports "creating event source for NotifyExpiredResume in Application"
(or something to that effect) it pops up with a strange dialog box with
requests me to enter a user name, then enter a password, then confirm the
password... I have tried using several accounts on my system, including ones
with Administrator and the installation fails every time. I have also tried
commenting the eventlog lines of code out of my project and it still asks
for a password. This is a very strange problem because it is trying to
create a source for NotifyExpriedResumes in the Application log when my code
tells it to Register as "JobSite" in the "JobSite" log, all of which is
already created, and then because it still tries to register this source
even though I commented out the lines... Anyone have any experience with
this type of issue?
Carlo
database for old user accounts. My problem is I wanted it to connect to my
computers EventLog to log errors. The code compiles just fine, however when
I try to actually install this Windows Service using InstallUtil, just after
it reports "creating event source for NotifyExpiredResume in Application"
(or something to that effect) it pops up with a strange dialog box with
requests me to enter a user name, then enter a password, then confirm the
password... I have tried using several accounts on my system, including ones
with Administrator and the installation fails every time. I have also tried
commenting the eventlog lines of code out of my project and it still asks
for a password. This is a very strange problem because it is trying to
create a source for NotifyExpriedResumes in the Application log when my code
tells it to Register as "JobSite" in the "JobSite" log, all of which is
already created, and then because it still tries to register this source
even though I commented out the lines... Anyone have any experience with
this type of issue?
Carlo