Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Getting error message when launching 7.0 SDK application on some machines


Symptoms

When launching a Dynamics SL 7.0 SDK application (formerly VBTool app) you get an error message on some workstations.

ERROR
*******
Microsoft Windows
WindowsApplication1 has stopped working

Problem Event Name: CLR20r3

↑ Back to the top


Cause

the custom app is trying to compile/debug as 64bit code but it's including the SL 32 bit code

↑ Back to the top


Resolution

Rebuild the application using x86 as the target platform.

To set the target platform do the following:

1) Open Visual Studio

2) Right-click the project and select Project Properties

3) Click the Build button on the left

4) Click the "Platform target" dropdown box and select x86 (the default is "Any CPU")

5) Rebuild and save your project

↑ Back to the top


Keywords: kbmbsmigrate, kbmbspartner, vkball, kb

↑ Back to the top

Article Info
Article ID : 2001653
Revision : 2
Created on : 2/2/2017
Published on : 2/3/2017
Exists online : False
Views : 101