Error :Invalid TLV Record when using with VC++ UI Thread

Post Author: divya prakash
CA Forum: Other
Hello
I am using Crystal Report XI with VC++ 6.0 .When I am trying to print report directly on button click event all goes well.But as soon as i try to print report calling that function in a UI Thread it gives two error :
This document could not be opened. It does not appear to be a Crystal Report document.    This document has the expected file extension (.RPT) but it seems to be corrupt. If the report use to work, try opening it with a different version of    Crystal Reports and if that still does not work, please contact your administrator.
after pressing OK it gives another error : Invalid TLV record.
I dont know what is going wrong ...same code works well if I dont call in UI Thread and the moment I try to do the same by calling that function in UI Thread it gives above errors.
I have registered :craxdrt.dll as well as crqe.dll .... than also ..
Please help me I am totally stuck ...
Thanks in advance
- Divya Prakash

Post Author: divya prakash
CA Forum: Other
Hello
I am using Crystal Report XI with VC++ 6.0 .When I am trying to print report directly on button click event all goes well.But as soon as i try to print report calling that function in a UI Thread it gives two error :
This document could not be opened. It does not appear to be a Crystal Report document.    This document has the expected file extension (.RPT) but it seems to be corrupt. If the report use to work, try opening it with a different version of    Crystal Reports and if that still does not work, please contact your administrator.
after pressing OK it gives another error : Invalid TLV record.
I dont know what is going wrong ...same code works well if I dont call in UI Thread and the moment I try to do the same by calling that function in UI Thread it gives above errors.
I have registered :craxdrt.dll as well as crqe.dll .... than also ..
Please help me I am totally stuck ...
Thanks in advance
- Divya Prakash

Similar Messages

  • 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

  • Invalid TLV record error

    Post Author: CHTClay
    CA Forum: Deployment
    We have an app that was originally written in VB6 (using the ActiveX viewer) with reports designed in Crystal 8.5.  A new executable was added to the app written in C# that uses (not embedded) two report files designed in Crystal 11.5.  The VB6 code was modified to include references to the 11.0 RDC.  The install program (before adding the reports to the C# module) used the following merge modules:
    Crystal11_NET_EmbeddedReporting.msm, CrystalReports11_RDC_Designtime.msm, CrystalReports11_RDC_Runtime.msm, CrystaReports85_ActiveXControl.msm, CrystalReports85_Crpaig80.msm, CrystalReports85_Cpre32.msm and CrystalReports85_Imploder.msm.
    This installation and the app ran perfectly.  After adding the reports to the C# module we recompiled the install (using the same merge modules as above) and reinstalled the app.  The VB6 reports ran as expected, but the two new reports failed because some Crystal Desicions components did not get installed.
    After researching, I created a new install package with the following merge modules:
    CrystalReports11_5_RDC_Designtime.msm, CrystalReports11_5_RDC_Runtime.msm, CrystalReports11_5_RDC_Reportengine.msm, CrystalReports11_5_RDC_License.msm, CrystaReports85_ActiveXControl.msm, CrystalReports85_Crpaig80.msm, CrystalReports85_Cpre32.msm and CrystalReports85_Imploder.msm.
    Reinstalled the app.  The two reports in the C# module work great, however, all of the reports associated with the VB6 code get an "Invalid TLV record" error.
    I have researched this issue here and on the web with no joy!
    Is Crystal Decisions and ActiveXviewer mutually incompatible?  Are we missing something in the installation build?
    Any advice would be greatly appreciated.

    <p>This has happened in the past when your code uses a generic prog id to create the object:</p><p>application.CreateObject("CrystalRuntime.application")</p><p>change to</p><p>application.CreateObject("CrystalRuntime.application.115);</p><p>Another thing you might want to try is to put the craxdrt115.dll into a COM+ package and give it administrative rights. </p><p><strong>KBase Article ID:</strong><span style="margin-left: 5px">c2017301</span></p><p>This is a very generic error so it is hard to say what the problem is with so few details but I tried my best. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • 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

  • Error Invalid Number message when sending text

    Ever since I upgraded to an iPhone 5s I get an Error Invalid Number message when sending a text to a phone number that used to work just fine from my 4s. In fact I can receive a text from this number but when I try to reply to that text I get the error message again.
    I deleted the contact info in case there was something broken there and I'm trying it with just the raw phone number but without any luck. What can I do? It's my boss's number so it's important I fix this problem. All other contacts and texts are working just fine, it's just this one phone, a Samsung galaxy on T-mobile if that helps. 

    I am having the same exact issue with my Nokia Lumia 920 Windows phone. I was texting my son this morning when one text immediately returned a "+1 (112) 161-1611 Error Invalid Number. Please re-send u sing a vlid 10 digit mobile number" message. His contact info looked fine, but I edited it, re-saved it and tried texting again. Same result - except the number reported in the error message showed 2 "1s" in front of his mobile number. I was able to text my wife a couple of times to report this to her and then it happened with her number in exactly the same manner. I am still able to text people I work with - so this leads me to believe it has something to do with phone numbers that have been saved outside of my corporate contact list. I will be monitoring this posting to see if there is a fix.

  • WebPart is raising the following error "Invalid data has been used to update the list item.The field you are trying to update may be read only"

    I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["Pages"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem items in list.Items)
    items["Author"] = "SharePoint";
    items["Created"] = "01/08/2014 01:44 PM";
    items.Update();
    list.Update();
    web.AllowUnsafeUpdates = false;
    protected void Page_Load(object sender, EventArgs e)
    but when i try adding this web part to a page i got the following error:-
    Invalid data has been used to update the list item.The field you are trying to update may be read only
    so can anyone advice?

    i only changed lines bitween 
    web.AllowUnsafeUpdates = true;
    and
    web.AllowUnsafeUpdates = false;
    and other parts of code remains without change
    so it will updates all pages in current web
    yaşamak bir eylemdir

  • ExecuteNonQuery doesnt return number of rows affected when used with PL/SQL

    ExecuteNonQuery doesn't return number of rows affected when used with PL/SQL but returns -1. The documentation says ExecuteNonQuery method of OracleCommand returns the number of raws affected but when used with PL/SQL, it returns -1 even the update statement successfully executes and affects multiple records with no exeptions thrown.
    However, if ExecuteNonQuery is used with update sql statement in the asp.net code it returns number of rows affected correctly. Does anybody know why ExecuteNonQuery behaves like this?
    I am using ODP.NET that comes with Oracle Client 11g. The version is 2.111.6.20 of ODP.NET, Oracle database server is 10g.
    Marat

    You can get the rowcount in the stored procedure via SQL%ROWCOUNT and then pass it out as a parameter.
    For example:
    SQL> create or replace procedure updatesal(v_deptno in number, v_rowsaff out number) as
      2  begin
      3  update emp set sal = sal * 5 where deptno = v_deptno;
      4  v_rowsaff := SQL%ROWCOUNT;
      5  end;
      6  /
    Procedure created.Cheers

  • Test runner freezing when used with Dynamics CRM (and other apps) - Both applications freeze and never come back...

    We are trying to use test runner with dynamics CRM.
    MS Dynamics CRM will freeze and will not respond (even after 10 - 15 minutes). When this happens, the test manager will either freeze or a message will apear saying "waiting for application under test".
    We are not recording action recordings...This makes using test manager impossible. It happens consistently, starting with slowing the PC down (mouse moving slowly, slow to load in new screens, drop downs etc) eventually leading to the app freezing.
    Tried on windows xp, windows 7 etc on various specs of pcs.

    I am experiencing this same issue with
    Test runner freezing when used with Dynamics CRM. I notice this was first posted in June of 2010 and so far no
    resolution? I was wondering if it could be related to memory issues? Do you have any troubleshooting ideas? The
    issue for me seems to be sporadic and I can't
    reproduce it every time.
    The message I get is "waiting on application under test".
    DLM

  • Not being able to hear application audio on quicktime screen recording when using headset

    Can someone tell me how to still hear the computer audio (like the application sound) on while using quicktime screen recording when using headset?
    Someone help me please or tell me another application to do this with.

    hi paula
    your problem could be hardware/software. lets hope its software issue first and i'd like you to do these:
    if you have personal files on volume c, copy/backup them. shut down your computer, press one key recover button to perform clean windows installation. then check if the issue still persists.
    if you don,t want to use okr, you can use windows restore to restore your computer to previous restore points but if it's windows/virus issue, it may not help.

  • Camera is hanging when using with flash

    Hi Lenovo Team,
    In lenovo vibe x2, camera is hanging when using with flash.Getting "Lenovo snapit isnt responding" error and screen hanged for sometime.after that when tried to open camera "Cannt cannot to camera " error is coming till when restart the phone.
    Even tried Factory reset and software update.
    Please provide the solution for the above issue.
    Thanks,

    Hi vijayprabhu,
    I just tested the X2 however am not having the issue. I set flash to always on then took a picture using SnapIt however its fine.
    Please check if you have the latest firmware S125.
    Check out the Community Knowledge Base for hints and tips.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    X240 | 8GB RAM | 512GB Samsung SSD

  • I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    adobe42135678 wrote:
    the audio does not play when hosted on a website...
    When viewing in what browser?

  • Error in nested group function used with column name.

    Hi Team,
    If i used nested group function with column name its not working. Could you please any one suggest me.
    How to use it.
    Regards,
    Venkat.
    Please find Spool ........
    SQL> select user_name,max(max(CNT)) from (select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
    2 group by user_name,CNT;
    select user_name,max(max(CNT)) from (select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
    ERROR at line 1:
    ORA-00937: not a single-group group function
    SQL> select max(max(CNT)) from(select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
    2 group by user_name;
    MAX(MAX(CNT))
    605

    Venkat wrote:
    Hi Sayan
    Its giving output like below, but not given maximum CNT.
    SQL> select user_name,max(CNT)from (select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
    2 group by user_name;
    USER_NAME MAX(CNT)
    BANES_LERG 6
    VENE_USER 8
    USER3 339
    DBUS 106
    VEL_USER 37
    SYS 597
    6 rows selected.Check it - Re: Error in nested group function used with column name.
    and previous post

  • How do I resolve "Error processing your request", when using Download link in My Orders (photoshop 5

    How do I resolve "error processing your request" when using the download link in My Orders for photoshop 5

    As Jeff already hinted at, try a different browser. Such issues almost always are local problems on your end. Something is either changing or blocking the HTTP headers used for forwarding (could be your router, a desktop firewall or other security tools) or a JavaScript is not running/ being blocked.
    Mylenium

  • At&t +1 (1) (216)116-11 error invalid number please resend using 10 digit mobile number

    tried all the method proposed for former similar questions. None works. Even more confused about whether it is the problem of AT&T or apple or both? How can I solve it. It's really annoying!

    Are you in the US? If you are in the US, you don't need to call or text the full number unless it is a toll free number.
    You can just use the 10 digit number XXX-XXX-XXXX
    It seems the number is invalid so AT&T respond back saying that "at&t +1 (1) (216)116-11 error invalid number please resend using 10 digit mobile number"
    If you are using the right number and you know for sure it is a working number, try delete the number in question that you try to text to like call history or text history of that number and just delete it. Do not delete the number in your contacts though. Delete history pertaining to it in calls and text.
    Then try it again to text to the number.

  • Quicktime Player with the magic mouse, when used with a bug -

    On 10.7 Lion, Quicktime Player with the magic mouse, when used with a bug …
    Quicktime Player will not respond, but use the USB mouse with no problem

    Message was edited by: b j t

Maybe you are looking for