You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have also tried with 'dsn' and 'user' = instead of Server and UID.
And with different values for Driver, such as 'SQL Server', 'ODBC Driver 17 for SQL Server', 'SQL Server Native Client 11.0', 'sqlserver'...
But it keeps producing this error:
Found more than one class "Microsoft SQL Server" in cache; using the first, from namespace 'DatabaseConnector'
Also defined by ‘.GlobalEnv’
Error in initialize(value, ...) :
invalid names for slots of class “Microsoft SQL Server”: ptr, quote, info, encoding
I have tried reinstalling odbc and DBI from cran and also from github, with no luck.
Database in the server
SQL Server 2017 v14.0
Drivers installed on my local computer
ODBC Driver 17 for SQL Server
SQL Server 10.0
SQL Server Native Client 11
Any solution?
I have also tried with the latest ODBC 18 Windows drivers and with the latest DBI and odbc R libraries, but I'm still getting the same error.
Using unloadNamespace("DatabaseConnector")
allows me to create the connection with dbConnect.
but after that sometimes I get errors like Not a validObject(): no slot of name "name" for this object of class "Microsoft SQL Server"
Hello.
I'm trying to run this repository
https://github.com/oxford-pharmacoepi/Studyathon_LCPASC
And I have problems when trying to create a connection to a SQL Server with DBI and odbc.
I have also tried with 'dsn' and 'user' = instead of Server and UID.
And with different values for Driver, such as 'SQL Server', 'ODBC Driver 17 for SQL Server', 'SQL Server Native Client 11.0', 'sqlserver'...
But it keeps producing this error:
I have tried reinstalling odbc and DBI from cran and also from github, with no luck.
Database in the server
SQL Server 2017 v14.0
Drivers installed on my local computer
ODBC Driver 17 for SQL Server
SQL Server 10.0
SQL Server Native Client 11
Session Info
The SQL Server works well and it's accessible with other libraries such as RODBC, but with odbc produces an error.
I can't upgrade R nor install some programs because I don't have administrator rights.
The text was updated successfully, but these errors were encountered: