-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in MapExceptionDataToProblemDetail with some SqlExceptions #32
Comments
@BrianLParker do you think you can look into this? |
@hassanhabib I will spend time over the weekend. @stuartwhiteford Any details of the environment this was being used in? .net version etc? I remember seeing something similar with the Wasm Client. |
@BrianLParker - here's the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had a Microsoft.Data.SqlClient.SqlException bubble up to the controller which then threw the following exception:
System.InvalidCastException: 'Unable to cast object of type 'System.String' to type 'System.Collections.Generic.List``1[System.String]'.'
The exception had the following Data:
{ "HelpLink.ProdName", "Microsoft SQL Server" }
{ "HelpLink.ProdVer", "15.00.2080" }
{ "HelpLink.EvtSrc", "MSSQLServer" }
{ "HelpLink.EvtID", "208" }
{ "HelpLink.BaseHelpUrl", "https://go.microsoft.com/fwlink" }
{ "HelpLink.LinkId", "20476" }
i.e. A
Dictionary<string, string>
rather than aDictionary<string, List<string>>
.Happy to submit a PR if it's something you want to handle.
The text was updated successfully, but these errors were encountered: