Azure / Azure/elastic-db-tools

SMM: Misleading exception message when required values not provided in connection string

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
147
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Repro:

```
ShardMapManagerFactory.GetSqlShardMapManager("", ShardMapManagerLoadPolicy.Lazy)
```

Exception thrown:

```
The required property 'DataSource' must be set in the connection string.
Parameter name: connectionString"
```

This exception is a little misleading because the property in the connection string is "Data Source" (with a space).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.