Yossi Dahan [BizTalk]

Google
 

Friday, March 04, 2011

No A4SWIFT 2.3 folder was found under the SWIFT Messages folder

Using BizTalk SWIFT Accelerator 2010 on my new laptop I got this error when trying to deploy the BRE validation policies for my schemas.

This is only visible by inspecting the log which, on Windows 7, is created at C:\ProgramData by default.

The error is somewhat misleading, because I’m not using A4SWIFT 2.3 (but rather the newer 2010 version), but don’t be tempted to run and install that, the problem, in my case, is that I’ve got a 64-bit machine and therefore the paths in the BREDeployment Tool’s configuration file are incorrect -

Go to C:\Program Files (x86)\Microsoft BizTalk Accelerator for SWIFT\SDK\Tools and edit the BREDeployment.exe.config file, I had it as -

<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
<appSettings>
<add key="BasePoliciesDirectory_MT" value="C:\Program Files\Microsoft BizTalk Accelerator for SWIFT 2010 Message Pack\SWIFT Messages\A4SWIFT-SRG2010\Base Policies" />
<add key="SchemasDirectory_MT" value="C:\Program Files\Microsoft BizTalk Accelerator for SWIFT 2010 Message Pack\SWIFT Messages\A4SWIFT-SRG2010" />
<add key="VocabularyDirectory_MT" value="C:\Program Files\Microsoft BizTalk Accelerator for SWIFT 2010 Message Pack\SWIFT Messages\A4SWIFT-SRG2010\Base Policies\Vocabulary" />
<add key="LogFileName_MT" value="C:\Documents and Settings\All Users\Application Data\BREDeploymentLog.txt" />
<add key="LogFileName_MX" value="C:\Documents and Settings\All Users\Application Data\BREDeploymentLog_MX.txt"/>
<add key="VocabularyDirectory_MX" value="C:\Program Files\Microsoft BizTalk Accelerator for SWIFT\SDK\MX Messages\Base Policies\Vocabulary"/>
<add key="SchemasDirectory_MX" value="C:\Program Files\Microsoft BizTalk Accelerator for SWIFT\SDK\MX Messages"/>
<add key="BasePoliciesDirectory_MX" value="C:\Program Files\Microsoft BizTalk Accelerator for SWIFT\SDK\MX Messages\Base Policies"/>
</appSettings>
</configuration>




but the accelerator was installed under C:\Program Files (x86)\Microsoft BizTalk Accelerator for SWIFT so these paths need to be updated!



(whilst you’re at it, you might want to update the paths to the log files as well….)

Labels: ,

0 Comments:

Post a Comment

<< Home