Reputation: 675
I am using Nlog and in my controller i am writing the following line
static readonly Logger Log = LogManager.GetCurrentClassLogger();
and its throwing the error "Unable to find the requested .Net Framework Data Provider. It may not be installed."
Please help...i am a newbie to Nlog
Upvotes: 0
Views: 459
Reputation: 675
this error resolved. The problem was the connection string mentioned the provider as EF and the nlog can only work with SqlClient. so i created a seperate connection string for nlog.
Upvotes: 1