Configuring ELMAH with SQL Server logging with encrypted connection string?

You can't just tell ELMAH to do something with your connection string. What you can do, however, is tell ELMAH to call you back when it needs an ErrorLog giving you more control at run-time. You can then read the encrypted connection string, decrypt it with your in-house function and return an SqlErrorLog initialized with it.

As an addition to the post of Atif Aziz, here the VB.NET version (InitializeElmah_VB9 for the . NET 2.0 version without lamdda, InitializeElmah for VB.NET for . NET 4.0).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions