October 5, 2014 at 8:35 am
WARNING: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service. --> Failed to retrieve data for this request. --> Invalid class
Thanks.
October 5, 2014 at 9:51 am
SQL-DBA-01 (10/5/2014)
WARNING: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service. --> Failed to retrieve data for this request. --> Invalid class
This is a PS provider for Analysis Services. To get rid of this error try the following:
😎
Open SP as Administrator
/* Unrestricted Execution policy */
SET ExecutionPolicy UnRestreicted
/* Import the SQLPS module */
Import-Module SQLPS –DisableNameChecking
/* Import the SQLAS Commandlet*/
Import-module sqlascmdlets
/* List SQLAS commands*/
Get-command -module SQLASCmdlets
October 17, 2014 at 10:10 am
I'm getting the same error as the OP, and the above reply does not help.
I have Sql Analysis Services installed and running. When I enter the following into PowerShell:
import-module SqlPS -DisableNameChecking
I get the same warning message shown in the OP.
Any clues on what is going on here?
August 4, 2015 at 7:05 am
PS C:\> powershell
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\> ipmo sqlps -DisableNameChecking
WARNING: Failed to load the 'SQLAS' extension: An exception occurred in SMO
while trying to manage a service. --> Failed to retrieve data for this request.
--> Invalid class
PS SQLSERVER:\> exit
PS C:\> powershell
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\> ipmo sqlps -WarningAction SilentlyContinue -DisableNameChecking
PS SQLSERVER:\>
November 17, 2015 at 10:28 am
Note the
"This is a PS provider for Analysis Services. To get rid of this error try the following:"
comment
If Analysis Services in not installed, the error will persist:-D
Make sure it's running too or you'll get the warning below
WARNING: The local computer does not have an active instance of Analysis Services.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply