Invalid export DLL or export format

I have created a code to export the report to excel and it works.. but when i use the export property of the crystal report viewer, all file format works except for the excel format and I am receiving this kind of message whenever I tried using export property of the crystal report viewer..
"Error in File rpt017 {4742A80B-0356-499C-9B57-BE59A69BD788}.rpt: Invalid export DLL or export format."
any idea? someone?

Here is my Web config..
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
     <configSections>
          <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
               <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"></section>
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                         <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"></section>
                         <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"></section>
                         <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"></section>
                    </sectionGroup>
               </sectionGroup>
          </sectionGroup>
          <sectionGroup name="businessObjects">
      <sectionGroup name="crystalReports">
        <section name="reportMappings" type="CrystalDecisions.Shared.ReportMappingHandler, CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"></section>
        <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"></section>
      </sectionGroup>
    </sectionGroup>
  </configSections>
     <system.web>
                    <sessionState stateNetworkTimeout="1000000" timeout="50000"></sessionState>
          <httpRuntime executionTimeout="1440"></httpRuntime>
          <pages enableEventValidation="true">
               <controls>
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
               </controls>
               <namespaces>
        <clear></clear>
        <add namespace="System"></add>
        <add namespace="System.Collections"></add>
        <add namespace="System.Collections.Specialized"></add>
        <add namespace="System.Configuration"></add>
        <add namespace="System.Text"></add>
        <add namespace="System.Text.RegularExpressions"></add>
        <add namespace="System.Web"></add>
        <add namespace="System.Web.Caching"></add>
        <add namespace="System.Web.SessionState"></add>
        <add namespace="System.Web.Security"></add>
        <add namespace="System.Web.Profile"></add>
        <add namespace="System.Web.UI"></add>
        <add namespace="System.Web.UI.WebControls"></add>
        <add namespace="System.Web.UI.WebControls.WebParts"></add>
        <add namespace="System.Web.UI.HtmlControls"></add>
                    <add namespace="Microsoft.VisualBasic"></add>
                    <add namespace="System.Data"></add>
                    <add namespace="System.Drawing"></add>
                    <add namespace="System.Data.Odbc"></add>
               </namespaces>
          </pages>
          <compilation defaultLanguage="vb" debug="true">
               <assemblies>
                    <add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"></add>
                    <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"></add>
                    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"></add>
                    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"></add>
                    <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"></add>
                    <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"></add>
                    <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"></add>
                    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"></add>
                    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
                    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
        <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"></add>
        <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"></add>
        <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"></add>
               </assemblies>
      <buildProviders>
        <add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
      </buildProviders>
    </compilation>
          <httpHandlers>
               <remove verb="*" path="*.asmx"></remove>
               <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
               <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
               <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"></add>
               <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"></add>
          </httpHandlers>
          <httpModules>
               <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
          </httpModules>
                              <authentication mode="Forms">
               <forms timeout="1440"></forms>
          </authentication>
          <authorization>
               <allow users="*"></allow>
                         </authorization>
                    <trace enabled="false" requestLimit="10" pageOutput="true" traceMode="SortByTime" localOnly="true"></trace>
          <!--  SESSION STATE SETTINGS
          By default ASP.NET uses cookies to identify which requests belong to a particular session.
          If cookies are not available, a session can be tracked by adding a session identifier to the URL.
          To disable cookies, set sessionState cookieless="true".
    -->          <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB"></globalization>
          <xhtmlConformance mode="Transitional"></xhtmlConformance>
     </system.web>
     <system.webServer>
          <validation validateIntegratedModeConfiguration="false"></validation>
          <modules>
               <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
          </modules>
          <handlers>
               <remove name="WebServiceHandlerFactory-Integrated"></remove>
               <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
               <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
               <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"></add>
               <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"></add></handlers>
     </system.webServer>
     <location allowOverride="true" inheritInChildApplications="true">
          <appSettings>
   <add key="connString1" value="Data Source=lmkdb3.ntpasila.ad.lmk;User Id=lcnwuat_dbo;Password=two-1=one;"></add>
   <add key="crLogonServername1" value="lmkdb3.ntpasila.ad.lmk"></add>
   <add key="crLogonUserID1" value="lcnwuat_dbo"></add>
   <add key="crLogonPassword1" value="two-1=one"></add>
   <add key="connString" value="Data Source=orcldb;User Id=st_test;Password=st_wala;"></add>
   <add key="crLogonServername" value="orcldb"></add>
   <add key="crLogonUserID" value="st_test"></add>
   <add key="crLogonPassword" value="st_wala"></add>
   <add key="TreeViewIcons" value="images/treeicons/icons"></add>
   <add key="TreeViewStyles" value="images/treeicons/styles/classic"></add>
   <add key="leftnavroot" value="Lemcon Staff Tracker"></add>
   <add key="FromYear" value="1900"></add>
   <add key="ToYear" value="2010"></add>
   <add key="FileLocation" value="E:StafftrackerStafftrackerFiles"></add>
   <add key="Server" value="http://192.168.1.115/stafftracker/"></add>
   <add key="MailServer" value="localhost"></add>
   <add key="ViewSearchEmp" value="usercontrols/views/ViewEmployeeProfile.aspx?emp_id="></add>
   <add key="ViewSearchReq" value="usercontrols/views/ViewCustomerRequest.aspx?cr_id="></add>
   <add key="ViewSearchAward" value="usercontrols/views/ViewAwarding.aspx?cr_id="></add>
   <add key="ViewSearchCons" value="usercontrols/views/ViewConsultantContract.aspx?ec_id="></add>
   <add key="ViewSearchCust" value="usercontrols/views/ViewCustomerContract.aspx?cc_id="></add>
   <add key="ViewSearchECon" value="usercontrols/views/ViewEmployeeContract.aspx?empc_id="></add>
   <add key="ViewSearchSoc" value="usercontrols/views/ViewSocialSecurity.aspx?emp_id="></add>
   <add key="ViewEmpRec" value="usercontrols/views/ViewEmploymentRecord.aspx?employ_id="></add>
   <add key="ViewReq" value="usercontrols/views/ViewRequest.aspx?req_id="></add>
   <add key="SiteMaintenance" value="usercontrols/maintenance/Site.aspx"></add>
   <add key="ProjectMaintenance" value="usercontrols/maintenance/Project.aspx"></add>
   <add key="ViewFI" value="FI_Socsec.aspx?grdFISocSecId="></add>
   <add key="ViewFIFam" value="FIFam_Socsec.aspx?grdFISocSecId="></add>
   <add key="ViewEmpRecord" value="Employment.aspx?employ_id="></add>
   <add key="ViewEmpRecord2" value="EmploymentCreateNew.aspx?employ_id="></add>
   <add key="ViewEmpRecord3" value="EmploymentCreateNew02.aspx?employ_id="></add>
   <add key="ViewProjTask" value="Proj_Task.aspx?employ_id="></add>
   <add key="ViewProjTask2" value="Proj_Task2.aspx?employ_id="></add>
   <add key="ViewEmpContract" value="usercontrols/contract/EmployeeContract.aspx"></add>
   <add key="ViewEmpContractLN" value="usercontrols/contract/EmployeeContractLN.aspx"></add>
   <add key="ViewSocSecUI" value="usercontrols/employee/SocialSecurity.aspx"></add>
   <add key="CrystalImageCleaner-AutoStart" value="true"></add>
   <add key="CrystalImageCleaner-Sleep" value="60000"></add>
   <add key="CrystalImageCleaner-Age" value="120000"></add>
   <add key="CountryMaintenance" value="usercontrols/maintenance/Country.aspx"></add>
   <add key="CityMaintenance" value="usercontrols/maintenance/City.aspx"></add>
  </appSettings>
    <connectionStrings></connectionStrings>
     </location>
     <businessObjects>
    <crystalReports>
      <reportMappings>
        <add reportName="Copy of rpt010.rpt" path="usercontrols
eportsCopy of rpt010.rpt"></add>
        <add reportName="Copy of rpt017.rpt" path="usercontrols
eportsCopy of rpt017.rpt"></add>
        <add reportName="CrystalReport.rpt" path="usercontrols
eportsCrystalReport.rpt"></add>
        <add reportName="CustomerWoConsContract.rpt" path="usercontrols
eportsCustomerWoConsContract.rpt"></add>
        <add reportName="default.rpt" path="usercontrols
eportsdefault.rpt"></add>
        <add reportName="MissingWorkRec.rpt" path="usercontrols
eportsMissingWorkRec.rpt"></add>
        <add reportName="RequestwoCandidate.rpt" path="usercontrols
eportsRequestwoCandidate.rpt"></add>
        <add reportName="RequestwoCandidateExp.rpt" path="usercontrols
eportsRequestwoCandidateExp.rpt"></add>
        <add reportName="RequestwoCustCont.rpt" path="usercontrols
eportsRequestwoCustCont.rpt"></add>
        <add reportName="rpt001.rpt" path="usercontrols
eports
pt001.rpt"></add>
        <add reportName="rpt002.rpt" path="usercontrols
eports
pt002.rpt"></add>
        <add reportName="rpt003.rpt" path="usercontrols
eports
pt003.rpt"></add>
        <add reportName="rpt005.rpt" path="usercontrols
eports
pt005.rpt"></add>
        <add reportName="rpt005B.rpt" path="usercontrols
eports
pt005B.rpt"></add>
        <add reportName="rpt006.rpt" path="usercontrols
eports
pt006.rpt"></add>
        <add reportName="rpt006B.rpt" path="usercontrols
eports
pt006B.rpt"></add>
        <add reportName="rpt008.rpt" path="usercontrols
eports
pt008.rpt"></add>
        <add reportName="rpt008B.rpt" path="usercontrols
eports
pt008B.rpt"></add>
        <add reportName="rpt009.rpt" path="usercontrols
eports
pt009.rpt"></add>
        <add reportName="rpt009B.rpt" path="usercontrols
eports
pt009B.rpt"></add>
        <add reportName="rpt010.rpt" path="usercontrols
eports
pt010.rpt"></add>
        <add reportName="rpt011.rpt" path="usercontrols
eports
pt011.rpt"></add>
        <add reportName="rpt013.rpt" path="usercontrols
eports
pt013.rpt"></add>
        <add reportName="rpt017.rpt" path="usercontrols
eports
pt017.rpt"></add>
        <add reportName="rpt018.rpt" path="usercontrols
eports
pt018.rpt"></add>
        <add reportName="StaffPerArea.rpt" path="usercontrols
eportsStaffPerArea.rpt"></add>
      </reportMappings>
      <rptBuildProvider>
        <add embedRptInResource="true"></add>
      </rptBuildProvider>
    </crystalReports>
  </businessObjects>
</configuration>
Edited by: Angelo Emmanuel Heraña on Aug 14, 2008 7:37 AM

Similar Messages

  • Invalid export DLL or export format" with Crystal Reports 2008 to Excel xls

    We are experiencing the same issue as reported in the sticky thread. I answered in that thread, but thought that I woudl open a new thread to keep track of this issue.  I can give you the responses to your questions you have requested in that thread:
    Server Operating System - MS Windows Server 2003 R2 Enterprise Edition SP2
    Version of the .NET Framework - MS .NET Framework 3.5 SP1
    How did you deploy? - Installed CR 2008 SP1 runtime with msi package
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? CRRuntime_12_1_mlb.msi dated Sept. 16, 2008 12:55:00 PM, size: 56,717,824 bytes
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory - File was created 9/13/08 11:21AM, 9451KB File Version: 12.1.0.882
    How many libpng10.dll files are on your system? List all instances. - 1 instance is on the system located in C;\Program Files\Business Objects\Business Objects Enterprise 12.0\win32_x86 directory. It is dated 9/13/08 8:52:26AM 132KB version 1.0.30.1
    Any additional comments - We have tried to export to PDF and this works successfully. However, we can not export to xls or rft formats.
    CRXF_XLS.dll is 905KB 9/13/08 9:38AM Version 12.1.0.882
    CRXF_RTF.dll is 509KB 9/13/08 9:35AM Version 12.1.0.882
    We also have the CR XIR2 server runtime installed side by side on the server as we migrate from CR 2008 to CR XIR2 SP4 ( where this function does work currently).
    Please let me know if you need anything additional.
    Phil
    "Invalid export DLL or export format" with Crystal Reports 2008
    Posted: Sep 27, 2008 12:36 AM       E-mail this message      Reply 
    I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
    Issue
    Exporting a Crystal Report to Excel or RTF format
    .NET application using the Crystal Reports 2008 runtime (version 12.0)
    error Invalid export DLL or export format
    We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
    Server Operating System
    Version of the .NET Framework
    How did you deploy?
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
    How many libpng10.dll files are on your system? List all instances.
    Any additional comments
    What We Know
    The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
    Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
    Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables
    This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.

    Hi,
    I am also having the same problem, except that I am not using Crystal Report 2008 runtime but the actual Crystal Report 2008 installation on Windows XP SP2 with VS Studio 2005 (VC++). MS .NET Framework 2.0.
    Cyrstal Report XIR2 was installed on the same machine but uninstalled before installing Crystal Report 2008.
    So only one instance of libpng10.dll and found in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    Crpe32.dll        3/1/2008 version 12.0.0.683
    Crxf_xls.dll       3/1/2008 version 12.0.0.683
    Crxf_rtf.dll         3/1/2008 version 12.0.0.683
    crdb_oracle.dll  3/1/2008 version 12.0.0.683
    libpng10.dll       3/1/2008 version 1.0.30.0             122880 bytes
    There is no problem for exporting to pdf, html, word, csv, Crystal Report. If I create a testing report without any data from database, the testing report can then be exported also to rtf and xls.
    Oracle 11.1.0.6 is the DB for the reports.
    Adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to the path did not resolve my problem.
    Any idea to fix this issue?
    Thanks
    Kin H Chan

  • Getting Error 'Invalid export DLL or export format'

    Hi, we are getting the above error when exporting to Excel from Crystal Reports. Although the export is via one of our products, the process of exporting the report is controlled by the Crystal Report viewer which we have no control over.
    Basic system details are as follows:
    Operating system : - Windows Server 2003 R2 Service pack 2
    Crystal Reports : - Crystal Reports Developer version 12.0.0.683, product type : Full
    Problem summary : - When exporting a report, exporting to excel produces an error 'Invalid export DLL or export format'.
    We have tried the following so far, obviously to no avail:
    The Business Objects folder has been added to the PATH variable.
    Crystal Reports has been deinstalled and reinstalled.
    Your help in getting to the bottom of this is greatly appreciated!

    Hi.
    Please check the fourm
    "Invalid export DLL or export format" with Crystal Reports 2008
    Regards
    Gangadhar

  • "Invalid export DLL or export format" with Crystal Reports 2008

    I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
    Issue
    - Exporting a Crystal Report to Excel or RTF format
    - .NET application using the Crystal Reports 2008 runtime (version 12.0)
    - error Invalid export DLL or export format
    We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
    - Server Operating System
    - Version of the .NET Framework
    - How did you deploy?
    - If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
    - What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
    - How many libpng10.dll files are on your system? List all instances.
    - Any additional comments
    What We Know
    - The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
    - Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
    - Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables. Note the system must be restarted after editing the path variable.
    - This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    - libpng10.dll has changed versions from SP0 to SP1. In SP0 it was 1.0.30.0 and in SP1 it is 1.0.30.1
    libpng10.dll dependencies
    The dependencies have also been updated for libpng10.dll in service pack 1. This may have something to do with the export issue. If you've deployed your application with the latest merge modules or setup package for service pack 1 you'll want to make sure you have version 1.0.30.1 of libpng10.dll.
    Version 1.0.30.0
    - zlib.dll
    - msvcr71.dll
    - kernel32.dll
    Version 1.0.30.1
    - boezlib.dll
    - msvcr80.dll
    - kernel32.dll
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.
    Edited by: David Hilton on Jan 14, 2009 10:07 AM

    Our company has also been experiencing this issue with deployed versions of our software, and during my examination of the error I have made the following discoveries:
    For us the error has only been reproduced on Windows 2003 running Citrix
    The error does not occur on Windows XP, Windows 2003 or Vista without Citrix
    For installation of our application we use the CRRuntime_12_0.msm merge module (version 12.0.0.683, file size 46790KB)
    As mentioned in the first post this error is related to the files crxf_rtf.dll and cfxf_xls.dll being unable to locate its reference to the file libpng10.dll during load.
    I have run the application with ProcMon (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) attached on both environments that work correctly and that does not work and iIve made these observations:
    During load of dlls Windows searches for references in the following orders (see http://msdn.microsoft.com/en-us/library/ms682586.aspx):
    1. The directory from which the application loaded.
    2. The system directory.
    3. The 16-bit system directory.
    4. The Windows directory.
    5. The current directory.
    6. The directories that are listed in the PATH environment variable.
    Looking at the ProcMon log for the environment where it works correctly (Windows XP, no Citrix) it looks like this . Numbers represent the search order mentioned above:
    Load Image     C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll     SUCCESS     Image Base: 0x3e640000, Image Size: 0x79000
    (1) QueryOpen     C:\Program Files\<our application name>\libpng10.dll     NAME NOT FOUND     
    (2) QueryOpen     C:\WINDOWS\system32\libpng10.dll     NAME NOT FOUND     
    (3) QueryOpen     C:\WINDOWS\system\libpng10.dll     NAME NOT FOUND
    (4) QueryOpen     C:\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (5) QueryOpen     C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\libpng10.dll     SUCCESS      ...
    So you can see it finds the file in the "current directory"
    Now, from the environment where it does not work (Windows 2003 Server / Citrix):
    Load Image     X:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll     SUCCESS     Image Base: 0x3e640000, Image Size: 0x79000
    (1) QueryOpen     X:\Program Files\<our application name>\libpng10.dll     NAME NOT FOUND     
    (2) QueryOpen     X:\WINDOWS\system32\libpng10.dll     NAME NOT FOUND     
    (3) QueryOpen     X:\WINDOWS\system\libpng10.dll     NAME NOT FOUND     
    (4) QueryOpen     X:\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (5) QueryOpen     X:\Documents and Settings\<my user name>\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (6) QueryOpen     ... loops trough all paths in the PATH variable, finding nothing
    As you can see somehow the current directory is %USERPROFILE%\WINDOWS and not the Crystal Reports bin path in this environment at the time of loading the dll.
    I have yet to discover why this is the case, but i tought i could share what I have found =)
    The %USERPROFILE%\WINDOWS folder is not a standard Windows folder, and I think it is used by Citrix for some files (like win.ini)
    This also shows why adding the bin folder to the PATH variable is a valid workaround for some, but for us this is not really a good solution as we need this to work out of our installer. We don't always have consultants do the installations for the customers and we cannot expect them to manually edit the PATH variable, and we don't want to add to the PATH variable in the installer unless this is the only way...
    So, I hope this maybe can bring you closer to being able to reproduce it. I'm still looking into it, will post more if I find something else interesting

  • Export to Excel 2007 failed - Invalid export DLL or export format.

    Hi,
    Environment:
    OS: Windows XP (SP3)
    Crystal Reports : 12.1.0.892
    We have a problem for exporting few reports to Excel 2007 (Export to Excel 2003 works fine for those reports).
    Getting the bellow while trying to Export to Excel 2007.
    Crystal Report Windows Forms Viewer
    Error in File CDSFUN01 {99B42BC5-2FBB-4F75-A4F5-D7B5B7B6AE0B}.rpt:
    Invalid export DLL or export format.
    OK  
    Export Report
    Export failed.
    OK  
    Its the same case even if we try to Export blank report to Excel 2007 as well. Please help.

    I will make sure that I am on the latest patch ie SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    You can find the rumtimes here:
    MSI:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    MSM:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    ClickOnce
    https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
    Recompile the app and then deploy.
    What is the .NET Framework used by the application?
    Method of deployment?
    OS where app is deployed, x86 or x64?
    Are you able to export the report from designer ie CR2008 Standalone?
    - Saurabh

  • Reproduced bug "Invalid export DLL or export format"

    Hi!
    I hope this post is not against forum guidelines, as it is a new post relating to a sticky post; if it is i apologize in advance and feel free to delete this
    I was able to reproduce the "Invalid export DLL or export format" bug that have been plagueing several of our customers for some time now, and posted the steps to reproduce and an example project in the sticky thread ["Invalid export DLL or export format" with Crystal Reports 2008;
    However, this was over 3 weeks ago and it seems nobody noticed ...
    I was just wondering if  anyone had seen it, and if you have been able to forward it to testers/developers and if there are plans to fix this bug in any future release?
    - Hans Olav Jensen

    The error only occured for those of our customers using Oracle as the database backend for our product. After further examination it seems that the "Invalid export DLL or export format" error is triggered just by having an active Oracle database connection.
    I have created a small console application project that reproduces the bug.
    using System.Data.Common;
    namespace CrystalReportsBugRepro
        class Program
            static void Main(string[] args)
                ReportDocument reportDoc = new ReportDocument();
                DiskFileDestinationOptions diskDestOptions;
                ExportOptions exportOptions;
                if ((args.Length >= 1) && (args[0] == "/triggerBug")) {               
                    DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.OracleClient");
                    DbConnection connection = factory.CreateConnection();
                    try
                        connection.ConnectionString = "Data Source=foo;User ID=foo;Password=foo;Persist Security Info=False;";
                        connection.Open();                   
                    catch (Exception e)
                        // Ignore error, we just want the assembly to load
                reportDoc.Load("HelloWorldReport.rpt");
                diskDestOptions = ExportOptions.CreateDiskFileDestinationOptions();
                diskDestOptions.DiskFileName = "ExportedHelloWorldReport.xls";
                exportOptions = reportDoc.ExportOptions;
                exportOptions.ExportFormatType = ExportFormatType.Excel;
                exportOptions.ExportFormatOptions = ExportOptions.CreateExcelFormatOptions();
                exportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                exportOptions.ExportDestinationOptions = diskDestOptions;
                reportDoc.Export(exportOptions);
    Run the above code as a console application and if the /triggerBug flag is set, the application fails when trying to export to excel, without /triggerBug it succeeds.
    Link to download the project with everything you need to reproduce the bug: [http://www.mediafire.com/?sharekey=0060d2d3559e49ffaf924764f9977b1de04e75f6e8ebb871]
    Edited by: Hans Olav Jensen on Oct 29, 2009 6:40 PM
    Edited by: Hans Olav Jensen on Oct 29, 2009 6:45 PM

  • Error: Invalid Export dll when exporting to Excel from VB,NET 2008

    Version: Crystal Report 2008
    Front End: Visual Basic 2008
    Hello,
    I am trying to export a report to Microsoft Excel [2003] when I get the error "Error in File_Temp......Invalid Export dll or export format".
    from the Windows Form Viewer.
    I have looked in C:\Program Files\Common Files\Business Objects\3.0\bin and found crxf_xls.dll and crxf_xls_res_en.dll, but am not sure if these dlls' are the error source.
    Do these dll files need to be reregistered? Re-installation hasn't worked.
    Thanks
    eburton

    Duplicate

  • Error inExportToDisk method for Excel (nvalid export DLL or export format)

    Hi,
    I'm new to Crystal Reports and facing a problem with its ExportToDisk method. I'm using Crystal Reports 2008 with MS .Net v3.5 SP1. I get the below error while trying to export to a Excel file. The Datasource is a dataset. Could you please help me out?
    -Stack Trace 
    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    -Error message
    Error in File stdiface {3C162A12-5142-4F2C-8709-154FDD0843DB}.rpt:
    Invalid export DLL or export format.
    -Exception source
    CrystalDecisions.ReportAppServer.DataSetConversion
    -Error ID
    InvalidExportOptions
    Any help will be appreciated!
    Thank You!

    Further, our application has recently upgraded to Crystal Reports 2008, and this problem wasn't observed on any of the previous versions.
    Let me summarize the findings as follows:-
    1)When I install my application on a clean XP machine, (which installs Crystal Reports 2008) as a prerequisite, the window service which uses the ExportToDisk method of Crystal Report engine works without a hitch. The report is successfully generated.
    2)However, if I install my application on a machine which had previous version of my application installed (which used Crystal Reports 10) it gives me a problem with the ExportToDisk method (Invalid export DLL or export format) when it's called through a windows service.
    Let me know if you need any additional information.
    Do help!
    Thanks!

  • Invalid export DLL or export format when export  with Crystal Reports 2008

    Hi,
         We have an serious issue while exporting the crystal report into excel. We are able to export into all type in our development environment. But when we tried to export from our server all exports working except the excel. However when we restart the IIS the excel export also working for sometimes and again we are facing the same problem.
    Development environment:
    .Net 2008
    Crystal report 2008
    SQL Server 2008
    +Server Environment:+
    IIS7.0 in Classical mode
    Crystal report 2008 runtime without any SP
        We chosen Classical mode to avoid the error 'an error occurred on the server. printing will be stopped' after a successful print. It is an known issue and I'm curious to know is there any fix available to resolve this issue. Because we prefer Integrated mode.
        Earlier we dont face the excel export problem and we encountered after the SP3 installation. So we uninstalled it from server and we just installed only the run-time. But still we are facing the same problem. we could not able to conclude the cause of this issue because classical mode may create this issue?
    This is a very critical issue to us, so if anyone has the solution please help me.
    Thanks

    Hello,
    Not clear, did you mean when you install SP 3 it worked?
    Use Process Monitor or Fiddler to see what is failing. With out an error message or any other error from IIS logs or Event Viewer logs anything could be the cause.
    Thank you
    Don

  • No Export DLLs found

    When using Crystal XI Developer, I can create and export reports to Excel, pdf, and other formats just fine.
    When using a ICRDesigner in VB6, the report will display and print just fine, but when I click the export button, I get "No Export DLLs found"
    Can someone direct me towards a solution for this?

    Hi Philip,
    If Cr can't find the export dll's we won't list them. Likely what has happened it the register key pointing to the runtime files is either wrong or does not exist.
    Try doing a Repair install from Add/Remove Programs and you must be a local PC administrator or simply add the location of our \bin folder to the PATH statement. If you are using Cr XI ( 11.0 ) then this is the path to add:
    C:\Program Files\Common Files\Business Objects\3.0\bin
    Thank you
    Don

  • Exporting crystal in text format

    HI Experts,
    I am trying last three days to export my crystal report in text file, using crystal report RPT i cant see the text file format. I can see the Rich text format but i want the report to export .txt format so user can view the report through notepad application.
    I have tried using CRAXDRT.DLL to export the report in text fomat, i got suceed in the machine SAP is not installed but when i am trying to run the same program on the machine were SAP is installed it is giving me error "ActiveX component cannot create object" when i run the application through VB.
    When i try running the code through .Net appliaction (C#/.Net) it gives me error "System.Runtime.InteropServices.COMException: Retrieving the com class factory for component with CLSID {-some ID--}" failed due to following error: 800736b1. I am not sure why it is not working i got totally lost... Can you please help to get out of this?
    Can some one provide me the sample code to export the report in the text file.
    Looking forward for your help!
    Regards,
    Naresh

    Ensure same version of crystal report is installed in the target machine, if needed uninstall, test , and install again to detect the issue and update this thread.

  • Error in Crystal Report: Error in File ??:Missing or out-of-date export DLL

    Runtime user getting the following error when trying to create a PDF file from a Crystal Report.
    Where do I search on the machine for the necessary crystal export dll files?
    What are those file names?
    What version of those files should be on the machine?
    Out of these files, should any be registered?
    If so, where in the registry do I check for them?
    The CR2008 SP1 runtime merge modules were installed on this client.

    The files you are looking for are:
    exportmodeller.dll ++
    crtslv.dll ++
    crxf_pdf.dll
    u2d*.dll
    ++ indicates that these files need to be registered
    The files should be in c:\program files\business objects\businessobjects enterprise 12.0\win32_x86
    The merge modules should have installed those files and registered them though. Did you get any errors on install of the runtime? Can you export to any other format? Are you exporting form the viewer, or using code?
    Ludek

  • Export to Excel is formatted differently since we upgraded to XI release 2

    Hi,
    For many of our reports were using the Crystal Reports that came embedded VisualStudio2002. Recently, some of our developers needed to upgrade their laptops to Crystal Reports XI release 2. This forced us to install the Crystal 11.5 redistributable on our web servers, so those developers would be able to run their new reports.
    However, now we are noticing problems with the export-to-excel feature on some of our OLD reports. Even though we have not change/touched the OLD reports at all, the export to excel feature is acting differently.  I strongly suspect it has something to do with the 11.5 redistributable I installed on the servers.
    Specifically, these are the things we noticed missing on our old reports...
    1. Previously, the export-to-excel would mimic the page breaks we setup in the rpt file. Now it does not. The page breaks seem random in the Excel export.  If I export the report to PDF the page breaks seem fine (i.e. exactly how I set them up in the rpt file).
    2. Previously, the page header section would repeat within every page of the Excel document (that is how we wanted it). Now it does not. The page header only shows up once, but then does not repeat anymore.
    Previously, we did not have to set any of the format options in the report, and it worked fine. To try and resolve the problems I have now tried these settings (C#):
    ExcelFormatOptions efo = new ExcelFormatOptions();
    efo.ExportPageBreaksForEachPage =true;
    efo.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
    Those format changes did not help at all.  Does anyone know how to get my page breaks back?
    thanks, --Rick

    Hi Rick,
    The version of CR included in .NET 2002 was version 9. There have been a lot of changes done to our exporting dll's since then that cleaned up how CR exported. You won't be able to fix this using code, it is due to your objects in the page layout that is causing the changes.
    There is a Document that the Report Design team has that is "Best Practices" when laying out reports for exporting so I am transferring this posting to the Report Design Forums to help you with "fixing up" your reports. If you still have issues when previewing/printing/exporting through your application they can transfer this post back.
    Thank you
    Don

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • How to change the default structure when exporting data in CSV format?

    Hello,
    can some one tell us how to change the default structure in CRM when exporting lists in CSV format (with Option "Always use unformatted list format (CSV) for download" ? Because we want to add a new structure for our own -is it possible ?
    If it is possible where can we find these structure ? In the blueprint customizing ?
    Thank you very much,
    Christian

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

Maybe you are looking for