当我尝试SQL Server R服务教程来设置计算上下文并预测得分时,我得到以下错误。
链接: https://docs.microsoft.com/en-us/sql/advanced-analytics/tutorials/deepdive-score-new-data
当我运行rxPredict命令时:
outDF<-rxPredict(modelObject = logitModel, data =data_train , outData =
scoredOutput, predVarNames = "Score", type = "response",writeModelVars =
TRUE, overwrite = TRUE)
我收到以下错误:
====== XXXX ( process 1 ) has started run at 2018-03-21 17:03:53.93 ======
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'XXXX\MSSQLSERVE1'.
Caught exception in file: CxAnalysis.cpp, line: 5682. ThreadID: 22272
Rethrowing.
Caught exception in file: CxAnalysis.cpp, line: 5249. ThreadID: 22272
Rethrowing.
[Microsoft][ODBC Driver Manager] Connection not open
ODBC Error in SQLDisconnect
Error in doTryCatch(return(expr), name, parentenv, handler) :
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'XXXX\MSSQLSERVE1'.
Calls: source ... tryCatch -> tryCatchList -> tryCatchOne -> doTryCatch ->
.Call
Execution halted
Error in rxCompleteClusterJob(hpcServerJob, consoleOutput, autoCleanup) :
No results available - final job state: failed
implicit list embedding of S4 objects is deprecated</i>
我已经使用了以下链接,但即使我收到同样的错误:
rxPredict throws SQL Server does not exist or access denied error
我确保我的rxSetComputeContext(cc)使用可以创建表的有效用户登录。此外,我正在使用我正在处理的本地SQL Server计算机,因此它不能成为网络问题。
在执行rxpredict命令之前是否需要更改任何权限?
是否有人遇到此问题并成功运行此语句?
提前致谢。