Invalid Index in Crystal Report

Hello,
I have written a code which displays records in the crystal report filtered by a textbox in the windows form. I wanted to pass the value of the textbox into the parameter field found in the header of the report. Please help anyone.
SqlConnection conn = conString.getCon();
ReportDocument cy = new ReportDocument();
dt1 ds = new dt1();
conn.Open();
cy.Load(Application.StartupPath + @"\crpt.rpt");
SqlDataAdapter da = new SqlDataAdapter("exec viewInfo @gen", conn);
da.SelectCommand.Parameters.AddWithValue("@gen", txtGender.Text);
da.Fill(ds.Info);
cy.SetDataSource(ds);
cy.SetParameterValue("gName", txtGender.Text); // prompts invalid index although I did check this already
//Everything works except this line
crystalReportViewer1.ReportSource = cy;
conn.Close();
Thanks in advance.

Hi dptmpc,
Thank you for posting in MSDN forum.
Since
this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
Based on your issue, since this Crystal Report is a third-party report, we are not support it. So I suggest you could try to consult this issue to this Crystal Report site:http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%5bthread%5d
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Invalid Index in Web Report

    Post Author: mhamill
    CA Forum: .NET
    I have a report which is being published and viewed on the web via a CrystalReportViewer app to display the reports (.rpt files)All other reports are running fine.
    When I run this new report in Crystal on my desktop- It works fine.  When I publish to the web I get this error:
    System.Runtime.InteropServices.COMException: Invalid index
    [COMException (0x8002000b): Invalid index.]   CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0   CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +30   CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +46   CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +144   webViewer.webViewer.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\reportTool\webViewer\webViewer.aspx.vb:68   System.Web.UI.Control.OnLoad(EventArgs e) +67   System.Web.UI.Control.LoadRecursive() +35   System.Web.UI.Page.ProcessRequestMain() +750
    I have REMOVED the parameter field from the report and still get this error.  When I view the SQL there is no WHERE clause in the statement.
    Any Ideas?  It is an elaborate report and I dont want to start over.  

    Post Author: alembic
    CA Forum: .NET
    Hi, were you able to resolve this problem? I'm getting the same exception when I deploy my report. It works fine on my development machine. The only difference in my case is that SetParameterValue bombs when I try to set a value for a subreport parameter.

  • Invalid Index Error when Report is run on Web

    Post Author: mhamill
    CA Forum: Crystal Reports
    I have a report which is being published and viewed on the web via a CrystalReportViewer app to display the reports (.rpt files)All other reports are running fine.
    When I run this new report in Crystal on my desktop- It works fine.  When I publish to the web I get this error:
    System.Runtime.InteropServices.COMException: Invalid index
    [COMException (0x8002000b): Invalid index.]   CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0   CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +30   CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +46   CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +144   webViewer.webViewer.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\reportTool\webViewer\webViewer.aspx.vb:68   System.Web.UI.Control.OnLoad(EventArgs e) +67   System.Web.UI.Control.LoadRecursive() +35   System.Web.UI.Page.ProcessRequestMain() +750
    I have REMOVED the parameter field from the report and still get this error.  When I view the SQL there is no WHERE clause in the statement.
    Any Ideas?  It is an elaborate report and I dont want to start over.  

    Post Author: Ted Ueda
    CA Forum: JAVA
    The PSReportFactory service, CR Page Server, is only for viewing Crystal Report formats, and not instances in other formats.
    For the other formats, ensure you list the SI_FILES property in the InfoStore query, then cast the resulting InfoObject to IContent.  The IContent interface support methods to stream the file content from the File Repository Server.
    Sincerely,
    Ted Ueda

  • Mapping Arrays indexing in Crystal Reports formulas and indexes

    <span style="font-size: 10pt; font-family: &#39;Times New Roman&#39;"><p style="margin: 0in 0in 0pt" class="MsoNormal">I just took a Crystal Reports Designer class today and I presented the Array Mapping technique to the instructor. Since he was very interested I decided to post it here, so more people can benefit from it.</p>  <p style="margin: 0in 0in 0pt" class="MsoNormal">This is an idea used a lot in C++. I designed a formula using two symmetric arrays. One to hold values to be used to test a condition, and a second one to hold values to be outputted when the condition is found. Since the index in the test values array for a given value to be tested matches the index of return values array of the correspondent output value, this methodology is called index mapping.</p>  <p style="margin: 0in 0in 0pt" class="MsoNormal">Here follows the code:</p>   <p style="margin: 0in 0in 0pt" class="MsoNormal">//testValues array store values to be tested in the formula</p><p style="margin: 0in 0in 0pt" class="MsoNormal">Local StringVar Array testValues :=<span>     </span>MakeArray ( "S",<span>         </span>"M",<span>    </span><span>    </span>"L",<span>       </span>"XL");</p>  <p style="margin: 0in 0in 0pt" class="MsoNormal">//returnValues array store values to be returned by the test formula</p><p style="margin: 0in 0in 0pt" class="MsoNormal">Local StringVar Array returnValues :=<span>   </span>MakeArray ( "Small",<span>    </span>"Medial",<span>   </span>"Large",<span>  </span>"Extra Large", </p><p style="margin: 0in 0in 0pt" class="MsoNormal"><span>                                                    </span>"App Type not Found");</p><p style="margin: 0in 0in 0pt" class="MsoNormal">Local NumberVar i := 1;</p><p style="margin: 0in 0in 0pt" class="MsoNormal">Local Numbervar returnIndex := -1;</p>   <p style="margin: 0in 0in 0pt" class="MsoNormal">//Loop through the entire array for each values of the field</p><p style="margin: 0in 0in 0pt" class="MsoNormal">While<span>   </span>i <= Ubound(testValues) AND returnIndex = -1 Do(</p><p style="margin: 0in 0in 0pt" class="MsoNormal">//Actual test of the values and return bellow</p><p style="margin: 0in 0in 0pt" class="MsoNormal"><span>        </span>If ToText({CUSTOMER.SIZE}, 0) = testValues<i> Then( </p><p style="margin: 0in 0in 0pt" class="MsoNormal"><span>            </span>returnIndex := i;);</p><p style="margin: 0in 0in 0pt" class="MsoNormal"><span>      </span><span>  </span>i := i + 1;</p><p style="margin: 0in 0in 0pt" class="MsoNormal">);</p>   <p style="margin: 0in 0in 0pt" class="MsoNormal">//If any value found return it, else return last value in the return value array</p><p style="margin: 0in 0in 0pt" class="MsoNormal">If returnIndex = -1 Then</p><p style="margin: 0in 0in 0pt" class="MsoNormal"><span>    </span>returnValues[Ubound(testValues) + 1]</p><p style="margin: 0in 0in 0pt" class="MsoNormal">Else</p><p style="margin: 0in 0in 0pt" class="MsoNormal"><span>    </span>returnValues[returnIndex]</p>  <p style="margin: 0in 0in 0pt" class="MsoNormal">Fell free to email me if you have questions and enjoy the code...</p></span>

    Can you help with the below?
    Group on Client/Location, Brokerage Rate, Product
    Read all records for a particular group and store each different currency in an array
    On change of group display contents of the stored array. 
    e.g.
    Record 1         ABN   AM      FUTURE RATE AGREEMENT       0.012500%      DKK  
    Record 2         ABN   AM      FUTURE RATE AGREEMENT       0.012500%      EUR
    Record 3         ABN   AM      FUTURE RATE AGREEMENT       0.012500%      GBP
    Record 4         ABN   AM      FUTURE RATE AGREEMENT       0.012500%      USD
    On change of group I would like to display the following
                            ABN   AM      FUTURE RATE AGREEMENT       0.012500%      DKK   EUR    GBP    USD

  • Invalid TLV Record - Crystal Report XI R2

    Hi I am getting "Invalid TLV Record" when opening crystal report on production server. After recycling the application pool the problem getting solved.
    Event viewer Shows this error:
    Error: File /CrystalReports/Viewer/ASP/RDCrptserver11.asp  Unexpected error. A trappable error (E06D7363) occurred in an external object. The script cannot continue running..
    Crystal Report XI developer edition was installed in the production server and with out unistalling the XI version we deployed the XI R2(side by side installation)  using CrystalReports11_5_NET_2005.msi - Service Pack4 for .Net( for exporting as pdf) and RDC Compnents using  Crystal Report XI R2 Service pack 4 Merge modules
    Reports are showing using ActiveX Viewer with classic ASP in our ASP.Net 2.0 Application.
    But the reports are still using Crystal Report XI RDC not XI R2 RDC because the XI RDC Viewer was already installed in users machines.
    Thanks in advance

    Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

  • How to take a row from database using index on crystal reports?

    i use datebase field a place but i want to use just a row database field another place. can i take database row its index number? just like [3].

    Hi Guys,
    This is a first.... Can I ask the original poster to please sign up with a new account and repost? At this point we don't know who you are.
    Our developer have been made aware of this problem and should be looking into shortly.
    I am going to lock this post also so the Real Gary doesn't get a bunch of E-mails.
    Thank you
    Don

  • Invalid Key code Error while installing crystal report server 11

    While installing crystal report server 11,i am facing an erro which says Invalid Key code Error.I had raised this issue to SAP customer support and attaching the conversation that we had.PLEASE HELP me to resolve the issue.
    MAILS--Dear Mohit,
    Thanks for the patience.
    We have received the below update from the Licensing Team.
    You received your permanent key in respect of these licenses - the key is  for Crystal Reports Server XI.
    You did not purchase these licenses for Crystal Reports Server, but purchased it for Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer.  The software included was version XIR2, but you elected to use version XI instead and received key .
    You would need to enroll the licenses in maintenance if you want to upgrade them.
    In case of any queries please create a ticket via the Service Market Place.
    Regards,
    Jessy
    Customer Interaction Center
    SAP Active Global Support
    Hello Jessy,
    The customer received their permanent key in respect of these licenses - the key is  for Crystal Reports Server XI.
    They did not purchase these licenses for Crystal Reports Server, they purchased Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer.  The software included was version XIR2, but they elected to use version XI instead and they received key .
    They cannot decide to upgrade now - they must enrol these licenses in maintenance if they want to upgrade them.
    Kind regards,
    Rosemary
    From: BOSAPASIA
    Sent: 29 September 2009 05:49
    To: Savage, Rosemary
    Subject: FW: Crystal Reports Server Installation Issue
    Importance: High
    HI Rose ,
    Need your assistance on the below issue.
    Customer purchased Crystal Report Server XI R2 in 2005. When he is trying to install it now, he is getting an Invalid Key code Error.
    He has provided us the Scanned copies of the Key code and the registration number.Can you please help and check if he can be provided with a Keycode.
    Regards,
    Jessy
    CIC Team Lead
    Customer Interaction Center
    Global Support Centre India
    SAP Labs India Pvt Ltd
    Hi,
    Providing you with the required details to proceed further
    Registration Number-
    Registration Email Address-taxmantra.support
    And also please find attached the scanned copy of the Registration key we got for the Crystal report server.
    Dear Mohitk,
    Thank you for your information.
    I checked with the concerned colleague and received the below update:
    Please check from where you got this key code. If from a paper, please scan it to us. Please let them track to the original paper or email.
    If you have registered the key code, please provide us the registration number or registration email address so that we will try to check for you.
    If you did not register before, as the promotion is over so the key code could not be replaced.
    I request you to kindly check the same at your end and revert with the details.
    Moreover, there are two ways for Crystal Report customer to get support.
    One is customer with bundled product such like BOE and under maintenance. These customers will have an S-user ID and password to log a case in service market place via http://service.sap.com/message
    A learning map was provided, listed on left column.
    The other is customer with only Crystal report product, the support is via SDN.
    http://service.sap.com =>Crystal Reports and Xcelsius Support=>Crystal Reports and Xcelsius Forums
    Customers can first check whether other customer has got the same issue and find the reply from our engineers.
    You may also post your own thread for support.
    Anything else I could help, please do not hesitate to contact again.
    Hi,
    I am providing you with the details required to resolve the issue related to Crystal report installation,for reference of the issue please refer the mail below.
    Please find attached the Scanned Document  containing the details as per the details required by you.
    Hope to see a quick resolution for the issue.
    Dear Mohit,
    Thank you for your e-mail.
    As discussed, I understand that youu2019ve procured Crystal Reports Server 11 in 2006. However youu2019re facing issues with key codes while reinstalling the same. We request you to kindly provide us with below details for further assistance.
    Your customer number:
    Your customer name and address:
    Purchase order number:
    Any other products purchased along with Crystal Reports Server 11
    Any S-User Id:
    Any old case ID:
    Please feel free to contact us if any further queries.
    Hi,
    I am raising this concern on behalf on Taxmantra project (Tata Consultancy Services noida).
    We have bought licensed Crystal Reports Server 11 near by 2006.We are trying to install the crystal server but while installing ,we have encountered with an error message that:-
    "The product key code you have entered is incorrect"
    We are facing the same issue in 2006,I am attaching with this email the conversations that was held in 2006 to get the correct key code.
    Please help us to resolve the issue as early as possible.
    My contact number:
    If you need any further information do let me know

    Ajit,
      By design, the product is not able to be installed under the superuser account.
    1.  Create a new user and specify a home directory for the user without a quota set.
    2.  Copy or move the installation files to a directory that the new user can read.  I suggest you move the installation files directly into the new user's home directory.
    3.  Logon as the new user (or su - newuser)
    4.  run the installation shell script using that new user's account.
    NOTE:  Ensure the system meets the requirements from the supported platforms documents.
    .Tony

  • Crystal Report error - The Handle is invalid;

    I get the error 'The handle is Invalid' when I try to print a crystal report that is opened in the Report viewer.
    I was wondering if anyone has encountered this is has a solution.
    The report was created using Crystal Report 2008 for SAP B1.
    Regards
    Albert

    Albert,
    You may check those old threads first:
    Embarrasing issue
    Re: 5 : - The handle is invalid
    Landscape test connection failure: The handle is invalid.
    Thanks,
    Gordon

  • Invalid report File path-crystal report

    Hi Every one,
    I created Crystal Layout for GRPO PLD.When I am trying to import it is showing 'Invalid report file path',But it is working fine in another server.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    Not sure below SAP note related to above issue:
    1710613 - CR_Multiple Data Sources Not Recognized After Importing
    Multi-Database Crystal Reports
    1668274 - Print Draft with Crystal Layout
    Thanks & Regards,
    Nagarajan

  • 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

  • Crystal Reports XI: Invalid column name error

    Hello!
    I have a crystal report using a SQL command that is getting the following error (occasionally):
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x80040e14
    Source: Microsoft OLE DB Provider for SQL Server
    Description: Invalid column name 'IPCSKUGroup'.
    SQL State: 42S22
    Native Error: 207 [Database Vendor Code: 207]
    I say occasionally because if i go to Database>> Log on or Log off server and log off the target server and then rerun the report, it will work.  If i refresh the report with different parameters, i get the error.
    I'm running Crystal Reports XI version 11.0.0.1282 on Windows XP SP2 32-bit.  The data is in a SQL Server 2000 database.
    This is the portion of the query causing the problem:
    (drop/clear temp tables and initiallize a few variables with parameters)
    (...other queries putting together the temp table #WorkingTotals) - This part works fine because the report runs if i remove the following portion.
    select wtt.QtrMax,QuarterName,Year,wtt.IPCSKUGroup as IPCSKUNum,ServicePriceSuggested,PcsBilled,BilledRevenue,PriceIndex,StdRevenue,
    (select sum(TT.BilledRevenue) from
    (select Top 4 wt2.BilledRevenue
    from #WorkingTotals2 wt2
    where wt2.IPCSKUGroup = wtt.IPCSKUGroup and wt2.QtrMax <= wtt.QtrMax order by wt2.QtrMax desc)as TT)
    as M12Revenue
    from #WorkingTotals wtt
    The entire query works fine when I run it in SQL Query Analyzer.  But Crystal has an issue with the way i'm figuring the M12Revenue field.  The M12Revenue is a moving 12 month revenue which is the sum of the revenue for the past 4 quarters for each quarter.
    This is what i've tried thus far:
    Putting the entire query into a stored procedure
    Storing what gets stored in #WorkingTotals into a database table rather than a temp one
    Renaming columns to various different things.
    Each of those still resulted in the error.
    Thanks for the help!!!
    Wes

    Hi Wes,
    What does SQL Profiler show you when the error happens?
    Try using ODBC to see if it also errors, may be an issue in MS's MDAC and the OLE DB driver. MS usually updates MDAC with all Patches but you may want to verify you are using the latest version.
    Thank you
    Don

  • Crystal reports 2011 installation INS00140 "Invalid KeyCode" error.

    I just purchased and downloaded the latest Crystal Reports 2011 (SP02) version and I am getting the infamous INS00140 Invalid KeyCode error.  I have read and tried all the solutions that I could find in this forum, and some more quasi-solutions found on the web:  I have tried the installation on 2 different XP  workstations and even on a Windows 2003 server platform, TO NO AVAIL.
    I have now spent a week 'Fiddling'  around with this, and I am not IMPRESSED.  Is there a REAL solution to this, anyone? I am not spending another week mucking around with this , and I need to know who to contact to get this RESOLVED...please.

    Hello,
    It is the crypt*.dll causing the problem. Some older program installed it into the system32 folder which is not MS Certifiable now. I found older versions of Adobe Reader put it in the \system32 folder but there may be others also.
    What is in your PATH statement?
    The problem is the version CR installs will be about 1.2 meg, older versions do not have the updates Cr requires and because what ever program is using it it's in memory so CR uses it which causes the install to fail. SP 3 I believe will have a fix from RSA and it will either be renamed and/or not sure what they are going to do to it to fix compatibility issues with older versions.
    You could try just using the defaults in both the System and User:
    PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;
    Copy your path from the System Environment variables and then change it to something like the above and try again. Once Cr is installed then name it back. Problem is if that program that does need it runs first CR is going to break when trying to start it up. If that happens and it installs then try renaming the one in the \system32 folder and copy CR's in it's place. Change the PATH back and then re-boot and it may work. I believe the files is common for all and backward compatible so what ever program is using it should work with the one from the CR folder.
    I'll pass this onto one of the guys here who is looking after these install issues and see if he has any more suggestions.
    Don

  • Crystal Reports 9 called from a VB6 application - Invalid TLV record

    I have a VB6 app that calls a Crystal Reports 9  CRViewer9.  On two PC" I got "Invalid TLV record". From what I read I think that there is a problem with a .dll but I not sure which one so I reinstalled Crystal Reports 9 on one PC and it corrected the problem.  However when I tried this solution on the 2nd PC (XP SP3) I get
    Error 1904. Module commonobjmodel..dll failed to register.  HRESULT -2147024770.
    If I press Ignore, I get the same message for several other .dll's.  I tried going to the DOS command and use REGSVR32 but it fails as well.
    Any suggestions?

    hello,
    A couple of possible causes. They have an older version of CR which installed crpe32.dll into the \windows\system32 folder. If so rename it as well as the \windows\Crystal folder.
    You don't have all of the required dependencies on the work station.
    Or you don't have permission, must have local PC Admin rights, to install software.
    Don

  • "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

  • Crystal Reports 8.5 "Invalid TLV" after reinstall

    Good morning,
    We had a billing machine that was using Crystal Reports 8.  The hard drive died, we reinstalled the OS, reinstalled Crystal, and now we're getting errors when trying to open old reports "Invalid TLV Record."
    I've tried the steps below:
    u2022         Ensure the crystal report versions match. (i.e., the version in which the report has been created has to match the version at the client's workstation.)
    u2022         If the versions are the same and you still get the error, it could be due to a "copy paste mismatch". Try copying the .rpt file in a different location and then running it.
    u2022         If this does not solve the problem, check for the presence of important dll files in the client computer.
    I tried this step, but I have a feeling the error may be fixed somewhere in this step
    Still can't get anything to work and I need some help - Please and Thanks!
    -JB

    This is quite peculiar - reason being there was only 1 machine in our ENTIRE organization running Crystal Reports (and of course was NOT backed up) with all of the documents saved locally.
    Is it possible there is a missing service pack that would keep the reports from opening?
    I got a little more info from the folks who actually run the reports - the reports we are having problems opening are the web reports.
    We're able to pull up the apps and run them against the server to get our queries.  For another week we are unable to test the creation of a web report (since we don't have all the information to put into Crystal, yet), but it's on the agenda.
    Is there a special report viewer that we can use to view these .RPT web reports?

Maybe you are looking for

  • Delta Records not coming from sm13 to rsa7

    Hi, We have found that for the application 02, delta records are coming in RSA7(delta queue) even if these are coming in sm13. It appears that some protocol responsible for bringing the delta records from sm13 to rsa7 is failed. Fact is that for the

  • I updated my iPhone's software, but the wrong Apple ID's coming up now.

    Originally my Apple ID was linked to my school email address, but now that I've graduated that email address is no longer valid. I updated my Apple ID to my current email address months ago& I didn't have a problem with it during the update prior. Ho

  • How come my iCloud, messages, twitter, and facebook settings will not let me select them?

    Ever since I upgraded to iOS 6 for my 4th gen iPod I cant acsess my iCloud, Messages, Twitter, and Facebook settings what is happening and how do I fix it.

  • Unresponsive submit button

    I'm locked out of my Quora account, at least via Firefox. I don't know how I logged out (it was unintentional) but when I enter my username and password at their login screen, the submit button is unresponsive. I contacted Quora, and they couldn't re

  • How can i clone a copy of Mac OS X to an external drive?

    Hi Yesterday the guys at the apple store had to reinstall my OS and they installed OS X 10.6 is there a way to create a copy of this to an external hard drive to use in the future if i need to boot from an external source? Cheers matt