SQL Server 연결을 통해이 응용 프로그램을 만들었습니다. 내 장치에서 제대로 작동하지만 게시 후이 오류가 발생합니다. 응용 프로그램을 시작하지 못했습니다. 이 오류 페이지에서 얻을 :반짝 이는 응용 프로그램은 로컬에서 작동하지만 shinyapps.io에서는 작동하지 않습니다
Attaching package: ‘rsconnect’
The following object is masked from ‘package:shiny’:
serverInfo
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Attaching package: ‘RODBCext’
The following objects are masked from ‘package:RODBC’:
odbcFetchRows, sqlFetchMore
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
Warning in odbcDriverConnect("driver={SQL Server};server=staging.getedara.com\\.,1435;database=Fakahany;uid=****;pwd=*****") :
[RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver Manager]Data source name not found, and no default driver specified
Warning in odbcDriverConnect("driver={SQL Server};server=staging.getedara.com\\.,1435;database=Fakahany;uid=****;pwd=****") :
ODBC connection failed
Error in value[[3L]](cond) : first argument is not an open RODBC channel
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
내 코드는 여기에있을 것입니다 : my app code
오류가 발생하면 응용 프로그램이 배포 된 Linux 상자에 'ODBC'가 구성되지 않습니다. –
리눅스가 아닌 Windows에서 작업하고 있습니다. – Believer
Shinyapps.io는 linix 상자에 있습니다. –