none
Get Error when trying to start powershell from SQL Extended Events Session RRS feed

  • Question

  • When using the start powershell command from SSMS -> Management -> Extended Events -> Sessions -> my session I get an error as detailed below. How do I go about fixing this?

    Thank you in advance.

    ===================================

    Value cannot be null.
    Parameter name: value (mscorlib)

    ------------------------------
    Program Location:

       at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
       at Microsoft.SqlServer.Management.PowerShellTasks.StartPowerShellActionHandler.ReplaceServerNameWithServerNameAndPortInUrn(Urn urn, String serverNameWithPort)
       at Microsoft.SqlServer.Management.PowerShellTasks.StartPowerShellActionHandler.PerformAction(String actionMoniker, IContext context)
       at Microsoft.SqlServer.Management.TaskManagementService.Microsoft.SqlServer.Management.ITaskLauncherService.PerformAction(String actionMoniker, IContext context)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ActionMenuItem.Invoke()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)

    Thursday, October 22, 2020 4:00 PM

All replies

  • Hi RandomUser16

    This forum is dedicated to supporting issues related to open specification. You can access open specifications at https://docs.microsoft.com/en-us/openspecs/. Your inquiry does not seem to be related to open specifications.

    For a better chance of getting an answer to your question, you may want to post your question to the following forum:

    https://docs.microsoft.com/en-us/answers/topics/sql-server-general.html


    Regards, Obaid Farooqi

    Thursday, October 22, 2020 6:37 PM
    Owner