sql server 2012 - Unable to find the requested .Net Framework Data Provider. It may not be installed -


i using nlog error loggin. have configured nlog using following code in web.config programs throws error "unable find requested .net framework data provider. may not installed."

<nlog  xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" throwexceptions="true" internallogfile="c:\nlog.txt" internalloglevel="debug"> <extensions>   <add assembly="nlog.extended" /> </extensions> <targets>   <target name="console" xsi:type="console" layout="${level:uppercase=true} ${message}"/>   <target name="delivroslogfile" xsi:type="file" filename="c:\delivroslogs\delivros.log" layout="${longdate} |${message}| ${stacktrace}"/>   <target xsi:type="database" name="delivrosdatabaselogging" connectionstringname="delivrosentities"            commandtext="insert tbl_errorlogin( event_id,priority,severity,title,timestamp,machinename,appdomainname,pocessid,processname,threadname,win32threadid,message,formattedmessage) values (@event_id,@priority,@severity,@title,@timestamp,@machinename,@appdomainname,@pocessid,@processname,@threadname,@win32threadid,@message,@formattedmessage)">     <parameter name="@event_id" layout="0"/>     <parameter name="@priority" layout="3"/>     <parameter name="@severity" layout="${level}"/>     <parameter name="@title" layout="journal api"/>     <parameter name="@timestamp" layout="${date}"/>     <parameter name="@machinename" layout="${machinename}"/>     <parameter name="@appdomainname" layout="journal api"/>     <parameter name="@pocessid" layout="${processid}"/>     <parameter name="@processname" layout="${processname}"/>     <parameter name="@threadname" layout="${threadname}"/>     <parameter name="@win32threadid" layout="${threadid}"/>     <parameter name="@message" layout="${exception}"/>     <parameter name="@formattedmessage" layout="${message} "/>   </target> </targets> <rules>   <logger name="*" levels="info,warn,error,fatal" writeto="console"/>   <logger name="*" levels="info,warn,fatal" writeto="delivroslogfile"/>   <logger name="*" levels="error" writeto="delivrosdatabaselogging"/> </rules> 

i stuck 4 days...is there 1 out there can me....

it given providername="system.data.entityclient" in connection string , changed providername="system.data.sqlclient"


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -