CR XI R1: viewer can't open report with UFL from COM dll

Hello all!
I faced the following problem: report which is uses functions from COM dll doesn't works on customer's pc. CRViewer throws exception when calling ViewReport() method. GetLastError() gives just 0 ...
All other reports without functions from COM DLL are working on that PC however. Moreover, reports which uses function from non-COM DLL are also working.
Versions & environment:
- Report file is designed in CR11, CR Developer; Product type: Full, Product Version: 11.0.0.895
- Runtime files on customers pc installed by .msi created from merge modules for Crystal Reports XI RDC Deployments (latest available SP4 for CR XI R1: [crxi_rdc_merge_modules.zip|http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/crXI_rdc_merge_modules.zip], as listed on [this|http://resources.businessobjects.com/support/additional_downloads/runtime.asp] page)
- target OS: WindowsXP SP3, all updates are installed
- i'm using COM crviewer, but there are some points in application where report is opened using CRPE api - it is also crashing on reports with custom functions from COM DLL
- UFL DLL is registered and loaded correctly (investigated by debug output), looks like crash occured during attemt to call function
- just for test I tried to install CR Developer on customers PC: it successfully opens all "problem" reports, but the viewer in application still crashing ...
I would appreciate any tips / suggestions. Please also let me know if I need to specify versions of other products / components.
Thx,
Andrew

Sorry, but you have to define "viewer just crashed". To different people this means different things; error, viewer never shows up, application terminates, etc., etc., etc....
If the issue is only 10% of computers then it is not
Re. "...could be caused by:"
- previous installation of CR8.5 (or earlier) runtime (how to cleanup it correctly?)
possibly - see below
- OS configuration (what we need to ajust?)
probably not - as long as it's the same OS and SPs
- something missing in our code (but why it works in 90% cases?)
-no
- something wrong with CRXI runtime (but we a using latest available MSMs, and again, this works in 90% ...)
possibly see below.
I would approach the issue by running [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] and comparing the dlls loading on a computer that works and one that "crashes"...
Your second utility is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] but ProcMon creates large and difficult to read files.
Oh, and get the powers that be to start to consider moving away from this legacy "stuff". Like I said, PE APIs have been gone since version 9 of CR and RDC has been retired in CR XI R2 (11.5). Neither product is supported anymore.
- Ludek

Similar Messages

  • Can't open files with spaces from gui applications

    When I try to open a file or directory from say qbittorrent or clementine in xfce, I get the message:
    "Failed to open URI "file:///somewhere/filename%20with%20spaces".
    Googling told me this problem was due to passing a "%U" instead of a "%F" somwhere, but I don't know where to change this.

    I don't use any DE or those kinds of gui tools, but the "%U" instead of an "%F" issue would be in the .desktop files.  There are systemwide .desktop files in /usr/share/applications/ and you can override these with your own customized versions in ~/.local/share/applications/
    So a workaround at least would be to copy the relevant desktop files from the system-wide folder to your user's folder and edit them appropriately changing %U to%F.

  • Can't open database with Windows from linux system *URGENT*

    Hi,
    i've two systems. A Linux SuSE 9.3 Pro system with Oracle Database 9.2.0.4
    and a Windows 2000 system with the same version of Oracle.
    Now, i try to connect the Windows system with the Linux system, but i doesn't work. I also, have
    installed the Listener, on the linux system.
    What am i doing wrong? Can someone help me?
    Thanks in advance.
    Greets
    Daniel

    Thanks, but i've already solved the problem.
    I've just switched off the firewall on the linux system.
    And now it works.
    But thanks for ur reply.

  • How Can I open Report within the same window instead of separate Window

    Hi All,
    I want to open report in my MDI form instead of opening it into a separate Oracle Report Navigator(i.e. Window which shows the report). How to do that? When I click the Report from Menu it should open it within the MDI Form. Any suggestion or reply would be greatly appreciated.
    One more question is how can i open report with in a maximized state. Actaully, the report will be opened in the normal state. How to open in maximized state instead of normal state. Is there any property in reports to acheive this?
    Thanks in Advance.
    Regards
    Gopinath Kona

    hello,
    reports is a separate application that is called from forms and therefore is running outside the context of the forms MDI window.
    you can use the commandline parameter MAXIMIZE=YES to start the runtime in full-screen-mode.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • The ask me for an viewer can't open an file

    The ask me  for an viewer can,t open an file!!

    I am having the same problem. In my hotel when I connect my laptop a screen will pop up and you have to hit the button "I Accept Terms". However I can't do that with the ATV. I called the internet provider and they said they could not help me. Any ideas? Do you think the guy just doesn't know what he can do for me? I am thinking I will call later and hope to get a different technician who might know how to help connect me.

  • Snow Leopard 10.6.2 CS4 InDesign can't open files with a "#" in file path

    Snow Leopard 10.6.2 CS4 InDesign can't open files with a "#" in file path using any of these perfectly normal methods:
    1. double-click file in the Finder (e.g in a Folder on your Mac or on your Mac desktop etc.)
    2. select file and choose "File... Open" command-o in the Finder
    3. drag file to the application icon in the Finder.
    4. Select file in Bridge and double-click, choose File.. Open.. or Drag icon to InDesign icon in dock.
    If you try to open an ID file named with a "#", you will get an error message "Missing required parameter 'from' for event 'open.'"
    This happens to any InDesign file that has a "#" (pound sign, number sign, or hash) in the filename or in the file path (any parent folder).
    To reproduce
    Name an InDesign file Test#.idd Try to open it in the Finder or Bridge (as opposed to the "Open" dilaog of InDeisng itself).
    "Solution"
    The file WILL open using File... Open... command-o while in InDesign application.
    Rename the file or folders that have a "#" (shift-3) in the filename.
    Report to Adobe if it bugs you.
    This does not occur in "plain" Leopard 10.5 nor Tiger 10.4
    Untested in Panther or before and
    Untested with CS3 and earlier in Snow Leaopard.
    Anyone have those and want to try this... ?

    In case this really bothers you: we've added a workaround for this into Soxy. If you enable the option, these documents will open fine on double-click.
    You need Soxy 1.0.7 from:
    http://www.rorohiko.com/soxy
    Go to the 'Soxy' - 'Preferences' - 'Other' dialog window, and enable 'Open InDesign via Script'
    (Irrelevant background info (it's all invisible to the user): the workaround works by special-casing how Soxy opens documents in InDesign: instead of using AppleScript, Soxy will use ExtendScript to instruct InDesign to open the document - which works fine).

  • Database logon failed when opening report with parameter values in CrystalReportViewer

    Hi,
    I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
    I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
    I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
    to true and try to open the report A again, it shows database connection data which was created on report.
    In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
    in testing site but it connect to development database when clicking items in group tree panel
    All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
    How to ensure the report always connect database using login data dynamically at runtime?
    Below is my code about database connection:
    string strServerName = null;
    string strDatabaseName = null;
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(strFilePath);
    ConnectionInfo connInfo = new ConnectionInfo();
    TableLogOnInfo logonInfo;
    for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
    logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
    ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
    logonInfo.ConnectionInfo.ServerName = strServerName; 
    logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
    logonInfo.ConnectionInfo.IntegratedSecurity = true;
    rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
    rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
    crvViewer.ReportSource = rptDoc;
    crvViewer.DataBind();
    Development environment:
    - SAP Crystal Reports 2013 Support Pack 1
    - Visual Studio Professional 2012
    - .NET Framework 3.5
    - DDL
    CrystalDecisions.Shared (v 13.0.8.1216)
    CrystalDecisions.Web (v 13.0.8.1216)
    CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
    Database connection in crystal report:
    - Database Type: OLEDB (ADO)
    - Provider: SQLOLEDB
    - Integrated Security: True
    Thanks and Regards,
    Tony

    Hi Tonylck
    Try  to pass login info to crystal report dynamically as follows:
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace WindowsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    ReportDocument cryRpt = new ReportDocument();
    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    Tables CrTables ;
    cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
    crConnectionInfo.ServerName = "YOUR SERVER NAME";
    crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
    crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
    crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
    CrTables = cryRpt.Database.Tables ;
    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
    crtableLogoninfo = CrTable.LogOnInfo;
    crtableLogoninfo.ConnectionInfo = crConnectionInfo;
    CrTable.ApplyLogOnInfo(crtableLogoninfo);
    crystalReportViewer1.ReportSource = cryRpt;
    crystalReportViewer1.Refresh();
    Ref
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
    Mark as answer if you find it useful
    Shridhar J Joshi Thanks a lot

  • Can't open raw with lumix gx1 elements 9

    Hi Group,
    Windows 7, Elements 9   Panasonic lumix gx1
    I tried acr 6.5 but it won't open the lumix raw files.  One site I found said that this camera needs 6.6 but that update failed.  I don't won't to update to elements 10 as I see no reason to do this.  Does anyone know what or if it's possible to get these files to open in Elements 9?
    Thanks,
    Michael

    I finally downloaded the coverter.  I refuse to buy Elements 10 when there is nothing new that I need.  Maybe 11 when I see what it does but I doubt it.  The coverter works just fine. Michael
    Date: Sat, 18 Aug 2012 23:08:17 -0600
    From: [email protected]
    To: [email protected]
    Subject: can't open raw with lumix gx1 elements 9
        Re: can't open raw with lumix gx1 elements 9
        created by sjpix in Photoshop Elements - View the full discussion
    Actually, the problem is that Adobe seems to be wanting to force their users into purchasing otherwise unnecessary upgrades.  I, too, use Elements 9, and it does everything I need...except read the RAW files from my new GX-1. Yes, I can download the DNG converter (and I have), but that adds an extra, and unnecessary, step to processing.  Adobe's reputation for not respecting their customers isn't unwarranted.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4631806#4631806
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4631806#4631806. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I can not open some pdf documents from goverment websites

    i can not open some pdf documents from goverment websites

    the operating OS X, browser-I tried diferrent browsers safari, chrome, firefox, i have adobe reader 11.0.06
    so when i try to open a pdf file, it is said "you need a later version of PDF viewer", so i do not know what is the problem

  • My trackpad can't open file with double click

    i don't know what's going on, but my trackpad can't open file with double click. i have to open it with right click, open or open with. i've tried to fix it in the system preferences, it didn't work out well.

    William - you are wonderful!  I had looked at that - they were set to 'internal' which seemed like RH...but selecting the 'design view' and then reselecting 'use default editor' instead of 'auto-select editor' did it.  THANK YOU!!!!!

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to

    I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to do that?

    kahjot wrote:
    Snow Leopard's Startup Disk pref can’t see Yosemite volumes. So the only way to switch from Snow Leopard to Yosemite is to do what Niel mentioned. Doesn't matter whether it's connected by USB or Firewire, although performance via FW would be faster.
    Are you saying that Yos/10.10, as a volume located in a mounted external drive won't appear as an option in Snow Leopard's Startup Disc, in Sys Prefs? I've never heard this one before. AFAIK any mounted volume, regardless of OS, should appear there. I would think that, if it appears in the Boot Picker/Startup Manager it would also appear and could be booted to from Snow's Startup Disk. I can't test this myself, since I don't have Yos. Is what you are saying documented somewhere?

  • I'm using iphone 4S, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. can someone help.

    I'm using iphone 4S and ipad mini, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. Can someone help...
    Thanks in advance

    Hi Eidda,
    This may because the attachment is a winmail.dat file. I would recommend taking a look at the article below for more information. Note: the article is written for OS X mail, but does also apply to this situation.
    Mac OS X Mail: What is a winmail.dat attachment?
    http://support.apple.com/kb/HT2614
    -Griff W.

  • Can't open NEF with Camera Raw from Bridge

    I recently updated to CS6 and got a new Nikon D600.  Downloaded the lastest DNG converter but when I pull up files in Bridge I can't open them with Camera Raw anymore.  My process was to open in Bridge.  Select the NEF files I wanted then click mouse+control, which gave me a menu to open in Camera Raw.  Now my only option is Photoshop CS6.  I downloaded the trial for Photoshop CC and Bridge CC but still can't select to open with Camera Raw.
    What is going on?  I have never had issues like I have been.  HELP Please.

    From your description it sounds as if Camera Raw isn't installed, or is installed incorrectly. In Photoshop go to Help/about plug-ins/Camera Raw and verify that you have it installed correctly. Since you are on a Mac, I cannot advise as to where it should be installed.
    The other thing I have been thinking about in your situation is, how were these images downloaded from your camera?if you used an older version of Nikon Transfer it can alter the files so that they cannot be opened in Camera Raw.
    Do you have other software like ViewNX2 or CaptureNX2, and will those programs open your files?

  • Can't open pdfs with Adobe Acrobat X

    I can't open pdfs with Adobe Acrobat X. I get this message:
      Warning: Distiller will not process .Log, .PDF or .JDF file extensions
    What do I need to do to be able to open .pdf files? I could open them previously.

    What are you getting the message in response to? Was this a creation of a PDF that resulted in the message? What are you using Distiller for? Distiller can only open PS and EPS files for processing to create a PDF.
    PDF files are opened in Acrobat. For opening PDFs, Distiller has nothing to do with the opening. So I really have no idea. It sounds like you may just be having a creation error since you mentioned a log file. If you were creating a PDF, have you checked the LOG file for the errors? The log file is usually located where you were going to create the PDF, but is created as Distiller processes the file (part of the general Acrobat creation process) and is deleted if successful.
    If you were trying to create, go back to the original application and print to file with the Adobe PDF printer. Then open that file in Distiller to create a PDF. Any errors will be shown in the window and an indication if the PDF was created or not.

Maybe you are looking for