Stuart,
>I am trying to encrypt the connection string in my config file, I have subclassed the databaseManager and the AppSettings, and overridden the CreateDatabaseManager method in the factory class. I got this working in a test windows form application, but when I moved it to my web Service it failed. It fails on createDataSet, and the CreateDataBaseManager method does not seem to run.
>Any idea what I am not doing?
First of all, make sure Global.asax is instantiating an instance of your project-level factory (it does it at application startup). Next, make sure you are overriding the factory method in your web application--not your business object project. Finally, you can set a breakpoint in the get() of the mmAppBase.DatabaseMgr property and trace through to see what's happening.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com