Jeffrey's Blog

.Net Developer
posts - 19, comments - 8, trackbacks - 0

My Links

News

Archives

Post Categories

WCF BAM Interceptors and primaryImportConnectionString

When trying to get the example in Instrumenting the WCF Getting Started Sample (BizTalk Server Sample) to run, I encountered the following error: 

Server Error in '/servicemodelsamples' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'primaryImportConnectionString'. Note that attribute names are case-sensitive.

Source Error:

Line 50:       <endpointBehaviors>
Line 51:         <behavior name="bamBehavior">
Line 52: 			<BamBehaviorExtension primaryImportConnectionString=
"Integrated Security=SSPI;Data Source=.;Initial Catalog=BAMPrimaryImport;" PollingIntervalSec="1500" > Line 53: </BamBehaviorExtension> Line 54:

Source File: f:\inetpub\wwwroot\servicemodelsamples\web.config    Line: 52


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

After using Lutz Roeder's Reflector, I was able to determine that the configuration should be changed to:

   1: <behavior name="bamBehavior">
   2:     <BamEndpointBehaviorExtension 
   3:         ConnectionString="Integrated Security=SSPI;Data Source=.;Initial Catalog=BAMPrimaryImport;"
   4:         PollingIntervalSec="1500" />
   5:   </behavior>

I could not find a mention of this in Google, so hopefully this will save someone some time out there.

Print | posted on Friday, August 24, 2007 3:50 PM | Filed Under [ WCF BAM BizTalk Error ]

Feedback

Gravatar

# re: WCF BAM Interceptors and primaryImportConnectionString

This was a life-saver -- thank you!
9/12/2008 2:26 AM | First time BAM Interceptors user
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: