helpme
2009-Nov-16 16:22 UTC
[R] Data source name not found and no default driver specified
I'm stumped. When trying to connect to Oracle using the RODBC package I get an error: *[RODBC] Data source name not found and no default driver specified. ODBC connect failed.* I've read over all the posts and documentation manuals. The system is Windows Server 2003 with R 2.81. and the latest downloadable RODBC package. The Oracle SID/DSN is mfopdw. I made sure to add it to Control Panel->Administrative Priviledges->Microsoft ODBC system/user DNS. I've also tried the following in no particular order: 1.) Turn on all oracle services in control panel->administrative priviledges. 2.) Checked tsnnames.ora for SID. 3.) Add microsoft ODBC service to Control Panel services for SID 4.) Use Sqldeveler to test connection another way besides R (It was successful) 5.) channel<-odbcDriverConnect(connection="Driver={Microsoft ODBC for Oracle}; DSN=abc,UID=abc;PWD=abc;"case="oracle") received error drivers SQLAllocHandle on SQL_HANDLE_ENV failed one time; another time I got the error that Oracle client and networking components 7.3 or greater is not found. 6.) tnsping mfopdw lsnrctl start mfopdw tried to add oracle/bin to path Nothing is working. Please advise. Thank you, [[alternative HTML version deleted]]
helpme
2009-Nov-16 19:21 UTC
[R] Data source name not found and no default driver specified
I forgot to mention that it's running Windows Server 2003 x64 OS version On Mon, Nov 16, 2009 at 11:22 AM, helpme <myrquestions@gmail.com> wrote:> I'm stumped. When trying to connect to Oracle using the RODBC package I get > an error: > *[RODBC] Data source name not found and no default driver specified. > ODBC connect failed.* > > I've read over all the posts and documentation manuals. > The system is Windows Server 2003 with R 2.81. and the latest downloadable > RODBC package. The Oracle SID/DSN is mfopdw. I made sure to add it to > Control Panel->Administrative Priviledges->Microsoft ODBC system/user DNS. > > I've also tried the following in no particular order: > > 1.) Turn on all oracle services in control panel->administrative > priviledges. > 2.) Checked tsnnames.ora for SID. > 3.) Add microsoft ODBC service to Control Panel services for SID > 4.) Use Sqldeveler to test connection another way besides R (It was > successful) > 5.) channel<-odbcDriverConnect(connection="Driver={Microsoft ODBC for > Oracle}; DSN=abc,UID=abc;PWD=abc;"case="oracle") > > received error drivers SQLAllocHandle on SQL_HANDLE_ENV failed one time; > another time I got the error that Oracle client and networking components > 7.3 or greater is not found. > > 6.) tnsping mfopdw > > lsnrctl start mfopdw > > tried to add oracle/bin to path > > Nothing is working. > > > Please advise. > > Thank you, >[[alternative HTML version deleted]]
Maybe Matching Threads
- Error using 32-bit R and RODBC package on 64-bit Windows Server OS with R version 2.10
- cdr_odbc with mysql on a remote server
- [asterisk users] asterisk realtime - database driven dialplan
- hung SSH on Solaris when starting Oracle
- Oracle start up script issue with RHEL3 Cluster