Crystal Report Page Setting In Browser

Hello all,
I have designed my Report In Crystal-9 and using jar files i have linked it to My web Page Now My Problem is , am getting proper preview in Crystal Report preview , But when am seeing same report in Webpage only half of my report is visible
My Page Setting in designing mode as follows
Print Setup:-FanFload 358*305 mm
Orentation:- Portrait
and i have desgined this report to  take Print in DotMatrix-EPSON-2175  printer.
Hope u understood my problem,
Thanks in advance
Vanishree.B.Rao

Hi All,
My Problem is Solved ,
OK here I tell u wat i did, Am using eclipse as my editor , so i opened my report in eclipse  and went to properties and there page setting and there i have chosen custom option and i have given the page height and width,
Hope this solution ill be usefull to some one,
Thanks ,
Vanishree.B.Rao

Similar Messages

  • Crystal Reports - Page Break/Create Address Labels

    Problem description:
    I am creating a letter writer function for a Windows application. The how-to documentation I have is not providing the necessary step(s) for showing one record per page.  From what I have gathered there is a page break function, however, I have not been able to implement it.   I have set up a Crystal report in a .Net 2008 (Visual Basic) application with a Section 5 (Page Footer) and need to break and start a new page at this point.  One page per letter (record) for multiple letter distributions.
    I also need specific instructions on how to create an address label maker for this application.  So far I was able to include a Crystal Reports form set up specifically for address labels but not to make it work.
    Since the application will be distributed this is not a machine specific issue.
    Jaime Baldovinos

    Hello,
    apart from the CR manual please see a [good guide |http://www.codeguru.com/forum/archive/index.php/f-64.html]for all kind of question related to report design with CR.

  • Problems starting Crystal Reports Page Server and Report Application Server

    Hi,
    We have migrated to a new server and I have re-installed our Crystal Reports Server XI R1.
    It is being installed on a Windows 2003 SBS Premium Server with MSSQL 2005 Workstation Edition
    I have been told that I need to start the following Crystal services after installation.
    1) Crystal Reports Page Server
    2) Report Application Server
    These services simply wont start
    When I try to start Crystal Reports Page Server, I get a Visual Studio Just-In-Time Debugger window that says...
    An unhandled Win32 exception occured in pageserver.exe [14892], subsequently, another window pops up [svrmgr] that says
    "The service did not respond to the start or control request in a timely fashion"
    Also, when I try to start the Report Application Server, I get another VS JIT debugger window that says
    An unhandled win32 exception occurred in crystalras.exe [12748]
    I also get the same SvcMgr Window that says..."The service did not respond to the start or control request in a timely fashion"
    Thanks all
    Paul

    Hello Paul,
    I recommend to post this question to [the dedicated BusinessObjects Enterprise Administration forum|BI Platform;.
    That forum is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Thanks
    Falk

  • Crystal Report Viewer fails for browser versions =10

    We're using the Crystal Reports for VS2010 SP2 and get the following error when trying to generate a report in Firefox 10.0.2 and Chrome 18.0.1025.11 beta-m:
    [NullReferenceException: Object reference not set to an instance of an object.]
       CrystalDecisions.Web.ViewerGlobal.get_IsNetscape6Up() +88
       CrystalDecisions.Web.CrystalReportViewer.Render(HtmlTextWriter output) +83
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8991378
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8991378
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       ASP.app_filters_reportviewer_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\qfmui\10eb2bd5\d0d0d3a5\App_Web_e2fg2prg.2.cs:0
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8991378
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
    If I change the user agent string in Firefox to that of Firefox 7.0.1 everything works as expected, this implies there is some logic in get_IsNetscape6Up() which is failing because the major browser version as reported by the user agent string is two digits instead of one.
    We encountered a similar issue for our legacy pages containing Infragistics 2007 controls but were able to fix that by overriding the System.Web.Configuration.HttpCapabilitiesBase.BrowserCapabilitiesProvider and faking the browser version to 9.80.  Crystal Report Viewer is apparently not using .Net's built in HttpBrowserCapabilities object, is there anything else I can adjust to stop the viewer failing?

    hello Robert
    Today must be my day. I already got a reply from PM (normally it takes a "bit" longer...). Anyhow, here is what he said:
    With Firefoxu2019s release cycles, I donu2019t think weu2019ll be able to officially support the latest versions
    of Firefox at every service release.  We do our best to test the released versions of Firefox
    that align with our releases.  I donu2019t know the details but Iu2019ve heard there is a plan in place where
    the support team(s) (?) will test the most recent releases of Firefox with whatu2019s currently
    shipping by SAP and log bugs as necessary.
    (umm, this is my - Ludek note here ) -> news to me re. support doing QA... find out something new every day. Anyhow, continuation of the message from PM:
    The current plan for CR for VS2010, the SP3 release (expected in April) will support up to
    Firefox 9.  If there are reproducible bugs in Firefox 10 (or higher), then please enter a bug
    and escalate and it will be investigated for the next available release.
    I'll revisit this once SP3 is out there and do an escalation for Firefox 10 - ok?
    - Ludek

  • Crystal Report Not Refreshing in browser

    Hi all,
    Am using crystal report for my web application so here am passing my parameter from jsp page
    but it is not refreshing
    For example
    I am select Month=jan my query goes this way.
    Select * from employee where month='jan' group by department order by designation
    when am intially design in eclipse in filter option am selecting 'jan' and when am running in browser am passing the same query with the parameter but here instead of 'jan' am passing month variable where my month variable changes every time according to user choose
    my crystal report is not getting refreshed ..
    hope u understood my problem
    Regards
    Vanishree.B

    Hi Tejomay ,
    I have tried that even after calling refresh() , it ;s not getting refreshed..but if am using signal table in my query  it is getting refreshed .but when am grouping with another table it is not refreshing..
    Regards
    Vanishree

  • Crystal reports 2008 Set optional parameter value

    Hi,
    I'm working with .net Visual Studio 2008 C# and Crystal reports 2008 (Crystal.Decisions) and when I try to set a parameter to optional and set its value to no value, it returns the error: "Invalid parameter name", here is my code:
    foreach (CrystalDecisions.Shared.ParameterField param in Report.ParameterFields)
                            if (!param.HasCurrentValue &&
                                !Report.DataDefinition.ParameterFields[param.Name].IsLinked())
                                switch (param.ParameterValueType)
                                    case ParameterValueKind.NumberParameter:                                  
                                        param.IsOptionalPrompt = true;
                                        param.CurrentValues.IsNoValue = true;                                  
                                        break;
    I'm doing this because some of the parameters can be left null, and in this case I don't want to show the parameter prompt.
    In past versions of Crystal (such as Crystal Reports 11.5) we had the chance to left the parameter value null and did not showed the parameter prompt dialog, and this behavior repeats in a lot of reports.
    thanks in advanced

    Please don't post the same question more than once. This is a public forum so be patient.
    Install SP4 and test again.
    Try these samples:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Don

  • Modifying an instance of a crystal report and set it a filter from a profil

    What we do:
    ==========
    We create publication and schedule them to user after doing a single pass bursting ( crystal report)
    When a user login and access his report that has been filtered by his instance, he is able to look only at his data.
    Notes that the crystal report has been filtered on the field Medical center.
    Notes that this crystal report has 2 parameter one for the medical cetner and another one for the date range
    Also when we ran the publication for all the users, we do set the parameter base on the medical cetner to the value ALL
    The issue is that when this end user refresh the report then instead of getting data only for his medical center , then he is getting data for all the medical center.
    As you can see the profile that has been created on the user doesn't kick in when refreshing an instance of a report coming out of a publication.
    What we would like to achiave thru sdk:
    ======================================
    We would like the end user to open this report and being able to refresh it only within the medical center he belongs to .
    So when the user refresh ther port he should only see data for his medical center
    Questions:
    ==========
    1 - is is possible to achiove this thru  sdk ? In 3,1
    2 - how long would it takes ? ( range)
    Thank you for your help again
    Philippe

    There are two ways to filter the data.  You could set the record selection formula for the report through code so that the data is filtered, parameters could be used as an additional filter.  The second is to design the report off a universe and setup row level security so that users only have access to certain data.

  • Unable to delete saved Crystal reports in SAP BW Browser

    Hi everyone ,
    We are trying to test Integration of Crystal reports with SAP BW .
    CR developer version installed - 12.0.3.900
    SAP BW 7.0
    I have 2 issues :
    1) When I try to open SAP Query from CR SAP menu bar , somehow a blank SAP screen opens first and stays as long as I have CR developer open. I would then have to click on CR from the status line to begin using the software.  The blank screen remains the way it is.
    2) I am unable to delete Crystal reports which are saved in SAP BW Browser . I can delete any other BEX workbook in the same folder .
    Am I missing any role authorizations to delete Crystal reports in BW Browser ?
    Thanks in advance for your help.
    Hitesh

    HI,
    1) When I try to open SAP Query from CR SAP menu bar , somehow a blank SAP screen opens first and stays as long as I have CR developer open. I would then have to click on CR from the status line to begin using the software. The blank screen remains the way it is.
    >> Did you also install the SAP Integration Kit ?
    2) I am unable to delete Crystal reports which are saved in SAP BW Browser . I can delete any other BEX workbook in the same folder .
    Am I missing any role authorizations to delete Crystal reports in BW Browser ?
    >> Most likely you are missing authorizations
    Ingo

  • Crystal Report Page Control error...

    Using Visual Studio 2008, Crystal Reports 2008
    I am trying to build report interaction features like group expand,collapse, show hidden section etc at run time into my application that is based on VS 2008 and Crystal 2008 .
    I have had good success and the Crystal Viewer exhibits expected behavior if I  do not meddle with the sections of the Page control of the viewer. Instead if I  just remove the Page control from the viewer and add a new one that is passed by a run time viewer that I create on the fly just to get the new Page control. Unfortunately, this approach causes the report viewer control to do a momentarily disappearance act that makes the whole thing look less intuitive.
    As a work around, I just pass the sections of Page control that I have created on the fly to the actual viewer and follow it changing the Zooming scale marginally on the page control of the actual viewer on the form. This causes the Page control to reflect all the changes that I have done on the page control of the run time viewer and works like a charm without any flicker or refresh like behavior.
    But the good things stop here, as apparently, the Page control holds a different collection of section instances and report object instances than the one is displayed on report.
    Clicking on most of the objects after this change causes the below exception. The whole concept falls flat and I do not want to use the adding/removing page control approach as it not intuitive at all.
    All the subs mentioned in the error log are protected crystal procedures. That leaves me with no option but to wait for a reply for the experts at SAP.
    Regards,
    Faisal
    Error Source = CrystalDecisions.Windows.Forms
    Error Message: Index was outside the bounds of the array.
       at CrystalDecisions.Windows.Forms.PageControl.PageControlAccessibleObject.NotifyClients(Int32 sectionInstanceIndex, Int32 objectInstanceIndex, AccessibleEvents accEvent)
       at CrystalDecisions.Windows.Forms.PageControl.TabTo(Int32 sectionInstanceIndex, Int32 objectInstanceIndex, Boolean scroll)
       at CrystalDecisions.Windows.Forms.PageControl.TabTo(Int32 sectionInstanceIndex, Int32 objectInstanceIndex)
       at CrystalDecisions.Windows.Forms.PageControl.OnMouseDown(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)

    Thanks a ton for the help and suggestions...
    Actually, I figured out a new approach where I don't have to meddle with the individual sections of the PageObject object of the viewer Page control and then leave it to the  mercy of the Crystal engine, if it likes what I done to the viewer object. But it does not negate the fact that the Crystal engine behaves funny if the PageObject sections of the viewer control are added or modified. You may argue that calling report refresh will fix it but  then it is not an option when you are building user interaction feature to a report.
    Regards,
    Faisal

  • Seeting Custom Page in Crystal Report 2008 Issue

    We were using crystal report from a long time, our application uses crystal report (version 11 & 12)  & Visual Studio (VS 2008) I am using a separate crystal report 12 not the version coming with VS 2008. and recently we upgrade our application from VS 2005 to VS 2008 and upgrade crystal report from 11 to 12, The problem is we print a report in a custom page (height 20.40 cm  , width 38.10 cm) we use a dot matrix printer Epson LQ 2090 and the page orientation is portrait  and the report prints fine In crystal report 11 without any issues, but after we upgrade to crystal report 12 we are unable to get the printout in portrait even we save the crystal report page with the custom page still it?s prints in landscape. 
    The issue is in crystal report page setup when we select landscape  the horizontal  = 38.10 cm & vertical = 20.40 cm but since I print the report portrait when I change it portrait the values change into Horizontal = 20.40 & vertical = 38.10 but that?s not needed because our printer & the page is capable of printing 38.10 cm wide and 20.40 height , I don?t understand why the values get change when we change the page orientation it didn?t happen in crystal report 11.

    Hi, Rodney;
    I believe there was a known issue in the released version of CR 2008. Install the Service Pack 0 for CR 2008, that should take care of the issue.
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    Regards,
    Jonathan

  • Setting the number of copies to be printed through crystal reports?

    I posted this in another section and got redirected to this one. 
    So I'm working with some software that utilizes Crystal Reports 10, and am looking for a method where through Crystal Reports I can take a user entered parameter value and set that as the number of copies for the printer to print. This isn't an option in Crystal Reports itself, so I understand I may need to dig a little deeper and write some customization to accomplish this.
    I've been building Crystal Reports for about two years now, all self taught, but have never had to go this far, where/how would I start on this? And I tried searching for a similar question in these forums to see if it's come up before but couldn't find anything. I'm kind of stuck at the moment because I can't alter the software that's using Crystal Reports to set number of copies, so I want to see if I can do anything in Crystal.

    Really, this is actually more of a report design question, though I understand why they's ask you to post here also.
    Anyhow, I think what you are asking is; can I design a report such that it will internally hold how many copies it should print(?).
    Answer to that is no.
    Only way to do multiple copies would be to modify the app you are working with. E.g.; go to the authors of the app and ask them for an enhancement to their product so that you can print multiple copies.
    - Ludek

  • SAP should retrieve print preferences in a Crystal report before printing

    I would like to submit an enhancement... or a "come back" of something that was working fine before.
    Missing functionality referring to message #88318 opened at the end of January 2011
    Version: 8.8 u2013 PL18
    Description of requirements:
    Automatically select the appropriate page layout in SAP B1 when the page layout has been saved in a Crystal report.  So, the user wonu2019t have to change his u201CPrint preferencesu201D in SAP before printing a document with a different layout.
    Valid as of: N/A
    Business needs: (Please describe the impact on your business, if the functionality is not realized)
    Any people who has to print a report doesnu2019t want to always think about what should be the layout of this specific report and then have to change it in B1 before printing. This is a loss of time, more over when the layout has been saved in the u201CPrint preferencesu201D of the report itself (for example, 8½ X 14 or Landscape) so the user should not have to manually select it in addition.
    The print preview is correct in CR and in B1 but then, when sending the preview to the printer, the printing is not correct.  It is not on the same format.
    Examples: (Please describe a typical example, how the functionality should work.)
    I have a Crystal Report saved in 8½ X 14 format.
    I preview it within Crystal Report --> Ok
    I send it to the printer via Crystal Report --> Ok
    I preview it within SAP --> Ok
    I send it to the printer via SAP --> THIS SHOULD BE PRINTED THE WAY IT IS PREVIEWED
    Current Workaround: (Please describe the workarounds you are using at the moment)
    The users have to change their print preferences in B1 before printing the report !  This is a loss of time !
    Proposed solution:
    SAP should take in consideration the printing preferences saved in Crystal, so it will print the report accordingly to the print definition, using the appropriate tray. Since the print preview is okay, it should print that way.
    This was working fine in 8.8-PL11u2026

    Thank you for your reply. It works in this specific report.
    But we have both PLD and Crystal Report in the system, changing the settings means the PLD will lose their watermark...
    Also, I don't know how the Draft is displayed, but when select Print Preview for Draft, it's asking for parameter (DocEntry), which I have setup a DocKey@ in Crystal Report and set it in the Selection Manager. Does SAP provide DocEntry in Draft Invoice (ODRF) the same way as in Invoice (OINV)?
    Thanks,
    Grace

  • Print Draft Document using Crystal Report in SAP 8.8

    I created a Crystal Report Layout using SQL View as data source for AR Invoice which prints out fine. (everthing on 1 page)
    To print Draft Invoice, I copied the view to use ODRF/RDF1 instead of OINV/INV1, copied the Crystal report and updated the data source to the new view. When print Draft Invoice, it prints 3 pages - page 1 blank, page 2 just the "DRAFT" watermark, page 3 the crystal report without watermark.
    Steps to print Draft Invoice: Sales-A/R > Sales Report > Document Drafts Report > Open selected Draft Invoice document > File > Select Layout and Print...
    What is happening behind the scene when printing Draft documents? What is the correct way to print Drafts (e.g. special settings designing Crystal Reports)?
    Thanks,
    Grace

    Thank you for your reply. It works in this specific report.
    But we have both PLD and Crystal Report in the system, changing the settings means the PLD will lose their watermark...
    Also, I don't know how the Draft is displayed, but when select Print Preview for Draft, it's asking for parameter (DocEntry), which I have setup a DocKey@ in Crystal Report and set it in the Selection Manager. Does SAP provide DocEntry in Draft Invoice (ODRF) the same way as in Invoice (OINV)?
    Thanks,
    Grace

  • Error when trying to deploy crystal reports to a web site

    I'm using VS 2008.  When I add a Crystal Report page to my application I get the following error.
    Can anyone help be resolve this problem?
    Server Error in '/' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 110:               <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
    Line 111:               <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
    Line 112:               <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
    Line 113:          <httpModules>
    Line 114:               <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    Source File: C:\InetPub\Websites\church-site_org\web.config    Line: 112
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    Hi,
    I also encountered problem: Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    I try to install the CRRedist2008_x64.msi in our web server. And its ok. But my problem now is the report i created in VS 2003. The error now is:
    Parser Error Message: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.
    Source Error:
    Line 22:           debugging ASP.NET files.
    Line 23:     -->
    Line 24:     <compilation defaultLanguage="vb" debug="true"><assemblies><add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies></compilation>
    Line 25:
    Line 26:     <!--  CUSTOM ERROR MESSAGES
    Source File: E:\INETPUB\WWWROOT\DTS\web.config    Line: 24
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.CrystalReports.Engine' could not be loaded.
    === Pre-bind state information ===
    LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///E:/INETPUB/WWWROOT/DTS
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    Please need your help.
    thanks

  • How to close database connections in Crystal Reports

    I am using the following code to connect to database. I can either pass JNDIName or I can provide values for others by leaving JNDI name empty.
    If i use JNDI name, it will use a connection from the connection pool of App Server (in my case Weblogic), but it is not releasing the connection after use. Connection remains even if I logoff from the application. If i keep my max connections as 15 in weblogic, after clicking the page with crystal report 15 times all will remain active and users will not be able to login to the application.
    If i use connectionString and others without using JNDI Name, it directly connects to database. So it creates a connection in database server directly without using connection pool of weblogic. If i check weblogic, it shows no connection in use as expected, but if i check database, i can see the no. of connections increasing everytime a user clicks a crystal report page.
    When the connection touches the maximum allowed connection in server, every application using the same server goes down
    How can I close the connection which was created for the viewing the report?
    String reportName = "/reports/BankBalance.rpt";
    ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
    if (clientDoc == null)
             clientDoc = new ReportClientDocument();
             clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
            // Open report
            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
           String connectString = ""; // jdbc:sybase:Tds:DBSERVERNAME:9812/DBNAME?ServiceName=DBNAME
           String driverName = "";    // com.sybase.jdbc3.jdbc.SybDriver
           String JNDIName = "DS_APP";
           String userName = "";
           String password = "";
           // Switch all tables on the main report and sub reports
           CRJavaHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
         // logon to database
          CRJavaHelper.logonDataSource(clientDoc, userName, password);
    // Store the report document in session
    session.setAttribute(reportName, clientDoc);
                   // Create the CrystalReportViewer object
                          CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
         String reportSourceSessionKey = reportName+"ReportSource";
         Object reportSource = session.getAttribute(reportSourceSessionKey);
         if (reportSource == null)
              reportSource = clientDoc.getReportSource();
              session.setAttribute(reportSourceSessionKey, reportSource);
         //     set the reportsource property of the viewer
         crystalReportPageViewer.setReportSource(reportSource);
         crystalReportPageViewer.setHasRefreshButton(true);
         crystalReportPageViewer.setToolPanelViewType(CrToolPanelViewTypeEnum.none);
         // Process the report
         crystalReportPageViewer.processHttpRequest(request, response, application, null);

    the sample shows how to clear RAS and Enterprise resources after viewing report.
    1. If you use unmanaged RAS - as I can see you using setReportAppServer, then remove the enterprise related stuff : instantiating and cleaning code.
    The sample code is meant to give you an idea on how you can release the resources after done with viewing report. In your case all you need to do for cleaning is call close() on ReportDocumentObject. The sample will need to be modified for your requirements.

Maybe you are looking for

  • LSMW Uploading of PO Text

    Hi, I need help regarding Uploading of Material Master PO Text using LSMW with Transaction Code MM02.  Pl. give guidance or any notes related with this topic.  I need little urgent. You people please mail me the notes on this topic. EMail address of

  • Message mapping---1 source structure and n target structures

    I would like to know how many message mappings we need if we are mapping one source structure to 3 different target structures of a single receiver. I am assuming its just one message mapping. Depending on the above answer how many interface mappings

  • Satellite P - How to disable hibernation and standby?

    I have set power configuration to say Never for both Hibernation and Standby - both occur. What am I doing wrong? I would be happy with Standby but do NOT want Hibernation!

  • Iphone4 with IOS7.1.1 requests restore when connected to iTunes

    I recently updated my iphone4 to IOS 7.1.1. On subsequent connections to my itunes, it constantly requested that I restore my iphone from a previous back-up. Unfortunately, even when I pressed the 'restore' option, it would go through the process and

  • Can't Install CS4 Web Premium

    I can't install CS4 Web Premium .... how to fix.... thx all....