cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VeraInSydney
Frequent Visitor

SSMS connection error to Power BI analysis service on "Parameter already exists"

Dear Community,

I am trying to connect Power BI service dataset from SSMS, which was successful, however I can't process tables as it returns error message as follows : 

"

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

paramter name already exists
Parameter name: name (Microsoft.AnalysisServices.BackEnd)


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

at Microsoft.AnalysisServices.BackEnd.DataWarehouse.ConnectionStringBuilder.AddParameter(String name, String value)
at Microsoft.AnalysisServices.BackEnd.DataModelingUtility.AppendCatalogInfo(ConnectionStringBuilder connectionStringBuilder, String databaseName)
at Microsoft.AnalysisServices.ManagementDialogs.ImbiProcessDialog.DoPreProcessExecution(ExRunType runType, ExExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.DoPreProcessExecutionAndRunViews(ExRunType runType)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.ExecuteForOlap(ExPreProcessExecutionInfo executionInfo, ExExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.Microsoft.SqlServer.Management.SqlMgmt.IExExecutionAwareSqlControlCollection.PreProcessExecution(ExPreProcessExecutionInfo executionInfo, ExExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.ExExecutionAwareSqlControlWrapper.PreProcessExecution(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)

"

 

Please let me know if anyone knows how to resolve this.

 

Cheers,

VeraInSydney

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @VeraInSydney,

I suppose you are trying to provide duplicate parameters with the same name in the connection. please double-check your settings and connection to confirm these.

In addition, you can also take a look at the following link about a similar issue if helps:

"parameter name already exists" while trying to Process Database in SSMS (microsoft.com)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @VeraInSydney,

I suppose you are trying to provide duplicate parameters with the same name in the connection. please double-check your settings and connection to confirm these.

In addition, you can also take a look at the following link about a similar issue if helps:

"parameter name already exists" while trying to Process Database in SSMS (microsoft.com)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!