Monthly Archives: November 2009

Connecting to Oracle

We use a lot of Oracle database and we connect in several different ways.  Tns names in the tnsnames.ora file, ldap using the ldap.ora file, ntfs for oracle xe via the sqlnet.ora.  If we have any oracle connection issues its … Continue reading

Posted in Uncategorized | Leave a comment

Install A Windows Service with a User Account ptII

If you want to install a windows service under a user account you can handle the BeforeInstall event of the project installer and set the username and password there. Unfortunately, you don’t seem to be able to get the settings … Continue reading

Posted in Uncategorized | Leave a comment

Install A Windows Service with a User Account

In my never ending quest for build automation I had to ensure a windows service was installed when the project was built.  In order to have it install as a particular domain account I had to specify that it would … Continue reading

Posted in Uncategorized | Leave a comment

Current Directory for Windows Service

Good post here http://haacked.com/archive/2004/06/29/706.aspx. Recommends : System.IO.Directory.SetCurrentDirectory(System.AppDomain.CurrentDomain.BaseDirectory); So that your services don’t appear to run in the System32 dir.

Posted in Uncategorized | Leave a comment