Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

The PowerShell script failed with below exception

$
0
0

Hi 

We are getting following Alerts and found out that if I start "SQL Server Browser" service from our SQL servers this alert doesn't seem to be appear. For Security Reason we have decided to leave "SQL Server Browser" service disabled.

We are planning to override this alert but before than that I ask you guys if there is anything else this alert does?

Will appreciate your feedback.

Thank you

System.Management.Automation.RuntimeException: Exception calling "Fill" with "1" argument(s): "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"At line:44 char:3

+         $SqlAdapter.Fill($DataSet)|out-null
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)




Script Name:    StolenServerMemory2012.ps1


One or more workflows were affected by this.


Workflow name: Microsoft.SQLServer.2012.DBEngine.StolenServerMemory.Collection


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>