Skip to main content

BizTalk: Error – BAM deployment failed

Error:

Deploying Activity... ERROR: The BAM deployment failed.

Encountered error while executing command on SQL Server "000-0001-XX".

Incorrect syntax near '@@ServiceName'.

Must declare the scalar variable "@@ServiceInstanceId".

Must declare the scalar variable "@@ServiceInstanceId".

Must declare the scalar variable "@@ServiceInstanceId".

Microsoft (R) Business Activity Monitoring Utility Version 3.6.1404.0

Copyright (C) 2006 Microsoft Corporation. All rights reserved.

Using 'BAMPrimaryImport' BAM Primary Import database on server 000-0001-XX...

Resolution:

You BAM Observation Model contains reserve words, ServiceName and ServiceInstanceId. Try changing them.

Comments