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

No implementation found for ADO.Net object of Type Microsoft.Data.SqlClient.SqlConnectionStringBuilder #877

Closed
jas88 opened this issue Jan 13, 2022 · 2 comments · Fixed by #878
Labels
bug Issues that highlight a piece of functionality that is not working as expected

Comments

@jas88
Copy link
Contributor

jas88 commented Jan 13, 2022

Describe the bug

Exception thrown when switching DB

ImplementationNotFoundException
No implementation found for ADO.Net object of Type Microsoft.Data.SqlClient.SqlConnectionStringBuilder

To Reproduce
Steps to reproduce the behavior:
Browsing to TEST_Catalog database on my Azure VM to fix "database needs patching" error from CI code

Expected behavior
Successful switch to chosen db

Screenshots

RDMP Version
v7.0.5

Error with Stack Trace

No implementation found for ADO.Net object of Type Microsoft.Data.SqlClient.SqlConnectionStringBuilder
   at FAnsi.Implementation.ImplementationManager.GetImplementation(Func`2 condition, String errorIfNotFound)
   at FAnsi.Implementation.ImplementationManager.GetImplementation(DbConnectionStringBuilder connectionStringBuilder)
   at FAnsi.Discovery.DiscoveredServer..ctor(DbConnectionStringBuilder builder)
   at Rdmp.UI.SimpleControls.ServerDatabaseTableSelector.GetDiscoveredDatabase() in D:\a\RDMP\RDMP\Rdmp.UI\SimpleControls\ServerDatabaseTableSelector.cs:line 445
   at Rdmp.UI.SimpleDialogs.ServerDatabaseTableSelectorDialog.get_SelectedDatabase() in D:\a\RDMP\RDMP\Rdmp.UI\SimpleDialogs\ServerDatabaseTableSelectorDialog.cs:line 37
   at Rdmp.UI.LocationsMenu.ChoosePlatformDatabasesUI.btnBrowseForCatalogue_Click(Object sender, EventArgs e) in D:\a\RDMP\RDMP\Rdmp.UI\LocationsMenu\ChoosePlatformDatabasesUI.cs:line 376
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Database Engine
MS SQL

Additional context
Add any other context about the problem here.

@tznind
Copy link
Contributor

tznind commented Jan 13, 2022

Wierd, what is your current directory? are you running RDMP from outside the bin dir? Can you reproduce when running within the bin dir directly?

Could be that assembly finding redirections isn't set up at that point in the program lifecycle.

@tznind tznind added the bug Issues that highlight a piece of functionality that is not working as expected label Jan 14, 2022
@tznind
Copy link
Contributor

tznind commented Jan 14, 2022

@jas88 please can you see if this PR fixes your issue (#878)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that highlight a piece of functionality that is not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants