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
Can't run SQL against MS Access (unable to obtain a DbFactory) #58
Comments
Confirmed. Works with LP5. For .net core builds we don't support DbFactory, so it could be causing issue. Still not sure why it even tries to use DbFactory in first place... |
Currently it works with recent linqpad 5, 6, 7. Looks like linqpad issue indeed. |
@MaceWindu LP added a workaround after the issue was confirmed here (see forum post). I suspect the root cause may still be in linq2db. |
Ok, will look into it once more |
Hmm, but now I cannot reproduce it as linqpad site doesn't host old releases... |
nevemind. |
Not actionable. I have no linqpad 6.13 anymore and linqpad site doesn't host older releases |
Ok, figured out what could be wrong. We don't implement
|
* - initial project refactoring - migration to scaffold framework * move non-code files from project folder * ifdefs refactoring * code refactoring/cleanup (in progress) * refactoring * refactor settings UI * update dependencies, fix build * convert settings control tabs to usercontrol * fix configuration dialogs styling * implement #58, fixes, Access testing done * sqlite tested * - packages support - custom types rendering - firebird fixes * sqlce (v5) fixes, v7 is not ready yet * sqlce v7 fixes * - sybase support - fixes - remove strong name * clickhouse support * sql server support (partially) * sql server support * postgresql linqpad 5 fix * npgsql types rendering * mysql/mariadb support * oracle support * sap hana support * db2/informix support * cleanup * pre-built context support * update dependencies * code cleanup * finalize release notes * Update Build/README.md Co-authored-by: Stuart Turner <stuart@turner-isageek.com> * Update README.md Co-authored-by: Stuart Turner <stuart@turner-isageek.com> * Update release-notes.md Co-authored-by: Stuart Turner <stuart@turner-isageek.com> * add clickhouse provider information to UI * [clickhouse] add FixedString to string mapping option * add polysharp * sql logger: don't log RecordsAffected when it is not set * Database -> Database Type * dialect detection for sql server, oracle, pgsql --------- Co-authored-by: Stuart Turner <stuart@turner-isageek.com>
I posted this on the LinqPad forum as well, because I'm not sure if it's a limitation of LinqPad or an issue with this driver.
When I make a connection to an MS Access db (either OleDb or ODBC), I'm able to test the connection successfully, I'm able to expand the connection node and see all the tables, and I'm able to run C# code using the connection. But if I choose SQL as the language and try to execute a straight query, I get an error, "Unable to obtain a DbFactory for the connection."
The text was updated successfully, but these errors were encountered: