1720310 - Xerces-c_2_7.DLL issue with Autodesk Mapguide Enterprise 2011 and Crystal Reports

SAP Knowledge Base Article - Public

1720310 - Xerces-c_2_7.DLL issue with Autodesk Mapguide Enterprise 2011 and Crystal Reports

Symptom

  • Mapguide Enterprise 2011 and Crystal Reports for Visual Studio 2010 installed on the same computer
  • Running Mapguide Enterprise 2011 and then an application using the Crystal Reports SDK for VS .NET results in the error:

 "Could not load C:\Program Files (x86)\SAP\Business Objects\Crystal Reports for .Net Framework 4.0\ Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\crpe32.dll"

  • Running the application that uses the Crystal Reports SDK for VS .NET and then running Mapguide Enterprise 2011 results in the error:

 "Unable to load DLL "MapGuideCommonUnmanagedAPI": The specific procedure could not be found (Execption from HRESULT: 0x8007007F)

Environment

  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010
  •  Autodesk Mapguide Enterprise 2011

Cause

  • Both  Autodesk Mapguide Enterprise 2011 and Crystal Reports use xerces-c_2_7 DLL
  • Each application uses / installs a different version of the dll

Resolution

  • Rename the xerces-c_2_7.DLL that is installed by  Autodesk Mapguide Enterprise 2011 to *.old
  • Copy the xerces-c_2_7.DLL from the Crystal Reports directory (C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86) to the Autodesk Mapguide Enterprise 2011 directory

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio