You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am facing an issue while running the project for the first time after i delete the existing database. The code throws an exception in the following method in "SqlClientDiagnosticSourceListener" class :
Hi,
I am facing an issue while running the project for the first time after i delete the existing database. The code throws an exception in the following method in "SqlClientDiagnosticSourceListener" class :
private static void ConfigureExceptionTelemetry(DependencyTelemetry telemetry, Exception exception, PropertyFetcher numberFetcher)
{
telemetry.Success = false;
telemetry.Properties["Exception"] = exception.ToInvariantString();
try
{
telemetry.ResultCode = ((int)numberFetcher.Fetch(exception)).ToString(CultureInfo.InvariantCulture);
}
catch (Exception)
{
}
}
If i continue here then the database gets created. Next time when i run the code, i didn't get the error until i delete the database again.
Will be grateful for any help in this.
Thanks
The text was updated successfully, but these errors were encountered: