BW based Crystal Report. How to move to another server?

Hi,
We have developed a Crystal Report in a development system based on a BEx query in the same server.
Now we are going to move the report to production. How to make the crystal report connect to the BEx query in Production server?

Classic Crystal Reports and Classic SAP connectivity questions
Classic Crystal Reports and Classic SAP connectivity questions

Similar Messages

  • Hyperlink on Crystal Report: how to popup a window without menubar?

    Hyperlink on Crystal Report: how to popup a window without menubar?
    Hello Experts!
    I'm using VS2003 with Crystal Reports for VS2003.
    I need to show a popup window clicking a hyperlink text object on my crystal report.
    On the CrystalReportViewer I have set up HyperlinkTarget=_blank, and it's working fine.
    But when I click on the hyperlink and shows the popup window, how can I show the popup window without menubar, toolbar, directories, etc.
    Something like:
    window.open('../MyPage.html?id=id001" + Cad + "',null,'menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,status=yes')

    Adam is correct. The closest you can get is setting the CrystalReportViewers HyperlinkTarget to _blank. It was seen as a potential security vulnerability to allow you to run scripts from a Crystal Reports. In our Enterprise product you can use a reg key called EncodeHTMLForSingleLineFieldObjects to control whether this can be turned on or off.
    Unfortunately this was never ported over to our .NET CrystalReportViewer.
    This is referenced in notes 1202803, 1219298, and 1219301.
    https://www.sdn.sap.com/irj/sdn/businessobjects-notes
    Edited by: David Hilton on Jul 16, 2008 4:17 PM

  • How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?

    I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server.  I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
    As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers.  I read that I must configure the application pool to enable 32-bit applications.  I did that and am still getting the same error.  Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck.  What am I missing?

    Don,
    Thank you for the quick response!
    We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt").  This works on our Windows 2000 server running Crystal Reports 8.
    I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine.  This file is in the same folder as the test.rpt file.
    If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error".  If I switch it to "Classic", I get the following error:
    Failed to Execute URL.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.HttpException: Failed to Execute URL.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [HttpException (0x80004005): Failed to Execute URL.]
       System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
       System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

  • Crystal Reports published on Business Objects Enterprise Server

    Hi all,
    I am having a few difficulties after i save my crystal report to the Business Objects Enterprise Server XI 3.1.
    1) for the reports with static parameters the "Crystal Reports Print Control" doesbnot work. It gets stuck and i guess cannot load the print function. Don't know what exactly causes it but i made two similar one field reports and saved them to the server. One with a dynamic parameter and the other with a static parameter.
    The report with static parameter could not be printed.
    This happens when i use the HTML viewer for crystal reports. I cannot use the activeX or Java viewers as they mess up the formatting of my Arabic reports.
    2) For some reports i get one type of parameter screen (like we get while running through the designer) while for other reports i get a different type of Parameter Entry Screen. Sometimes when i view the report first time i get the former type of parameter screen and when i refresh the report i get the later screen.
    3) Also my dynamic parameters are not showing all the values when the reports are saved to the above mentioned server. On my desktop i made the LOV registry tweak and it works fine. I did the same tweak on server registry but it is not working.
    Thanks a lot even if u read it

    Moved to BOE forum

  • Hyperlinking results of a crystal report to a parameter in another rpt.

    We have a requirement  to hyperlink the result values of a field in a crystal report to a parameter in another report that returns the details of that value. Example below:
    Rpt 1. Field:                                   Country
    Values:(as hyperlinks)                     USA
                                                         Germany
                                                         France
    So when a user clicks on the hyperlink "USA", report number two containing details for USA opens up like the example below:
    USA,                  Population,          etc...etc....
    North America     350M  
    The user should not be prompted to enter any parameters in the second report as it is expected to be parsed this from clicking on the value in the first report. The values in the first report are in a group section "country".  We are using Crystal 2008 on a BW query.
    Thanks for your help.

    Hi,
    Create a sub report which contains country wise informaiton and insert this report in your group footer.  Now right click on your sub report and go in change sub report links and link your sub reportcountry parameter with your main report country  parameter.
    Now it will pass your opendoc parameter value to your sub report parameter and will display results without entring once again coutnry parameter for your sub report.
    Thanks,
    Sastry.

  • 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

  • Crystal report - how to split a field into more fields

    Hello,
    I`m new to Crystal reports and I`ve got a trouble. I have field which contains an address - street, city, zip code. The example is:
    STEHLIKOVA 977 165 00 PRAHA 620 - SUCHDOL 165 00.
    What I need to achieve is to split this string into three separated fields. I`ve trouhg a couple of forums but haven`t been able to find a proper answer. The problem is that the addresses differ so I can`t use an absolute defining of a start position. Looking at the DB (HEXA code) the parts in the string are divided by two dots:
    STEHLIKOVA 977..165 00 PRAHA 620 - SUCHDOL..165 00
    I`ve been able to work out this solution:
    stringVar array x := split({cparty.STREET_ADD},"..");
    Local numberVar i;
    Local stringVar outputString := "";
    For i:=1 to Count(x) do
    outputString := outputString + x[i] + Chr(10)
    outputString;
    It splits the string into three rows:
    STEHLIKOVA 977
    165 00 PRAHA 620 - SUCHDOL
    165 00
    And I don`t know how to find the end of each row so to be able to separate the strings and report them as three different fields.
    Would be anyone so kind and help me out with this?
    Thank you.
    Petr

    Hi
    Actually using a for loop is not necessary here. All you need to do is to add several formula fields: one for street, one for city and one for zipcode. In @street field you add formula:
    stringVar array x := split({cparty.STREET_ADD},Chr(13));
    x[1];
    Then you drag such formula field to details section of your report and watch preview to check if everything looks alright. Repeat for every formula field that you'd like see in your report.
    In @city you add almost identical formula but you change index, i. e. instead of x[1] you need to use x[2]. Then for @zip x[3].
    You may need to check if your address has all three parts - for example if you want to use formula in the second part of your address field you may need check first if there are at least two parts after split:
    stringVar array := split({cparty.STREET_ADD},Chr(13));
    numbervar c; 
    c := count(x); 
    if 2 <= c then 
    x[c]; 
    Var 'c' is used to store the number of elements in array after split. Then I'd like to check if the part (second) actually exists. So I try to check if number of part that I want to refer to is not bigger than the number of elements in array after split (here stored in var 'c').
    Actually the code presented above is not enough since you have no guarantee that you'll always get address structured in the very same way. For example in demo PL database I have zip code and city in the same row after split with Chr(13) as delimiter.
    You'll need to experiment or ask someone to prepare correctly structured data coming from B1 to your report.
    Kind regards,
    Radek

  • Crystal Report: How to make the fixed height box in all pages.

    Post Author: WTech
    CA Forum: Crystal Reports
    I want to make the height of box fixed size in all pages. The box in outside the detail section. Currently the size of the box changes according to the content of the detail section. Could anyone suggest me how should i achieve it ?  

    Hi srinivasan,
    If you want to keep "Save" and "Stop" common, Why do you want to keep them on Tab control? Is your tab control taking entire space on Front panel? If so, you can have SAVE and STOP on other vi, and you can call this vi (MODAL).
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • SQL server Database - Command based Crystal reports parameters issue

    Hi,
    We are migrating Oracle to SQL server database and trying to point our crystal reports  to new database.
    In command based reports, the parameters are defined in the where clause like this
       (' All' in {?Country} or loc.country in {?Country} )
    On modifying the report script to ANSI standard, loc.country in {?Country} gets recognized by Crystal but   'All' in {?Country} does not work.
    I am pretty sure that it should be defined in a different way,but not able to figure out.
    Any suggestions?
    Thanks,
    Nithya

    Hi Nithya,
    What is the error message you receive?
    -Abhilash

  • Crystal report: How to concatenate the string whilereadingrecords?

    I have description field in the database and I need to concatenate the value of the filed into one line. How to do that? I tried as below
    Stringvar strtitle="";
    whilereadingrecords;
    if Mid({OrderDtl.PartNum},1,2)="T3" Then
    strtitle & "T3- Background Music,"
    Else if Mid({OrderDtl.PartNum},1,2)="T6" then
    strtitle & "T6- Dance"
    This is not working and showing only last value instead of concatenated string. I am very new to Crystal report and i am using Crystal report 2008
    Thanks,
    Raj

    Hi Raj,
    I guess you're trying to concatenate the descriptions so that they appear on a single line, perhaps, on the report footer?
    Try this formula:
    whilereadingrecords;
    stringvar strtitle;
    strtitle := strtitle + ">" + {description_field_from_database}
    The ">" sign is to separate the records from each other; you may choose to remove this from the formula or use another separator.
    Place the above formula in the details section and suppress the section.
    Create this formula to display the result and place it in the Report Footer section:
    evaluateafter(@Name_of_the_above_formula);
    stringvar strtitle;
    Let me know how this goes!
    -Abhilash

  • Crystal report -How to display multiple lines in line chart?

    Hi,
    M struggling to display multiple lines in line chart. All the values m fetching it from database into data table in below format & data type
    Category(String).....year(Int).....graph_values(Int).....table_value(String)
    Test.........................2006.......... -100............................(100)
    Avg..........................2006..........20................................20
    Median......................2006...........5................................5
    Test..........................2007...........500.............................500
    Avg...........................2007............90..............................90
    Median.......................2007............45..............................45
    M using cross tab to display data and chart to plot line. Following fields I used in Cross tab Expert & Chart expert
    Cross tab expert-
    Rows u2013 category
    Columns u2013 year
    Summarized fields u2013 Min of table_value
    In Chart Expert u2013
    On Change of - Year
    Show values - graph values
    In cross tab m able to see the data properly but not in graph.I have three categories. Hence it should plot three lines in line chart but m able to see only one line for test category.
    FYI u2013 using VS 2008 and crystal report assembly version 10.5
    Urgent. Please reply soon.
    Thanks
    ThakurS

    I got the solution.
    In Chart Expert - I should use
    On Change of -- Year, Category
    Show values -- graph values
    Thanks,
    ThakurS

  • Crystal Reports: How to change Oracle OLE DB server at runtime

    Post Author: dvlasman
    CA Forum: Data Connectivity and SQL
    I'm using a rpt made with Crystal Reports 8.0.1 and VB 6. The report was made using the Microsoft OLE DB provider for Oracle. What I want to do is change to Oracle server / database the report is connecting to at run time before the report is displayed. I am using the Crystal Report Engine 8 Object Library (cpeaut32.dll), not the ocx.After creating the report object:Dim CrystalReport As CRPEAuto.ReportI open my report and discard saved data:'Open The ReportSet CrystalReport = CrystalApplication.OpenReport(msReportSource)CrystalReport.DiscardSavedDataConst sDBServer = "ORCL.SERVER" 'My TNS name for the Oracle ServerConst sDatabase = "ORCL.SERVER" 'I'm not sure what this value should beConst sUID = "system"Const sPwd = "manager"I was then going to change the database connection one of two ways:1:Dim objDatabaseTable As CRPEAuto.DatabaseTableFor Each objDatabaseTable In CrystalReport.Database.Tables    Call objDatabaseTable.SetLogOnInfo(sDBServer, sDATABASE, sUID, sPWD)    If (Not objDatabaseTable.TestConnectivity) Then        Debug.Print "Database failed connection: " & objDatabaseTable.Name    End IfNextSet objDatabaseTable = Nothing2:call crystalapplication.LogOnServer("pdsoledb.dll","MSDAORA.1",sDATABASE,sUID,sPWD)Neither of these two way gets me a successful connection. What am I doing wrong, and which is the preferred method to use?ThanksDean

    Did you get a resolution to your problem? I cannot dynamically change the datasource location in .NET using CR XI via OLE DB for Oracle. I get "This field name is not known." messages and when I try using the set datasource location in the designer tool, the mapping dialog box comes up with no fields in the right box. Thanks, Brian

  • 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

  • Crystal Report Viewer Not viwed - Through APP Server Re-Direction

    Hello Team
    I have a critical problem in my organizaion for viewing the reports.
    Configuration that we are using:
    1. Windows Server 2008 R2
    2. Crystal 13 - Server Trial Version - Expiring on Aug-25th, 2014
    3. Used Visual Studio 2010 - .NET
    4. IIS 7.0 - configured a  Virtual Directory for ASP.NET application
    Out Application is using an Oracle APP Server to view the HTML. A button is provided in the HTML to redirect to view the Crystal Report.
    when I click on the Hyperlink and the url is directly accessed, then the Report is being shown without any issue.
    But ours is a corporate application and we have given a provision of accessign this application when users are outside of network. Hence the Crystal Server is under fire-wall. So, I cannot access it directly with a URL. Hence the app server is configured in such a way that if it find a name like "Reports" in the URL, then it redirects to the actual Web Server and gets back the data to the browser.
    for URL redirection, the app server is configured as below
        ProxyPass /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers/
        ProxyPassReverse /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers
        ProxyPass /reports10/ http://<<ServerIP>>/reports10/
        ProxyPassReverse /reports10/ http://<<ServerIP>>/reports10
    When the user redirects from the APP server using those redirection rules, the pages are being executed but the final crystal report viewer control is not being shown on the browser. I am not sure if we need to perform any other steps to get these thigns done.
    Our server is behind fire-wall and whenever I am in network, I used to get the output but when the redirection happens not able to load the Crystal Report Viewer. Not sure, if there are any other security rules that I need to consider to get back the CrystalReportViewer.
    Also, there is something called CrystalReportInteractiveViewer prior to Crystal13. Do we have anything as such in Crystal 13 also? Please help me in getting this worked.
    Please let me know if I am not clear in my explanation and I can certainly provide you a better information based on your queries.
    Thanks
    -Srinivasa Nadella

    Hi Srinivasa,
    Please move this thread to SAP Crystal Reports, version for Visual Studio
    Helpful threads: Having issues with Crystal reports report viewer
    c# - Application level assembly redirection not working - Stack Overflow
    asp.net mvc - Why is my Crystal Report and Viewer invisible on a Web Form in an MVC application? - Stack Overflow
    Regards,
    DJ

  • Generated Crystal Report PDFs are different on Windows server

    Post Author: present
    CA Forum: .NET
    Hi,
    I created Crystal Report template (with two columns on one
    page) inside VS 2005 on my Windows XP Professional machine.
    But there are formating problems on both XP and Windows
    Server machines:
    1) On Windows XP machine, I have to overlap the two columns
    on the page inside VS 2005 editor in order to generate
    correct PDF file (without overlap). How to fix the the
    overlapping problem in editor?
    2) On Windows 2003 server: After I put the template on
    Windows 2003 server that has no VS 2005 installed (only
    CRRedist2005_x86.msi was installed), the generated PDF has
    different font size and layout (such as page size, column
    overlap, etc).
    Do I have to install VS 2005 on server too? It is really
    frustrating that I have to print document generated on the
    server before I know if the template works fine or not.
    Any help is highly appreciated!

    Typically when you are seeing page formatting issues on different machines, it could be because of printer drivers (or lack of).  The reporting engine relies on the printer driver configured on the machine to provide information so that a page can be properly rendered.  If you designed the report on your dev machine which is using PrinterA and then deploy to another machine using PrinterB, the formatting could be off.  So make sure that the exact same printer driver is being used on these machines.  If your deployments are expected to go to different machines where you don't know what printer will be installed, then you will need to design the report such that it can be rendered as best as possible.  Another option is to check the "No Printer" option and this should render the report the same on any machine with any printer, but then you'll need to make sure you handle any scenarios where the user wants to print to the printer.
    If this is an ASP.NET application then permissions could play a part if the printer drivers cannot be accessed.  There are whitepapers on the BOBJ support site that have information on to configure CR to print reports in ASP.NET apps.
    -MJ

Maybe you are looking for

  • How to point to another tab on click of a button in another tab?

    Hi all,   I am creating an application in which I am using Tabbar and then referring separate canvas for each tab using viewstack.Now I have a button in in one tab and on click of the button i need to open another tab.For reusability i have created s

  • Problem with SRF compilation

    Hi, I encountered a problem during compilation in tools: > Could not open repository file 'C:\Siebel\8.1\SiebelTools8113\OBJECTS\ENU\siebel_sia.srf'. File does not exist or may be in use by another process.(SBL-DAT-00142) > Siebel Tools version: 8.1.

  • Checking authorization of user status

    Hej there! In our CRM-system I would like to check whether a user has authorization to set a particular user status in a servicecontract. I know it is possible to check whether a user is authorised for a status scheme via object S_USERSTAT, but I can

  • No Activation, date passed- no info, no good

    Hello I'm (well, my Dad) is having trouble setting up his new BT Vision. He was told the activation date would be Tuesday just gone (30th July), but this was later changed to the Thursday, so to help with the set up I took a day off work, only to be

  • How to export date with metadata

    How do I include date when exporting metadata (not with the image). I can't get Aperture (3.1.2) to export any kind of date. It shows the date field field, but the value is blank. Using Automator I can extract and export IXIF date which includes the