View Single Post
  #2 (permalink)  
Old June 26th, 2003, 11:55 PM
mkamoski mkamoski is offline
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a follow-up to my previous message.

I fixed the issue and the sample code runs fine.

(It did NOT have anything to do with the processModel userName setting in machine.config.)

As it turns out, I had installed SQL Server 2000 with Security Authentication set to "Windows Only". I changed the database server property to "SQL Server and Windows" and everything worked fine.

(That was MY error, entirely-- but, if you are going to fine tune the installation notes at all, you might want to mention the need for mixed mode authentication in SQL Server.)

I also discovered a workaround by simply commenting out any lines like this...

EventLog.WriteEntry("ThePhile.COM", message, entryType);

...or anything similar, which effectively turns off event logging.

So far, so good.

Thank you, again, for a GREAT book.
Reply With Quote