Extend the SqlBulkCopy exception message
Display the column name in the exception message when the WriteToServer() function throws the "The given ColumnMapping does not match up with any column in the source or destination." exception. So it is easier to find out what causes the exception.
Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
- The Visual Studio Team