Skip to content
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

Case sensitivity when passing database name using the -s and -d command line options #658

Closed
NickEPalmer opened this issue Jun 24, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@NickEPalmer
Copy link

I'm running into an issue related to the case of the AS database name I'm passing when using the -s and -d command line options.

In my SSAS server I have a database named MAXPTEST

If I run the following command:

  "C:\Program Files\DAX Studio\DaxStudio.exe" -s Sunset -d ""MaxPTest""

I get the following message in the DAX Studio output window:

  The following error occurred while updating the connection: The given key was not present in the dictionary

But the following command works:

  "C:\Program Files\DAX Studio\DaxStudio.exe" -s Sunset -d ""MAXPTEST""

SSAS considers the MAXPTEST and MaxPTest databases to be the same, since I can't rename an existing SSAS database to be MaxPTest because it tells me the database name is already in use.

Is it possible to update the logic for the -d command line argument to be case-insensitive when trying to match the database?

Thanks

@dgosbell
Copy link
Contributor

Thanks for logging this. I don't think I actually tested with varying cases. It should not be too hard to fix this.

@dgosbell dgosbell self-assigned this Jun 25, 2021
@dgosbell dgosbell added the bug label Jun 25, 2021
@dgosbell dgosbell added this to the v2.16.1 milestone Jun 25, 2021
@NickEPalmer
Copy link
Author

Thanks for the quick fix on this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants