Microsoft KB Archive/874477

= Error &quot;SOAP Server Application Faulted&quot; Using the CRMCustomization.Transform Method =

PSS ID Number: 874477

Article Last Modified on 12/1/2004

-

The information in this article applies to:


 * Microsoft CRM 1.0 SDK

-



TechKnowledge Content
Issue

The following error is returned when using the sample code from the CRMCustomization.Transform Method.

ErrorMessage: SOAP Server Application Faulted  An unexpected error occurred. Transform target field type not valid. d:\mscrm\build\3017\src\platform\include\omcore\CRM\helpers.h 262   Source: System.Web.Services

Potential Cause

The TargetFieldType parameter in the sample code is incorrect. Valid values are 0-3 as outlined below:

Value Description:

0 - Specifies all fields.

1 - Specifies fields that are valid for create.

2 - Specifies fields that are valid for update.

3 - Specifies fields that are valid for read.

Resolution

Change the TargetFieldType to a valid value and the call will be successful.

Incorrect Code

string strResultsXml = customization.Transform (userAuth, objName, Microsoft.CRM.Flags.ObjectType.otQuote, 4);

Correct Code

string strResultsXml = customization.Transform (userAuth, objName, Microsoft.CRM.Flags.ObjectType.otQuote, 3);

This article was TechKnowledge Document ID: 32479

Keywords: kbMBSMigrate KB874477

Technology: kbBizSolSearch kbCRMSDK kbCRMSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.