Dynamic Images not shown on report in web farm environment

I have a custom ASP .NET application running reports on XIR2 platform using the .NET WCA.  This is in a web farm environment.  Reports with images do not reliably work.  It appears that the WCA temp image handler cannot see the files if my session fails from one server in the farm to the next.  I'm looking to move the temp images location to an external file share so that all servers will see it.  Changing the value in web.config for the temp images directory did not work.  Tomorrow I will test changing the registry setting, but I wonder if anyone has any tips?
Chris

Hi, Ted,
I am not the application developer, but rather the server administrator.  I know that the applications are NOT using viewrpt.cwr.  I can not state with confidence that they are using the CR .NET Web Forms viewer.  I know that some of our applications show their reports in the ActiveX Viewer, and some use the DHTML viewer.  The following is the code (in the aspx page) that is used to execute the report (I hope it helps):
          void ViewerSetting()
                    try
                         bool bHasRefreshButton =Request.QueryString["bRefresh"]=="Y"?true:false;
                         bool bHasToggleGroupTreeButton=Request.QueryString["bToggleGroupTree"]=="N"?false:true;
                         bool bHasZoomFactorList=Request.QueryString["bZoomFactor"]=="N"?false:true;
                         bool bDisplayGroupTree=Request.QueryString["bGroupTree"]=="N"?false:true;
                         bool bBestFitPage =true;
                         bool bDisplayBottomToolbar =Request.QueryString["BottomToolbar"]=="N"?false:true;
                         bool bHasCrystalLogo =Request.QueryString["CrystalLogo"]=="N"?false:true;
                         bool bHasExportButton =Request.QueryString["ExportButton"]=="N"?false:true;
                         bool bDisplayToolbar =Request.QueryString["Toolbar"]=="N"?false:true;
                         bool bHasGotoPageButton=Request.QueryString["GotoPageButton"]=="N"?false:true;
                         bool bHasSearchButton =Request.QueryString["SearchButton"]=="N"?false:true;
                         string sPrintMode=Request.QueryString["PrintMode"]==null?ConfigurationSettings.AppSettings["PrintMode"].Trim():Request.QueryString["PrintMode"].ToString();
                         crystalReportViewer.HasRefreshButton=bHasRefreshButton;
                         crystalReportViewer.HasToggleGroupTreeButton=bHasToggleGroupTreeButton;
                         crystalReportViewer.HasZoomFactorList=bHasZoomFactorList;
                         crystalReportViewer.DisplayGroupTree=bDisplayGroupTree;
                         crystalReportViewer.BestFitPage=bBestFitPage;
                         crystalReportViewer.DisplayBottomToolbar=bDisplayBottomToolbar;
                         crystalReportViewer.HasCrystalLogo=bHasCrystalLogo;
                         crystalReportViewer.HasExportButton=bHasExportButton;
                         crystalReportViewer.DisplayToolbar=bDisplayToolbar;
                         crystalReportViewer.HasGotoPageButton=bHasGotoPageButton;
                         crystalReportViewer.HasSearchButton=bHasSearchButton;
                         if (sPrintMode.ToUpper() =="ACTX")
                              crystalReportViewer.PrintMode=CrystalDecisions.Web.PrintMode.ActiveX;
                         else
                              crystalReportViewer.PrintMode=CrystalDecisions.Web.PrintMode.Pdf;
                    catch {}
               void SetParameterandViewReport()
                         try
                              ViewerSetting();
                        string sServer = ConfigurationManager.AppSettings["APSServer"].Trim();
                        string sUser = ConfigurationManager.AppSettings["APSUser"].Trim();
                        string sPassword = ConfigurationManager.AppSettings["APSPassword"].Trim();
                        string sAuthType = ConfigurationManager.AppSettings["APSAuthType"].Trim();
                              string sReportName = Request.QueryString["ReportName"];
                              EnterpriseSession ceSession;
                              EnterpriseService ceEnterpriseService;
                              InfoStore ceInfoStore;
                              InfoObjects ceReportObjects ;
                              InfoObject ceReportObject ;
                              CrystalDecisions.Enterprise.Desktop.Report  ceReport;
                              ParameterFields  ceParameterFields;
                              ParameterField ceParameterField;
                              ReportParameters ceParameters ;
                              ReportParameter ceParameter ;
                              ParameterDiscreteValue ceParameterDiscreteValue;
                              SessionMgr ceSessionMgr= new SessionMgr();
                              if ( Session ["ceSession"] == null)
                                   ceSession = ceSessionMgr.Logon(sUser, sPassword, sServer, sAuthType);
                                   Session ["ceSession"]=ceSession;
                              else
                                   ceSession = (EnterpriseSession) Session ["ceSession"];
                              ceEnterpriseService = ceSession.GetService("InfoStore");
                              ceInfoStore = new  InfoStore(ceEnterpriseService);
                              string sQuery = "Select * From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Report' AND SI_Name='" + sReportName + "' And SI_INSTANCE=0";
                              ceReportObjects = ceInfoStore.Query(sQuery);
                              if (ceReportObjects.Count <1 )
                                   lblMessage.Text="Please check your reportName";
                                   lblMessage.Visible=true;
                                   return ;
                        ceReportObject = ceReportObjects[1];
                        ceReport = (CrystalDecisions.Enterprise.Desktop.Report)ceReportObject;
                        ceParameters = ceReport.ReportParameters;
                        ceParameterFields = new ParameterFields();
                              if (ceReportObjects.Count > 0)
                                   ceReportObject = ceReportObjects[1];
                                   ceReport  =(CrystalDecisions.Enterprise.Desktop.Report) ceReportObject;
                                   ceParameters = ceReport.ReportParameters;
                                   ceParameterFields = new ParameterFields();
                                   string sParamName="",sParamValue="";
                                   string sPrompt="";
                                   for (int i=1; i <= ceParameters.Count; i++ )
                                        sPrompt="Prompt"+(i-1).ToString().Trim();
                                        ceParameter =ceParameters<i>;
                                        sParamName=     ceParameter.ParameterName.Trim();
                                        sParamValue= Request.QueryString[sPrompt]==null?"": Request.QueryString[sPrompt];     
                                        ceParameterField = new ParameterField();
                                        ceParameterDiscreteValue = new ParameterDiscreteValue();
                                ceParameterDiscreteValue.Value = sParamValue;
                                ceParameterField.CurrentValues.Add(ceParameterDiscreteValue);
                                        ceParameterField.Name = ceParameter.ParameterName;
                                        ceParameterField.ParameterValueType = ParameterValueKind.StringParameter;
                                        ceParameterFields.Add(ceParameterField);
                                   crystalReportViewer.ParameterFieldInfo = ceParameterFields;
                                   crystalReportViewer.EnterpriseLogon = ceSession;
                                   crystalReportViewer.ReportSource = ceReportObject;
                                      crystalReportViewer.Visible = true;
                         catch (Exception ex)
                              lblMessage.Text = ex.Source + ex.Message + ex.StackTrace; 
                              lblMessage.Visible=true;
Thanks,
Chris Peet

Similar Messages

  • APEX - BI publisher dynamic image not shown

    Hi,
    I've developed a BI RTF report layout within my APEX application.
    I need to show external dynamic images stored into apex image files, but I have some problem.
    BI manul says I should include into the report layout a dummy image with the following text:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element of the XML file having the image url.
    When I run the report the image is blank although the IMAGE_LOCATION has the right url.
    I tried to add another image with alt text url:{'image url'} and it is correctly shown.
    I'm shure that IMAGE_LOCATION is right, because it's also shown in report as text.
    How can I resolve this?
    Thx
    Davide

    perhaps they can help you in here: BI Publisher

  • Export to Pdf: Image not shown

    I'm a newbie with Crystal Report.
    I'm trying to export a loaded Crystal report document in C# to pdf.
    I have a image in the document but it will not show. The Image path is an url.
    If I export it to CrystalReport format it works fine and the image is shown.  
    crdoc.ExportToDisk(ExportFormatType.CrystalReport, logPath + debugFileName + "_1.rpt");
    If I export it to Pdf format it will not work.  
    crdoc.ExportToDisk(ExportFormatType.PortableDocFormat, logPath + debugFileName + ".pdf");
    I also tried to export the document like this
    ExportOptions crExportOptions = new ExportOptions();
    DiskFileDestinationOptions crDiskFileDestinationOptions = new DiskFileDestinationOptions();
    crDiskFileDestinationOptions.DiskFileName = logPath + debugFileName + "_2.pdf";
    crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
    crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
    crExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
    crdoc.Export(crExportOptions);
    The refrences i'm using is
    CrystalDecisions.CrystalReports.Engine vers. 11.5.3700.0
    CrystalDecisions.Enterprise.Framework vers. 11.5.3300.0
    CrystalDecisions.Enterprise.InfoStore vers. 11.5.3300.0
    CrystalDecisions.ReportSource vers. 11.5.3700.0
    CrystalDecisions.Shared vers. 11.5.3700.0

    I found a solution to this problem:
    1200904 - A dynamic image from an HTTP source does not appear in a .NET application 
    Symptom
    A dynamic image from an HTTP source does not appear in a .NET application deployed to a production system.
    Cause
    This problem occurs because the library file libcurl.dll is missing from the Business Objects bin directory. The libcurl.dll is not included in the .NET merge modules for Crystal Reports XI and Crystal Reports XI Release 2.
    Crystal Reports XI Release 2
    1. Find the libcurl.dll on the development system in C:\Program Files\Business Objects\Common\3.5\bin.
    2. Copy and paste libcurl.dll to C:\Program Files\Common Files\Business Objects\3.5\bin on the production system.

  • CR XI R2 - Dynamic Images not working on production machine

    We are using VS2005 on windows server 2003 as our development environment. We have CR XI R2 installed there. We have a crystal report set up to use dynamic images and it is working fine. On the report, the graphic location of the picture is set to a formula which we set dynamically from VS2005.
    When we move our report and code to the production environment, the dynamic image is not showing. We have the report showing the formula, and it is the correct path to the image. What are we missing?!

    I am having the same problem.  This works no problem in development on a Vista machine but once I try and run it in production on a Windows 2003 server, it won't work.
    Did anyone ever come up with a resolution to this proble?
    I know it's not a file access rights issue as the url that I am calling is unprotected  I can call it using a simple web browser.
    http://details.planelements.com/Details/BarCode/BarCode.aspx?dataToEncode=12345
    I am pretty confident at this point (after insalling the lastest service pack) and trying everything that this is a security issue, but for the life of me I cant figure out what it is.
    To date I have tried the following:
    1)  Gave the ASP.Net account Administative rights - Didnt' work
    2)  Changed the dynamic value from usin the above specified url to a local file system file (ie. c:\temp\Image.jpg).  This worked, so I know the dynamic value code is being executed.
    3)  Uninstalled the Internet Explorer Enhanced Security settings just to make sure that something was not going on there (Since I don't have that intalled on my Vista machine) - Didnt' work
    4)  Tried calling a hard coded image locally (http://localhost/Image.jpg) - Didn't work
    At this point I don't know what else to try.  I am going to go through and see if I might need to assign some rights to the administrator account that are granted to the "local system" account, but after that I am not sure what else to try.
    Anyone else have any additional suggestions?

  • Can not display BI report in Web ui

    I created reporting profile with both bi and interactive reporting active and assigned to the business role functional profile
    I gave the BI connection client in the report that I wanted. When I select the report in webu ui, it's taking me to a sign on pad. I assume this for BI sign on pad and When i enter sign on, it's not taking me any where.
    This just a standard report in CRM My top 5 quotations. All necessary steps in basic bi connection, basic sales analytics are done too
    How does the the connection between BI and crm works?
    Please advise

    Hi Experts,
    We are using Webiu 2007 with BI 7. 
    We linked our sandbox to RWT system to test the report output. In my CRS, I have source system RWT defined and the same way in BI also we have assigned CRS to link these systems together. It is my understanding that when we select the report, we are just calling the from BI into CRM.  I have done the following steps in CRM
    1) Created reporting profile in CRM analytics as both BI and CRM interactive reporting activated
    2) Assigned this reporting profile to business role
    3) I selected My-Top-5 quotation report and gave the BI system in display  bi reports
    4) I can see the report on webui.
    Problem: When I selected the report,  a logon pad appears and I enter RWT user id and password, it's doing nothing.  But, I have another user who is logging in for the first time got an error "Error loading template "OTPLB_OCRM_QUTO_Q0001_1 notification number BRAIN276". When the same new user tried to login second or third time, it's not showing the error and nothing is happening when we enter userid and pass word.  But, we can logon to GUI RWT.
    We tried to pull a query view report and web template reports see if we can display data. The BI team gave me couple of info objects keys. 
    1) I created the report with object key and type as one for 3.x template and one for 3.x query view
    2) Created logical links for these two reports and selected these two reports in business role. Now the reports are showing in webui
    3) When I select any of these, it taking to a blank screen without any logon screen. 
    BW team says that these reports are running with data in their system.
    Can someone please help?

  • DMS Document stored in SAP DB: Not shown in SAP PLM Web UI

    Dear Team,
    Is it by design that DMS documents which are stored in SAP DB are not shown in WEB UI...
    I get and error on the display document that " KPRO unchecked "
    how ever in ECC i can see the document with originals and thumbnails and complete DIR..
    Thanks for advice...!
    Best regards,
    Shashikumar BS

    Hi,
    Please check if a storage category is maintained in your system. You can use the Content Server (KPRO) storage type. Launch transaction DC10 and choose the
    relevant document type which you use. Display its details and you will find a flag called ‘Use KPRO’. Flag it to use the KPRO storage type which is recommended by SAP. You can manage your storage categories and KPRO settings by transaction CSADMIN
    Best regards
    Tamas

  • Apply Button not working in Report viewer web part in SP 2013

    I have a SSRS report which gets values from SSAS cube, with more than 10 parameters defined in the report. All the parameters are multi-select parameters and the report is deployed in SharePoint 2013 integrated mode.
    I created a web page and integrated the SSRS report inside a report viewer web part. All the report parameters are from Performance Point filters. All the PPS filters are connected to SSRS report.
    The problem is each and every time the parameter is re-selected(changed) the whole page gets refreshed.
    So I added a Apply button, so that the report gets refreshed only after clicking the Apply button. Even after adding the apply button the report gets refreshed on each parameter change.
    Can you please let me know why the apply button is not working and possible solutions to overcome this.

    Hi,
    There's no much similar issues I have found.
    I suggest you consider opening a support case with us, provided the sample code for reproduce and version of SQL Servr. You may visit this link to see the various support options that are available to better meet your needs: 
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone.

  • Gray image not shown correctly in photo app

    Hi, in my iphone App, I create a Gray CGImage. Some code is here:
    colorSpace = CGColorSpaceCreateDeviceGray();
    if (colorSpace == NULL)
    fprintf(stderr, "Error allocating color space\n");
    return NULL;
    CGDataProviderRef dataProvider =
    CGDataProviderCreateWithData(NULL,
    myimagebuffer,
    bitmapByteCount,
    NULL);
    CGImageRef cgImage = CGImageCreate(col,
    row,
    8,
    8,
    col,
    colorSpace,
    kCGImageAlphaNone,
    dataProvider,
    NULL,
    false,
    kCGRenderingIntentDefault);
    And then I use this CGImage to make a UIImage. This image shows OK in UIImageView. I also use UIImageWriteToSavedPhotosAlbum to save this gray scale image to photo album. But when I open iphone native Photo app, this image is not shown correctly.
    Anyone has the same experience?
    Thanks,
    fm

    Post Author: JeffI
    CA Forum: Older Products
    Because I am sure other people will encounter this issue, I will post the solution here...The issue lies in what program is associated with .bmp files. In my specific case the customer had PhotoSuite 4 by Roxio associated with opening bmp files.  I am not sure exactly why (perhaps it doesn't support drag-and-drop?) but if you create a .reg file and import this it should fix the problem. The bolded part is the important part. Windows Registry Editor Version 5.00&#91;HKEY_CLASSES_ROOT&#93;&#91;HKEY_CLASSES_ROOT\*&#93;"InfoTip"="prop:Type;DocAuthor;DocTitle;DocSubject;DocComments;Write;Size""QuickTip"="prop:Type;Size""AlwaysShowExt"="""TileInfo"="prop:Type;Size"&#91;HKEY_CLASSES_ROOT\.bmp&#93;@="Paint.Picture""PerceivedType"="image""Content Type"="image/bmp"&#91;HKEY_CLASSES_ROOT\.bmp\OpenWithList&#93;&#91;HKEY_CLASSES_ROOT\.bmp\OpenWithList\MSPaint.exe&#93;@=""&#91;HKEY_CLASSES_ROOT\.bmp\OpenWithProgids&#93;"Paint.Picture"=hex(0):

  • SRM-MDM Catalog: Images not shown in search ui - only placeholder visible

    Hello Expert,
    we have the problem, that the images, which we imported into the repository using the Data Manager are not shown in the search ui. The image is visible in the Data Manager and assigned to a product.
    If I make a right-click on the image in the brower,  I get a URL like this
    http://[server]:port]/webdynpro/resources/sap.com/tc~mdm~srmcat~uiprod/Components/com.sap.mdm.srmcat.uiprod.ItemDetails/null//Images?id=1&variant=Thumbnail&cachePath=/tmp/largeObjectRepositoriesCachedFolder/kfw-mdm-ae54/RepositoryPort_2010/User1&relativePath=t07/0000000/r00001v-2.jpg
    Regards,
    Sven
    Edited by: Sven Haustein on Oct 16, 2008 3:28 PM

    Hi,
    we are using SRM-MDM Catalog 2.0 SP04 Patch 01 (5.5.63.65)
    Retrieving MDM JAVA API Version
    Admin Version = 5.5.63.02 [Interface CRC=0x5b63a633]
    Build Version = 5.5.63.102
    Content Version = 5.5.63.09 [Interface CRC=0x9d7cb0c4]
    Meta Version \t= 5.5.63.00 [Interface CRC=0xab59b8dc]
    !======================================!
    Building up connection to MDM Server 10.130.32.81
    Retreiving MDM Server Version
    Version = Version 5.5 SP6 (5.5.63.65)
    Regards,
    Sven

  • J/v passed for TDS which not shown TDS Report

    Sir,,
    I faced problem regarding some TDS Like Interest,Salary,  entry passed through which not shown in
    Tds report.
    I not aware about how to passed  this type entry so which appeared in TDS report.
    Pls give me a suggestion regarding above problem.

    Hi,
    Create one time vendor or dummy vendor for all expenses. Then assign w/h tax codes and post the TDS at the time of invoice or payment.
    You will not get report if you directly pass a JV.
    Regards,
    Shaik

  • New images not shown

    Hi,
    Apparently images that are not on the disk when a Java application starts but that are added on disk during program execution, are not shown on JLabels, JButtons, ...
    Anyone knows why?
    Taaje

    Dunno, coz it works 4 me. Y ! 4 u?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class Example {
        public static void main(String[] args) {
            final File file = new File("temp.jpg"); //constructor doesn't create file in file system, right?
            final JPanel cp = new JPanel(new BorderLayout());
            JButton write = new JButton("write image file");
            write.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt) {
                    try {
                        URL url = new URL("http://today.java.net/jag/bio/JagHeadshot-small.jpg");
                        ImageIO.write(ImageIO.read(url), "jpg", file);
                    } catch (IOException e) {
                        e.printStackTrace();
            JButton read = new JButton("attempt to read file and create label");
            read.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt) {
                   try {
                       cp.add(new JLabel(new ImageIcon(ImageIO.read(file))));
                       cp.revalidate();
                       cp.repaint();
                   } catch (IOException e) {
                       e.printStackTrace();
            JPanel buttons = new JPanel();
            buttons.add(write);
            buttons.add(read);
            cp.add(buttons, BorderLayout.NORTH);
            cp.setPreferredSize(new Dimension(400, 300));
            JFrame f = new JFrame("Example");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(cp);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • Images not shown correctly i addon store

    I Have a questions regarding the Adobe® Exchange Producer Portal. If this is not the correct forum, please do direct me to the correct channel.
    Images not showing correctly on the product page in the addons store.
    See page https://creative.adobe.com/addons/products/5132#.VL4rTy5GySM
    For instance the preview images are not showing correctly.
    The url https://portcullis-production-us-east-1.s3.amazonaws.com/0/5132/26a19cfe-663d-49f4-86f4-fd 4b2d6a338b.png returns status code "403 Forbidden"

    If this is your product, please submit a metadata change request with new images uploaded. That should solve the problem.

  • Image Not Shown in Web

    Hai, Every body, I have a problem with showing my image on the
    web. My problem is like this :
    I create an employee table with one of its field is to store
    the employee photo or picture. I create this field with the data
    structure of Long Row. Then I craete a data entry screen for
    entering employee record and browse every single record. I can
    get the image from the directory and save it to my employee
    table and event browse every record with no problem on the
    CLIENT system
    But when I deploy the application to the web, I can't see the
    image. The Image should be part of the data but it doesn't show.
    Why ? can any body help me up.
    For your information the image file I select is JPEG file type.
    Thanks in advance
    Eric
    null

    Hi,
    You probably applied the suggested project alias "jaxws" when you created your Scout project.
    In the tutorial, the project alias "tutorial" is used as shown in [1]. Therefore, the URL to use in the tutorial is localhost:8080/tutorial/jaxws whereas in your case, it is localhost:8080/jaxws/jaxws as you've already found it.
    [1] wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateScoutProject_1.png

  • Path to (dynamic) image files on the WAS Server - Web Dynpro

    Hello again with a new question ...
    I wrote a Web Dynpro Application, that uploads images from the client and stores them in a directory on the server. In the next step the WD Application reads the contents of that directory (for Example 1.jpg, 2.jpg, 3.jpg) and shall display these pics (dynamically).
    The only thing that does not work is displaying the images. I do not know how to address them; i simply can not see them.
    My application is running on a windows host in path "E:\usr\sap..."
    The Pics are uploaded into the server directory "E:\ZZZ\"
    <b>Following code shows the pics</b>, when i use a browser on the server itself. When i try it from another machine, is doesn't work. Seems as if the supplied path is a local path, not a server path.
    IWDImage image11 = (IWDImage) view.createElement(IWDImage.class, "TestBild" + i);
    image11.setAlt("file:///" + files<i>.toString());
    image11.setSource("file:///" + files<i>.toString());
    // files<i>.toString() contains: \E:ZZZ1.jpg
    theGroup.addChild(image11);
    <b>Thank you !!</b>

    Armin, thank you, just solved the problem
    I found a post telling something about HTTP aliases and this weblog
    /people/renjith.andrews/blog/2005/03/31/creating-an-http-alias-in-was
    So i created an alias (ZZZ for Hard drive directory "E:\ZZZ") and use it in the code for example:
    image11.setAlt("http://netweaver:50000/ZZZ/0000009502_0002000197_2_002.jpg");
    image11.setSource("http://netweaver:50000/ZZZ/0000009502_0002000197_2_002.jpg");
    Now i see the images within my WDView

  • Image not shown - mysterious error

    We recently encountered a -to us very mysterious- problem in a report:
    We have to fields A, B and a repeating frame R on the same level. The repeating frame shows an image from a db blob.
    We have A and B side by side and R below that.
    A and B have format triggers which do no formatting but return FALSE or TRUE depending on whether data for the corresponding field is available or not.
    The image is only shown if the format trigger for A returns FALSE.
    Even worse we think that this error did not occur before and we did not change the iAS configuration (10g).
    Any ideas?
    Thanks
    Peter

    Meanwhile we learned that there is an implicit anchor between A and R.
    We
    - CUTted A and B
    - created a "dummy" field A0 left of A
    - thus got an implicit anchor between A0 and R
    - COPIED A and B
    - created a format trigger on A0 which does nothing than returning false
    This is a workaround (the mystery still exists..)

Maybe you are looking for