SQL Server 2016で新機能Rを学習しようとしていましたが、これを例としてlinkをフォローしていました。SQL Server 2016 Rサービス - SQL Serverが存在しないか、アクセスが拒否されました
新しいログインとしてSQLRUserGroupをセットアップし、いくつかのRスクリプトを実行することができましたが、data_preprocess_score.sqlによって次のエラーメッセージが表示され、接続に関連するように見えます。
Msg 39004, Level 16, State 20, Line 1
A 'R' script error occurred during execution of 'sp_execute_external_script' with HRESULT 0x80004004.
Msg 39019, Level 16, State 1, Line 1
外部スクリプトエラーが発生しました::
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
Error in doTryCatch(return(expr), name, parentenv, handler) :
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
Calls: source ... tryCatch -> tryCatchList -> tryCatchOne -> doTryCatch -> .Call
In addition: Warning message:
In Ops.factor(tsvalues, value.threshold) : '>' not meaningful for factors
Error in ScaleR. Check the output for more information.
Error in eval(expr, envir, enclos) :
Error in ScaleR. Check the output for more information.
Calls: source -> withVisible -> eval -> eval -> .Call
Execution halted
STDOUTメッセージ(以下
EXEC data_preprocess_score @testlength = 1, @id1value = 2, @id2value = 1,
@connectionString = 'SERVER=.;DATABASE=Test;Trusted_Connection=true;`'
はエラーメッセージです:ここで
は、私がSPROC呼び出そうとするものですs):
Rows Read: 166, Total Rows Processed: 166Caught exception in file: CxAnalysis.cpp, line: 6488. ThreadID: 14112 Rethrowing.
[Microsoft][ODBC Driver Manager] Connection not open
ODBC Error in SQLDisconnect
Caught exception in file: CxAnalysis.cpp, line: 5682. ThreadID: 14112 Rethrowing.
Caught exception in file: CxAnalysis.cpp, line: 5249. ThreadID: 14112 Rethrowing.
誰かがこのエラーで私を助けることができますか? ありがとう!
'SERVER ='パラメータの完全停止の代わりに '(local)'または 'localhost'を試してみてください。 – cha
ありがとう、私は試みましたが、それでも私には同じエラーメッセージが表示されました。 – Chengzhi