我用sql server连接创建了这个应用程序,它在我的设备上正常工作,但发布后出现了这个错误
应用程序无法启动
这是我在这个错误页面中得到的:
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=************;database=*******;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=************\\.,1435;database=************;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