Thursday, 26 April 2012

Entity Exception Was UnHandled By User Code - The underlying provider failed on Open In Silverlight,Wcf,C#












You Have to Give No Means
The Data Base Sql Authentication Password Did Not Save In Web Config


<connectionStrings>
    <add name="SNSEntities" connectionString="metadata=res://*/Test.csdl|res://*/Test.ssdl|res://*/Test.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=server;initial catalog=SNS;persist security info=True;user id=sa;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>



You Have To Give Yes Means
The Data Base Sql Authentication Password  Save In Web Config


<connectionStrings>
    <add name="SNSEntities" connectionString="metadata=res://*/Test.csdl|res://*/Test.ssdl|res://*/Test.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=server;pwd=password;initial catalog=SNS;persist security info=True;user id=sa;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>


If It Is Saved The Error Will Be Clear





0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
^ Scroll to Top Twitter Bird Gadget