当我尝试执行SQL Server代理作业(在SSAS表格上删除数据库)时,我收到以下错误:
[136] Job Test reported: Microsoft.AnalysisServices.Xmla.ConnectionException: A connection cannot be made. Ensure that the server is running. --->
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:2383
at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
at Microsoft.AnalysisServices.Xmla.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
--- End of inner exception stack trace ---
at Microsoft.AnalysisServices.Xmla.XmlaClient.OpenConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded)
at Microsoft.AnalysisServices.Xmla.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
at Microsoft.SqlServer.Management.Smo.Olap.SoapClient.Connect()
at OlapEvent(SCH_STEP* pStep, SUBSYSTEM* pSubSystem, SUBSYSTEMPARAMS* pSubSystemParams, Boolean fQueryFlag)
我的问题是:为什么作业在使用SQL Agent作业执行时不起作用,并且在我手动删除相同的数据库时起作用?我该怎么做才能解决这个问题?
对于SQL Server代理和SSAS之间的连接,工作执行的步骤应该将服务器实例称为\。