-
Notifications
You must be signed in to change notification settings - Fork 0
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
Starting an app in non-default database causes exception #76
Comments
I can confirm the problem still exists:
|
The fix is trivial. {
"Host": {},
"Name": "Playground",
"DisplayName": "custom\\Playground",
"FullName": "custom\\Playground",
"FilePath": "D:\\GitHub\\Miyconst\\Playground\\Playground\\bin\\Debug\\Playground.exe",
"WorkingDirectory": "D:\\GitHub\\Miyconst\\Playground\\Playground",
"ResourceDirectories": [],
"Arguments": null
} So, this would fix the issue: -public string RedirectionViewUri => $"/{Application.Current}/Starcounter.Authorization.Redirection.html";
+public string RedirectionViewUri => $"/{Application.Current.Name}/Starcounter.Authorization.Redirection.html"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is caused by this line.
Application.ToString()
prepends database name with a backslash, but only if database is not default. The backslash causes the exception, but illegal characters in db name could also cause trouble.The text was updated successfully, but these errors were encountered: