Search This Blog

Thursday, February 3, 2011

Vague Error from Enterprise Library 5.0

In a project which used  Data Access to SQL I got the following error:

Cannot open log for source 'Enterprise Library Data'. You may not have write access

Cause of the Error: Database name was not correct in the connection string.
It should have been something like "Database XYZ not found or unable to connect to DB XYZ"

-- Mohan