Web based Crystal Report not appearing

Hi
Hope this hasn't been asked before, had a look in the forum but couldn't find it specifically.
I am developing a web application with one CR in it.
VS 2010 + CR for VS installed on development machine.
The development environment is all fine, works a treat. The problems started when I tried shipping to our staging environment, and also a test area on our live server.
Our live web server is running Windows Server 2008 Web edition R2 with dotnet V4 x86 runtime installed.
After overcoming 'Type Initializer' error, 'log4net.dll' error and 'LoadReport' error on the live server, the live server now just displays a blank page.
When I had this problem on the staging server I found that this was caused by the 'aspnet_client\system_web\4_0_30319\crystalreportviewers13' folder not existing or in the right place. It works on the staging server when I'm browsing using http://localhost etc.
Things I have done to get the report working on the live server:
1. Install CR Runtime 32bit V13
2. Set security settings on C:\Windows\Temp to allow web user (actually set to 'Everyone' until it's all working properly) read/write access
3. Moved  folder 'aspnet_client\system_web\4_0_30319\crystalreportviewers13' to the application folder and the www root folder (have tried in various places also)
I have to say that the report is displayed when I'm on the live web server and browse using http://localhost etc., and I can repeat the problem by moving the crystalreportviewers13 folder out of where it should be.
After getting all this done over the past 2 DAYS I believe that the problem lies with the location of the 'crystalreportviewers13' folder. Although it could be something else.
Any help in this matter would be greatly appreciated.
Cheers
Julian

OK, apologies. posted in haste!
It seems that the report is working, it's just the browser I was viewing it from simply doesn't display it. No idea why yet, but not too worried as all other machines I try it on, it works.
A little annoyed however at the amount of time I've wasted trying to get this working. Is it documented anywhere for instance that C:\Windows\Temp needs special privileges set up to make a web crystal report work?
Anyway, please ignore this, and the last post!
Cheers
Julian

Similar Messages

  • How to Edit Webi or Crystal report in New BO 4.0 LaunchPad

    Hi,
    Can someone guide me how to edit a webi or crystal report in new BO4.0 LaunchPad
    Thanks,
    VB

    Hi all,
    I can not display report as modify mood. When I do right click on report, it displays like as below :
    I only updated java with the latest version 8 update 45.
    Can anybody help me ? Because I can't get modify mode, so I can't edit my reports.
    Thanks.

  • BusinessObject 4.0 API to get SQL statement from webi or crystal report

    Hello,
    Need your help.... could you confirm whether BusinessObjects 4.0 provides any SDK, API or Web Service to get physical SQL statement from the webi or crystal reports file?
    If so, could you provide name of package, class and method?
    If I am not wrong, there is an SDK in v3.0 that allows to extract the SQL. But I am reading a lot on these forums that lot of SDK classes and functions are deprecated / removed in v4.0.
    Thanks for your help.
    Omer

    For Crystal Reports in BI 4.0 to retrieve the SQL query you can use Report Application Server SDK. Here is a code snippet that retrieves the SQL statement.
    //oInfoObjectReport is of type IInfoObject corresponding to the crystal report.
    ReportClientDocument reportClientDoc = reportAppFactory.openDocument(oInfoObjectReport, 0, Locale.ENGLISH);
            //for all crystal reports
            GroupPath grpPath = new GroupPath();
            //get CR SQL query string
            String reportSQL=reportClientDoc.getRowsetController().getSQLStatement(grpPath,null);
            System.out.println("report SQL String: "+reportSQL);
            //for report whose datasource is command object:
            Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
            for (int i = 0; i < tables.size(); i++)
             ITable table = tables.getTable(i);
             ICommandTable ic= (ICommandTable) table;
             //Command can be obtained from the report using getCommandObject() method
             //get CR SQL query string
             String SQLText=ic.getCommandText();
             System.out.println("SQLText_"+i+": "+SQLText);
    Here are useful links for BI 4.0
    [RAS API Specification|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rasjava_apiRef_en.zip]
    [RAS Developer Guide|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rasjava_dg_en.zip]

  • Embedding WebI and Crystal reports on a web page

    Hi,
    I'm new to BO, so please bear with me. I've also posted this to the .NET-side, so sorry if you've seen this post before.
    We have a project where we will need to embed WebI and Crystal reports on a web page, i.e. we want the people who access the web page to get the reports (mainly graphs) as embedded content on the web page without any controls and other clutter.
    Is this possible and what's the correct way of doing this?
    Thanks,
    Carl

    Hi,
    Thanks for the help!
    We still face the original problem, though. I.e. with openDocoument we get the report, controls, tab selections, scroll bars etc. What we actually would like is to get just the contents of a report.
    Is there any way of doing it? We're not afraid of coding, we have good developers. Or do we need to schedule report creation to some format (e.g. PDF) and then load the PDF to the web page?
    Basicaly it's more important to get this working for WebI reports as we can redo almost all reports from Crystal to WebI. Of course we are happy to find a resolution for both cases.
    Br,
    Carl-Gustaf

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Empty report returned from WEBI and Crystal report when using external hier

    Hi,
    WEBI and Crystal report build from BEX query returned empty report when we used external hierarchy 0PROFIT_CTR.  In BEX we don't have any problems with it.
    No authority check is perfomed on the hierarchy when we start the report in WEBI/Crystal. Only check on the hierarchy is performed when the root authorization is assigned to the user

    We using BO4  SP12

  • GP, callable object Web Dynpro Application (bespoke) not appearing in list

    Hey y'all
    We're developing our first GP, and we would like to call an existing bespoke Web Dynpro. When creating the callable object, we're selecting type Web Dynpro Application, but our Web Dynpro screen is not appearing in the drop down list on the next page. We think that this is because the application has been deployed to a different server (i.e. it has not been deployed onto the portal server).
    So the question is, has anyone faced this problem before, and is there a solution?
    Kind regards
    Jon

    Hi John,
    Please have a look at this Exception on creating GP Action
    This will solve your issue definitively. Do not take care of a given SDA, just redeploy everything and make sure that everything is overwritten by selecting the right option.
    Best regards,
    David

  • Edit web part option does not appear in browser on lists

    I've inserted some lists on a wiki page. However, when viewing in the browser the checkbox and the dropdown containing the Edit Web Part option do not appear. On the properties tag I thought I enabled all the correct properties such as Allow Edit, Allow
    Minimize etc. What am I missing?

    Hi Larry,
    According to your description, my understanding is that the Edit web part option disappeared in the list web part.
    I recommend to check if the account has permission to edit the web part, please check the permission of the account in Site Permissions and the list permissions.
    Please also check if the target audience is set in the web part.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I need  Web based Dynamic Reporting tools

    Hi,
    I need a Web based Dynamic Reporting tool.
    I have to user oracle products and this reporting tools must support OLAP and Data Warehousing.
    thanks,

    Hi Shima,
    Let me quote from Oracle Reports website:
    "Oracle Reports is Oracle's award-winning, high-fidelity enterprise reporting tool. It enables businesses to give immediate access to information to all levels within and outside of the organization in an unrivaled scalable and secure environment. Oracle Reports consists of Oracle Reports Developer (a component of the Oracle Developer Suite) and OracleAS Reports Services (a component of the Oracle Application Server)."
    Since you need a web-based reporting tool, this is what is available with Oracle Reports:- you cannot design reports on the web, but you can use Oracle Reports Developer to design high quality reports that are suitable for viewing on the web.
    Oracle Reports support OLAP as a data source.
    From your requirements, it seems that it might be worthwhile for you to check out Oracle Discoverer which is again a powerful reporting and analysis tool. Oracle Discoverer is more suitable for ad-hoc reporting and web-based analysis of data by the end-users:
    http://www.oracle.com/technology/products/discoverer/index.html
    Navneet.

  • Merits and Demerits of WEBI and Crystal reports!!!!!!!!!!!!!!!

    Dear Experts!!!!!!!!!!!!!!!!!!!!!
    I came up with many documents, but i cannot able to find the exact merits and demerits over WebI and Crystal Reports.
    Experts can u people help me out in this regards,
    Atleast the comparison between them.
    Regards,
    Suman Thangadurai

    What angle are you coming at this from?
    Are you talking about in terms of replacing Deski?
    Or as a first reporting tool to learn?
    If you're moving away from Deski, I'd personally go for Webi. Very small amount of learning required to move from one to the other. It's also much easier to pick up and start working with.

  • Display more pictures in crystal report not work why

    Hi guys i try to show picture of specified employee from network path in crystal report  it work
    but i don't know how to show all pictures to all employees in crystal report
    Can any one help me to customize my code to accept show all employee pictures
    i try to make this from crystal report and assign path but version of crystal report not allow to me
    to put path
    my code below show picture to one employee from text box control from network path
    I need to customize this code to accept show more one  pictures of employees from  employee table
    the following fields i show in report
    EmployeeNo      integer
    EmployeeName   nvarchar(50)
    Image     datatype  image 
    btnemployeeno_click
       DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoR", con);
    cmd.CommandType = CommandType.StoredProcedure;    // Viewxxx doesn't seem a good name for a sp
    cmd.Parameters.Add("@EmployeeNo", SqlDbType.NVarChar, 20);
    cmd.Parameters["@EmployeeNo"].Value = textBox1.Text;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    string path = Path.Combine("\\\\192.168.1.105\\Personal Pictures", textBox1.Text) + ".jpg";
    FileStream fs=null;
    if (File.Exists(path))
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + textBox1.Text + ".jpg", FileMode.Open);
    else
    MessageBox.Show("Please File Not Exist");
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    foreach (DataRow dr in dt.Rows)
    dr["Image"] = imgbyte;
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();                     

    Hi, 
    Put an image field in your report, then change the image’s Graphic Location:
    right click the image, select Format Graphic, select Picture tab, click the conditional-formula button that look like a x2 and set the formula’s text to
    the name of the formula or parameter field that will contain the image’s URL.
    Save the formula and click the OK button. Save the report and test it.
    Be carefull with the size of the image field. If this size is not equal to the image itself it could get resized.
    Good Tutorial
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    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.

  • Not able to schedule Webi and Crystal reports in Infoview

    Hi All,
    We are using Business Objects XI 3.1.
    I am not able to schedule reports in Infoview irrespective of the report type.
    The Webi report throws the error "Bad Request(Invalid URL)" when I hit on the Format Destination section.
    The Crystal report without prompt hangs when I hit schedule button and the report with prompt throws the error "An error has occurred:Invalid postback or callback argument."
    Recently we installed the Fixpack 1.2 for XI 3.1.
    Thanks in Advance
    Umesh

    Hi Kilic,
    You mean to say re-install the Java version.
    Also there is issue in IIS Server. It always encounters a problem and stops. I have to restart the IIS Server. How to deal with these issues? Very confused
    Thanks and Regards,
    Umesh Jadhav
    Edited by: umesh jadhav on Mar 27, 2009 10:07 PM

  • Web Crystal Report not working after period of time

    Hi
    I have had a problem for a long time now on one of our web servers, it's becoming more of an issue lately due to a web site using Crystal more. The problem is that the Crystal Report Viewer does not load after a few hours. If I re ship the main DLL into the Bin folder for the site, then something gets 'reset', and hey presto, Crystal starts working again.
    The problem would even arise with a basic CR, with just one Textfield on it (i.e. not show)
    Web server is 32 bit Windows Server Web Edition SP 2. Asp.Net project built in VS 2012 against .Net 4.0.
    Anyone have any ideas?
    Many thanks,
    Julian

    Make sure you are on SP 8
    Make sure you are using .Close and .Dispose on your report objects as you get done with them.
    What OS? (2003, 2008, 2012)
    Provide more info on the following:
    The problem is that the Crystal Report Viewer does not load after a few hours.
    What does that mean? Errors? Warnings? Behavior? Symptoms?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Universe based Crystal report date prompt appears as DateTime

    I have faced this issue in all XI versions and was hoping there is a solution for this in XI 3.1 and/or Crystal 2008.
    There is a date dimension in a universe which is tied to a datetime datatype on the backend SQL server field.  If a Crystal report (XI,2008) uses this date dimension as a prompt, the prompt created in Crystal report is of type Date Time and therefore when the report is ran, the required syntax for this prompt is with timestamp.  There was a fix for a similar issue in XI R2 Fix Pack 3.3 by creating a useDateInsteadOfDateTime registry key and setting its value to the DSN of the ODBC based universe connection.  I could never get that to work by the way.
    Any ideas on how to change the prompt data type to Date without the timestamp in XI 3.1 and Crystal 2008 reports?
    Thanks.

    Hi Farhan Jaffery 
    Have you tried to change the object defination in universe level and crate a prompt and check. 
    Also try to use Add Command to retrive the database field with only date and create a prompt.
    Thanks,
    Sastry

Maybe you are looking for

  • OT?  How to make an "automatic" photo gallery site?

    This is a loosely defined question as I'm not sure of all the implications and parameters and have no sample to offer. My photog client - who doesn't know DW or html - wants a gallery site with a templated page layout so that he only has to upload so

  • Resource Manager

    Hi All, I would like to implement resource manager via oracle service. Code is as follows: exec DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA(); exec DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'my_plan',COMMENT => 'Resource plan/method for ERP Database');

  • Change Document program Generation

    Hi all, We are trying to capture changes to several ECC tables. We want to capture any change to that table. We want to know what kind of change (Insert, delete or update) and then the key of the record that has changed. Our goal is to capture the mo

  • Mail boxes keep disappearing.

    All my mail box lists keep disappearing in the window to the left in Mail. Nothing to do with the "hide" button. If I quit mail and restart the mail boxes reappear, but after a few times leaving the application running in the background while doing s

  • Latest Release of Enterprise Portal

    Hello, Wt is the latest release of SAP EP out. The last i know is EP 6.0,somebody in this forum is also referring to EP 7.0 ,just wanted to confirm if another version of EP after 6.0 is also out. Regards Saumya