Load Report Failure error

I have a combobox (windows app c# VS2005 CR XI R2) when I change selection I want the appropriate report to be displayed. It only works first time!
If I run in debug mode and break on SelectedIndexChanged and then press F5 to continue it will work, but if I just run it without this manual intervention, I get an unhandled exception, the inner exception shows 'Object reference not set to an instance of an object'
The code is paused on the line:
AtWrpt.SetParameterValue("@P1ID", cmbNames.SelectedValue.ToString());
When I hover over Selected Value it has a value, so what Object is not set?
Here's the pertinent bits of code...
//Class variables
private rptAtW AtWrpt;
private ConnectionInfo connectionInfo;
private void cmbNames_SelectedIndexChanged(object sender, EventArgs e) {
     AtWrpt = new rptAtW();
//CRV is the Crystal Reports Viewer on the form
     CRV.ReportSource = AtWrpt;
     AtWrpt.SetParameterValue("@P1ID", CmbNames.SelectedValue.ToString());
     AtWrpt.SetParameterValue("@InclusionType", 1);
     SetDBLogonForReport(AtWrpt);
private void ConfigureCrystalReports() {
     connectionInfo = new ConnectionInfo();
     connectionInfo.ServerName="D
SQLExpress";
     connectionInfo.DatabaseName = "xx";
     connectionInfo.IntegratedSecurity = true;
private void SetDBLogonForReport(ReportDocument reportDocument) {
     Tables tables = reportDocument.Database.Tables;
     foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables) {
          TableLogOnInfo tableLogonInfo = table.LogOnInfo;
          tableLogonInfo.ConnectionInfo = connectionInfo;
          table.ApplyLogOnInfo(tableLogonInfo);
How do I fix this?
I tried adding a timer delay but that didn't work, do I need to clear somethin out before I get the next report?

Fixed!
I don't know where I originally got this code from, but I moved 'CRV.ReportSource = AtWrpt;'
from before setting the paramaters to after setting them, it now works fine!

Similar Messages

  • Intermittent "Load Report Failed" error on IIS6 ASP 4.0

    I can run reports designed in Crystal 2011 and embedded in VS2010 designed web pages on a Windows 2003 SP2 server every day.  However, once every 2 - 3 days I get a "Load Report Failed - A document processed by the JRC engine cannot be opened in the C++ stack".  The first instance of this error causes all subsequent user access to Crystal Reports to fail with the same error.  When the ASP 4.0 application pool is recycled the error goes away.
    I was getting the "Load Report Failed" error due to "out of memory" I until made sure that the crystalreportviewer.dispose was run on exiting each report page. 
    Here is  how I run Crystal Reports:
       Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            If Not IsPostBack Then
                Dim myAL As New Hashtable
                myAL.Add("MO1", Request.QueryString("MONum1"))
                myAL.Add("MO2", Request.QueryString("MONum1"))
                Dim filename As String = ""
                filename = Server.MapPath("~/reports") + "\MfgPicklistByMO.rpt"
                Dim u As New CrystalUtilities
                Session("crViewer") = u.SetupReport(filename, myAL)
            End If
            CrystalReportViewer1.ReportSource = Session("crViewer")
        End Sub
       Public Function SetupReport(ByVal fileName As String, _
                     ByVal Params As Hashtable, Optional ByVal dbParam As Boolean = True) As   CrystalDecisions.CrystalReports.Engine.ReportDocument
            Dim objCrystalReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            objCrystalReportDocument.Load(fileName)
    .... logs onto a selected database, and loads paramters

    I have installed CrystalReportViewer1.Dispose() statements on all of the link events to navigate out of the pages with the CrystalViewer.  However, it turns out that several users are using the back arrow to navigate out of the page instead of the navigation links I have put on the page.
    I can't seem to find any event in ASPNET 4 that fires when the back arrow is pushed.  If I could find such an event I could put a CrystalReportViewer1.dispose statement there assuming CrystalReportViewer1 still has scope.    The Page_Disposed event does not fire when the back arrow is pushed.
    Environment:  VS2010, Crystall 2011, ASPNET 4.0

  • "Load report failed" error with VS 2010 upgrade

    I have a report system that has been running nicely for a few years. Today, I upgraded it to use the latest Crystal from Visual Studio 2010. I installed the .net framework 4.0, installed the Crystal runtime (64 bit), and updated the web site with slightly revised code to use the new stuff. Now, reports that worked yesterday fail with the 'load report failed' error. A little research shows that the file name passed to the report engine is correct (and is the same as it has always been). I see that rpt files are being created in windows\temp each time a report is requested, so it seems that the report file is being found.
    The code change I made was to use the new ExportToHttpResponse method.
    When deployed in development and test environments (both 32 bit). this worked perfectly. In production, however, no such luck. I wonder if I have missed a setting somewhere, or if there is something extra to do on a 64 bit server?
    Does anyone have a clue for me?
    More info - I found the following error in the event log:
    The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
    ... which I thought was interesting until I noticed the same error occurs on my dev machine, where the reports are working.
    I also used process monitor to check the dlls loaded on the production box, and they all seem to be the latest version. I tried using the 'modules' utility on my production box, but it did not pick up the Crystal stuff (or any of my web stuff - I wonder if it is a 32-bit only tool?).
    Edited by: Ray Novak on Dec 29, 2010 5:12 PM

    I just tried this again with the same result. I uninstalled the previous Crystal, deleted all the old folders and reg keys I could find, then installed the new 64 bit redist package. I asigned permissions to the SAP reg key tree. I ended up with the same result: "Invalid file name". There were new files created in the temp folder for each report request, so I can tell that my.rpt files are being found.
    I used process monitor to see what was happening, and here are the results that seem interesting:
    RegOpenKey     HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0     NAME NOT FOUND          
    RegOpenKey     HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0     NAME NOT FOUND          
    IRP_MJ_CREATE     C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\secSSO.dll.2.Config     NAME NOT FOUND
    FASTIO_NETWORK_QUERY_OPEN     C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\SmAgentAPI.dll     NAME NOT FOUND
    Since it seemed to be trying to create files in the \win64_x64 folder, I allowed the process full access, but it didn't help. It was also looking for SmAgentAPI.dll which does not seem to exist on my system.

  • Crystal Reports with VS2005 - Load Report failed Error....

    Post Author: rajeshvijayan
    CA Forum: Older Products
    Hi,
    I am running Crystal Reports viewer on IIS6.0 and windows server 2003, which was installed using the redistributable package that comes along with Visual Studio 2005. We open these reports through a web based application 1 which is run on a different application pool on IIS. We have about 3 to 4 other web applications runing on the same IIS. All the other Web applications are working fine.
    This  web application 1 has 2 parts - one is the normal data display quiries from the back end SQL server 2005 and the other is the Crystal Reports which also quires data from SQL Server 2005. At times i find that these reports all of them throw an error - Load Report Failed. At the same time the Part 1 of this application does work fine in showing the data that is queried from the database. Moreover at this stage, I dont find any errors in the Event viewer. If i restart this application pool alone, the reports starts working fine again.
    I had gone through a few of the news groups and have made all the necessary permission related changes like the TEMP Folder, ASP.NET temporary folder, the folder in which the crystal reports is placed etc but still the same error throws up after some point in time. Wanted to know if there is any special configuration required on the Application pool when it comes to Crystal Reports. We have bout 10 to 15 users using this application for testing and it only throws this error at times and not always.
    Looking forward to any kind of solution from your side.
    Regards
    Rajesh

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

  • "Load Report Failed" Error after upgrading to CR XI R2 and VS 2005

    Previously I had visual studio 2003 and crystal report XI and on my website project and I have this function where users can download their monthly statement. and it was working fine. here is my code of the function...
    Private Sub cmdStatement_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdStatement.Click
            Dim pReport As New ReportDocument
            pReport = New ReportDocument()
            Try
                'Dim pTable As Table
                pReport.Load(Server.MapPath(".") & "\reports\MonthlyStatement.rpt")
                pReport.SetDatabaseLogon(dbUser, dbPassword, dbServer, dbDatabase)
                pReport.RecordSelectionFormula = "{CCMSC.CID}='" & mCID & "'"
                Dim pArray() As String =
                DataAccess.SqlPublic.ExecuteDataset(cnString, "webDownloadEStatement", pArray)
                Response.ClearContent()
                Response.ClearHeaders()
                Response.ContentType = "application/pdf"
                pReport.ExportToHttpResponse(CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat, Response, True, "DebtHelper_" & mCID & "_MonthlyStatement")
                pReport.Dispose()
            Catch ex As Exception
                divMessage.Visible = True
                lblMessage.Text = ex.Message
            Finally
                pReport.Dispose()
            End Try
        End Sub
    Now, recently I upgraded my crystal to CR XI Release 2 SP6 and also upgraded my web project to Visual Studio 2005 with .NET 2.0. and now it gives me "report load failed" error on the very first line pReport.Load(......)
    The project has updated the references related to crystal reports to the 11.5 version from 11.0. Not sure what am I missing here.
    I have also opened the report file in the new crystal and saved it. I also opened it in Visual Studio itself and saved it.
    I would appreciate any help possible.
    Thanks
    Raj

    Hi! Ludek,
    I have tried to hard code the path. I checked the win/temp folder and the aspnet account already has the read/write permissions.
    Below is the detailed error message:
    Error Message: Load report failed.
    Page Error Occurred: /MyDebthelper/reports.aspx
    ExceptionType: System.Exception
    Inner Exception: System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    Stack Trace: at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at MyDebthelper.reports.cmdStatement_Click(Object sender, EventArgs e) in C:\Documents and Settings\RBhavsar\My Documents\Visual Studio 2005\Projects\MyDebtHelper\MyDebthelper\reports.aspx.vb:line 83 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Thanks
    Raj
    Edited by: debthelper on Apr 30, 2010 5:21 PM

  • Load Report Failed error sporadically shows up

    Hi all,
    I have written an asp.net web site (CR2008 sp2.5, .net3.5, VS2008, vb.net running on winServ2003 hitting an Oracle 10g database) that does nothing but dish out reports for users.  I built in the asp.net member/role security, which works fine, and different sections have a "frmReportViewer.aspx" file that has a crystal report viewer control in it. 
    Based on a querystring parameter, the report will load the correct rpt to the control on the page.
    here's the problem.:   sometimes when loading a report, it instantly comes back with "LOAD REPORT FAILED".  Sometimes, you can close the window, click the link again, and it will work fine.   Sometimes, if the report does load, then if i try to drill down into a group, it will tell me "no valid report source is available" in a little ajax-style dialog box in the report.
    My main question is....why does this work sometimes?  this instability will make this project go down the tubes (along with my job perhaps)....I showed my company what CAN be done, now i need to make it RUN LIKE IT SHOULD!
    THANKS IN ADVANCE!
    GEORGE
    Edited by: george hardy on Mar 25, 2010 7:58 PM

    Make sure you are disposing and closing the report object;
    repdoc.close
    repdoc.dispose
    once you are done with it.
    Also, search the kbase for the error:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Kbases / Notes 1218766, 1217643 would be a sampling of what you'll find there.
    From your description, it is not clear if this occurs under heavier loads. If it is, increasing the allowed print job count may help. For more details see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Load report failed error at setdatabaselogon

    I have a machine that is getting the error 'load report failed' which is happening at the setdatabaselogon command in the VB.NET module i'm using.  Sometimes it does it sometimes it doesn't!! 
    Anyone know of any reason why this would happen?

    I just tried this again with the same result. I uninstalled the previous Crystal, deleted all the old folders and reg keys I could find, then installed the new 64 bit redist package. I asigned permissions to the SAP reg key tree. I ended up with the same result: "Invalid file name". There were new files created in the temp folder for each report request, so I can tell that my.rpt files are being found.
    I used process monitor to see what was happening, and here are the results that seem interesting:
    RegOpenKey     HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0     NAME NOT FOUND          
    RegOpenKey     HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0     NAME NOT FOUND          
    IRP_MJ_CREATE     C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\secSSO.dll.2.Config     NAME NOT FOUND
    FASTIO_NETWORK_QUERY_OPEN     C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\SmAgentAPI.dll     NAME NOT FOUND
    Since it seemed to be trying to create files in the \win64_x64 folder, I allowed the process full access, but it didn't help. It was also looking for SmAgentAPI.dll which does not seem to exist on my system.

  • Load Report Failed Error

    LOAD REPORT ERROR
    We are working on the Crystal Reports version 2008 sp3 (12.0) with windows application. When the user tries to open more than 75 reports, this error is occurring. Please give us suggestion to resolve this issue.
    We have tried following Code changes.
    1.In Registry Settings Job Limit i changed to  -1
    2.Released all the report document objects once report generated.
    ReportDocument.Close();
    ReportDocument.Dispose();
    3.GC.Collect();
    GC.Collect();
    GC.WaitForPendingFinalizers();
    GC.Collect();
    Eventhough still i am getting error like "Load Report Failed"
    "The maximum report processing jobs limit configured by your system administrator has been reached."
    Once Report document objects are reached 75.how to decrese it?(without closing application)
    How can we resolve this issue.Any other suggestion are there for decreasing report document objects in crystal Engine.
    Please suggest me.
    Thanks in Advance.

    There are two distinct concepts to consider:
    1) Concurrent Processor License (CPL)
    The CR engine is limited to 3CPL meaning that 3 concurrent reports can be processed by the report engine. Subsequent requests are queued up and processed as a license becomes available (in the event viewer you may see messages along the lines of;  job x submitted, waiting y seconds for available license).  The .close and .dispose methods free up memory taken up processing a report. Not doing so, increases memory used until there is no more memory to be had, leading to issue such as loading of reports, unstable computers and crashes.
    2) Print Job
    A Print Job is defined as almost any job a report is requested to do. E.g.; paging is a Print Job, Zooming, subreport, etc. One report could have 75+ print jobs associated with it simply by putting a subreport into a detail section which contains 75+ records and the subreport runs per each record. I suspect this is where your issue lies. There is a way to increase the number of print jobs, however the engine is optimized for this number and increasing it may lead to unanticipated consequences. See the article [Crystal Reports Maximum Report Processing Jobs Limit|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]. One note on the above article. I mention that setting the value to 0 essentially removes the limit. While that is true in certain cases, doing so is playing with fire....
    One other article to take note of is [Troubleshooting the error; Load Report Failed|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d02f7cd3-f18b-2d10-55ad-dab2200f68fc]
    - Ludek

  • Unable to load report error

    Hi
    This started with an asp.net application which I have been maintaining for several years, on an XP 32-bits box. Alas, the box died, and I have acquired a new Development machine, now with Windows 7/64-bits. I have installed Visual Studio 2010 and Crystal reports (13.0.,9), including runtime for 32 and 64 bits.
    I got the "unable to load report" error, and I think I have tried everything I could find on the web related to solving this issue.
    Finally I got Down to creating a new dummy asp.net application with a dummy report just displying the text TEST. This report Works fine when run from within VS, but if I deploy it to the web server on the Development machine I also get the unable to load report failure.
    I believe this is a configuration issue. The application has run fine for years, I just can't get it to Work on the new development machine.
    Please help
    Peter

    Make sure that process has read / write rights to the %TEMP% folder. Process Monitor may help.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • ERROR: No connect due to DbSl Load Lib Failure

    Hi Everyone,
    I am working on EHP 7 upgrade and currently at Extraction phase of SUM tool. There are numerous issues i have faced and resolved one by one. now i got stuck in this error
          Severe error(s) occurred in phase PREP_INPUT/CONFCHK_IMP!
          Last error code set: Calling 'D:\usr\sap\<SID>\DVEBMGS01\exe/tp' failed
          with return code 249, check D:\usr\sap\<SID>\SUM\abap\log\TOOLOUT.LOG for
          details
    Toolout:
    iles\Microsoft SQL Server\110\Tools\Binn\;D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64
        ENV: SAPSYSTEMNAME=<SID>
        ENV: dbs_mss_schema=<sid>
        ENV: rsdb_ssfs_connect=0
    EXECUTING D:\usr\sap\RES\DVEBMGS01\exe\tp.EXE "pf=D:\usr\sap\<SID>\SUM\abap\var\DEFAULT.TPP" getdbinfo SID
    TRACE-INFO: 1:  [     dev trc,00000]  Mon Aug 11 20:14:06 2014                                                       104676  0.104676
    TRACE-INFO: 2:  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dbmssslib.dll"), hdl 0, count 1, addr 00007FFABDAD0000
    TRACE-INFO: 3:                                                                                                            7  0.104683
    TRACE-INFO: 4:  [     dev trc,00000]      using "D:\usr\sap\<sid>\DVEBMGS01\exe\dbmssslib.dll"                              7  0.104690
    ERROR: No connect due to DbSl Load Lib Failure
    ERROR: Possible reasons are:
    ERROR:  - The value set for dbms_type ('mss') is invalid.
    ERROR:  - Cannot find the DLL dbmssslib.dll in path
    ERROR:  - problems when loading DB-dependent DLLs
    ERROR: Connect to <SID>failed (20140811201406).
    SAPup> Process with PID 3224 terminated with status 249 at 20140811201406!
    R3trans -d returns following error (note: everything is normal at MMC and i am able to login SAP asusuall)
    This is r3trans version 6.24 (release 741 - 10.06.14 - 20:14:07).
    unicode enabled version
    2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    r3trans finished (0012).
    i have checked/ tried the following things but did not help
    1. dbms_type is correct and check other parametrs aswell
    2. downloaded latest dbmssslib.dll and tried replacing but did not help
    3.replaced r3trans and TP with new patch level
    4.checked scn for similar posts
    please help me resolve this issue
    thanks,
    Shiv

    getting following error now
    Checks after phase PREP_IMPORT/TOOLIMP_TOOLDEL_PRE were negative!
    Last error code set: Detected 1 aborted activities in 'PHASES.ELG'<br/> Calling 'D:\usr\sap\<sid>\DVEBMGS01\exe/tp' failed with return code 12, check D:\usr\sap\<sid>\SUM\abap\log\SAPup.ECO for details
    ERROR: Detected the following errors:
    # D:\usr\sap\<sid>\SUM\abap\log\LM1I000099.<sid>: 4 ETW000 > parallel 3 4 ETW000 > 4 ETW000 > excluding 'R3TRDDDD','R3TRDOMA','R3TRDTEL','R3TRENQU','R3TRMACO','R3TRMCID','R3TRMCOB','R3TRSHLP','R3TRSQLT','R3TRTABL','R3TRTTYP','R3TRUENO','R3TRVIEW' 4 ETW000 R3trans was called as follows: D:\usr\sap\<sid>\DVEBMGS01\exe\R3trans.exe -u 26 -w D:\usr\sap\<sid>\SUM\abap\tmp\LM1I000099.<sid> D:\usr\sap\<sid>\SUM\abap\tmp\LM1KK000099.<sid> 4 ETW000 active unconditional modes: 26 2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    thanks,
    Shhiv

  • Crystal Report Error in Windows Server 2012 - Load Report Failed

    Badly needed help regarding the above topic. Thanks in advance for helping.
    We have a web application experiencing this error after deployment in WinServer 2012 IIS 8. Previously, the application was deployed in WinServer 2003 but we dont experience any errors like this. We tried searching the net for solutions and these are the following things we've try doing so far.
    - Installed Crystalreportsviewer13 64 bit in Server. After that, transferred the asp_net client folder in the IIS folder same level of our application.
    - We discovered that upon browsing the asp_net client in IIS itself, error 500.24 is appearing in the server. Checked the permission for folder asp_net client. Add IIS_USR permission read execute and write on the folder and still same Load Report Failed.
    - Next we tried integrating the crystalreportsviewer13 inside the application same Load Report Failed error.
    - Installed Service Pack 8 for CrystalReport but to no avail.
    Is there any way to get the real error behind the "Load Report Failed" error? Also, is there any other way to determine what else can be done to resolve this issue? Thanks in advance.

    Hi Jesse,
    Use a try/catch block and see if this gives you more info:
    catch (Exception ex)
        MessageBox.Show("ERROR: " + ex.Message + " ;" + ex.InnerException.Message);
    Response.write of course...
    Make sure you have permissions set for sharing the report folder also, could be simply a permission error on the report folder.
    Fiddler may give you more details also
    Don

  • TP error: connect failed due to DbSL load lib failure

    Hi All,
    I have prepared Quality system from Production system as System copy.I have upgarded Kernel from 620 to 640 in Quality system.
    After Kernel upgrade , Server details are as below
    Operating System : windows 2003 IA 64
    Database : SQL server 2000 IA 64
    Kernel :640 and compiled for 64 bit non unicode system ,
    patch number is 43.
    SAP : SAP R/3 4.7
    Before kernel upgrade , server details are as below
    Operating System : windows 2000 server
    Database : SQL server 2000
    Kernel :620 and compiled for Non unicode system ,patch number
    is 1363
    SAP : SAP R/3 4.7
    I am able to transport request from Development to Quality . But when I try to import request from Quality I am getting error message "Connect failed due to DBSL Load lib failure"
    Error message is " connect failed due to DBSL load lib failure
    cannot find the DLL dbmssslib.dll in path( K:\usr\sap\NBQ\SYS\exe\run)
    problem when loading DB-dependent DLLs."
    I have set Environmnet variable ( DBMS_TYPE value as mss) for nbqadm user.
    I have seen that dbmssslib.dll file is exist in exe/run path.
    Does anyone having an Idea , how to resolve this issue.Pls help me
    Thanks in advance
    Regards
    Venu

    Hi ,
    Thanks for all
    Issue is resolved by myself.
    Instead of update Kernel to 640 , I have downloaded latest 620 kernel patch on IA 64 .
    Since my production server is running on x86 and 620 kernel , i have downloaded 620 kernel for IA 64 .
    That resolved my issue.
    Regards
    Sai

  • No connect due to DbSl Load Lib Failure - During upgrade

    Hi,
      I am in the middle of performing PREPARE on a ECC 5.0 system to upgrade to ECC 6.0. During the phase PR_DBPAR the following error is coming:
    SAPup> Starting subprocess 15413368 at 20080525190758
    ENV <0x1105f2e90>: ORACLE_PSRV=DR5
    ENV <0x1105f2ed0>: PATH=/oracle/DR5/102_64/bin:.:/home/dr5adm:/usr/sap/DR5/SYS/e
    xe/runU:/usr/sap/DR5/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/
    sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin
    ENV <0x1105f3070>: NLS_LANG=AMERICAN_AMERICA.UTF8
    ENV <0x1105f30d0>: ORACLE_BASE=/oracle
    ENV <0x1105f3290>: dbs_ora_tnsname=DR5
    ENV <0x1105f32d0>: ORACLE_SID=DR5
    ENV <0x1105f34b0>: DIR_LIBRARY=/usr/sap/put/exe
    ENV <0x1105f3670>: dbs_ora_schema=SAPDR2
    ENV <0x1105f3830>: ORA_NLS33=/oracle/client/9208/ocommon/nls/admin/data
    ENV <0x1105f3990>: ORACLE_HOME=/oracle/DR5/102_64
    ENV <0x1105f3a70>: dbms_type=ORA
    ENV <0x1105f3c30>: LIBPATH=/usr/sap/put/exe:/usr/sap/DR5/SYS/exe/run
    ENV <0x1105f3d50>: auth_shadow_upgrade=0
    EXECUTING /usr/sap/put/exe/tp (tp) pf=/usr/sap/put/bin/DEFAULT.TPP execdbscript
    DR5 -x SQLDBSCRIPT.TQL
    This is /usr/sap/put/exe/tp version 372.04.08 (release 700, unicode enabled)
    ERROR: No connect due to DbSl Load Lib Failure
    ERROR: The values set for DIR_LIBRARY ('/usr/sap/put/exe') or dbms_type ('ORA')
    ERROR: Connect to DR5 failed (20080525190759).
    Warning: Parameter INTERRUPT is no longer used.
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    Warning: Parameter INTERRUPT is no longer used.
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    Warning: Parameter DBCONFPATH is no longer used.
    Warning: Parameter STARTDB is no longer used.
    Warning: Parameter STOPDB is no longer used.
    TRACE-INFO: 1:  [dev trc     ,00000]  Sun May 25 19:07:59 2008                 
                       4777  0.004777
    TRACE-INFO: 2:  [dlux.c      ,00000]  *** ERROR => DlLoadLib: dlopen()=        
    0509-130 Symbol resolution failed for /usr/sap/put/exe/dboraslib.o because:
    TRACE-INFO: 3:                          0509-136   Symbol OCIClientVersion (numb
    er 130) is not exported from
    TRACE-INFO: 4:                                     dependent module /usr/sap/DR5
    /SYS/exe/run/libclntsh.a[shr.o].
    TRACE-INFO: 5:                          0509-022 Cannot load module /usr/sap/put
    /exe/dboraslib.o.
    TRACE-INFO: 6:                          0509-026 System error: Cannot run a file
    that does not have a valid format.
    TRACE-INFO: 7:                          0509-192 Examine .loader section symbols
    with the             58  0.004835
    TRACE-INFO: 8:                                   'dump -Tv' command. -> DLENOACC
    ESS (8,Exec format error)
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0249
    tp finished with return code: 249
    meaning:
      connect failed due to DbSL load lib failure
    Process with ID 15413368 terminated with status 249
    We are having oracle 10g on AIX 5.3.
    I tried options like setting LIBPATH with /oracle/client/10x_64/instantclient (instead of the default /oracle/client/9208/lib) along with /usr/sap/DR5/SYS/exe/run and having LIBPATH only with /usr/sap/DR5/SYS/exe/run and having env variable DBS_LIBPATH_EXT=/oracle/client/10x_64/instantclient (as per note 836517)
    but if i try to restart PREPARE again, it is picking up the changes happening in LIBPATH (but same error) and also it not picking up DBS_LIBPATH_EXT env variable at all (may be if i try to make it permanent using .sh file it will pick up but i dont want that)
    With all the above said, anyone has any perfect idea to have this issue fixed and continue the prepare process ?
    Thanks,
    Murali.

    Hi Markus,
      Thanks for your reply. The issue is as follows:
    If i keep the current default value of the env variable LIBPATH which is
    LIBPATH=/usr/lib:/lib:/usr/sap/DR5/SYS/exe/run:/usr/sap/DR5/SYS/exe/runU:/oracle
    /client/9208/lib
    and being in /usr/sap/SID/SYS/exe/run (which is 6.40 kernel ECC 5.0) if i execute
    ldd dboraslib.o the following is the output:
    dboraslib.o needs:
             /usr/sap/DR5/SYS/exe/run/libsapu16.so
             /usr/sap/DR5/SYS/exe/run/libclntsh.a(shr.o)
             /oracle/client/9208/lib/libwtc9.so
             /usr/lib/libc.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /usr/lib/libdl.a(shr_64.o)
             /usr/lib/libodm.a(shr_64.o)
             /usr/lib/libc.a(aio_64.o)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
    being in /usr/sap/put/exe (which is in the middle of PREPARE step for ECC 6.0 upgrade, so it put kernel 7.0 files), the following is the output:
    dboraslib.o needs:
             /usr/lib/libc.a(shr_64.o)
             /usr/sap/DR5/SYS/exe/run/libclntsh.a(shr.o)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /usr/lib/libdl.a(shr_64.o)
             /usr/lib/libodm.a(shr_64.o)
             /usr/lib/libc.a(aio_64.o)
    But if i change the environment variable for LIBPATH as follows:
    LIBPATH=/oracle/client/10x_64/instantclient:/usr/lib:/lib:/usr/sap/DR5/SYS/exe/run:
    /usr/sap/DR5/SYS/exe/runU  (since we have already installed oracle 10g which is up and running and so we have already installed instant client also during that process)
      the following is what the output for both the path as mentioned earlier:
    #[/usr/sap/put/exe]
    #dr5adm@sapdr5-3d[DR5]> ldd dboraslib.o
    dboraslib.o needs:
             /usr/lib/libc.a(shr_64.o)
             /oracle/client/10x_64/instantclient/libclntsh.a(shr.o)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /usr/lib/libdl.a(shr_64.o)
             /usr/lib/libodm.a(shr_64.o)
             /usr/lib/libperfstat.a(shr_64.o)
             /usr/lib/libcfg.a(shr_64.o)
             /usr/lib/liblvm.a(shr_64.o)
    #[/usr/sap/DR5/SYS/exe/run]
    #dr5adm@sapdr5-3d[DR5]> ldd dboraslib.o
    dboraslib.o needs:
             /usr/sap/DR5/SYS/exe/run/libsapu16.so
             /oracle/client/10x_64/instantclient/libclntsh.a(shr.o)
             /oracle/client/92x_64/lib/libwtc9.so
             /usr/lib/libc.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /usr/lib/libdl.a(shr_64.o)
             /usr/lib/libodm.a(shr_64.o)
             /usr/lib/libperfstat.a(shr_64.o)
             /usr/lib/libc.a(aio_64.o)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /usr/lib/libcfg.a(shr_64.o)
             /usr/lib/liblvm.a(shr_64.o)
    DIR_LIBRARY on both the cases and by default also is /usr/sap/SID/SYS/exe/run (pointing to running 6.40 kernel)
    But if i try the PREPARE with or without this changes, the issue what i reported is what happening. Let me know your ideas on this.
    Thanks,
    Murali.

  • CR for VS2010 "Load report failed"

    like in "Load report failed" error with VS 2010 upgrade
    web application works fine on Dev but "Load report failed" when deployed to another server (Win2003 or Win2008r2 (fresh installs); latest CR redistributables; beta never existed on these servers).
    useLegacyV2RuntimeActivationPolicy set and full access (all the accounts and even to Everyone group now) granter to the Windows/Temp folder (temp report file is created under windows/temp).
    the Process Monitor show no "failed" access or something (worst is Name not Found)
    any suggestions where to look next?
    and just in case the exception (inner for the "load report failed"): "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.  clientdoc.dll"
    Edited by: Kirill.Y on Feb 21, 2011 2:25 PM

    finally identified where problem is:
    it happens if:
    1. project is Web Site
    2. you are trying to run web application from the "Published" code (all the checkboxes are unticked in the Publich dialog)
    3. code for the Report class is under App_Code folder
    4. report file (RPT) in subfolder, i.e. not under root
    P.S.: also: if embedRptInResource set to true, ResourceName from the class used to reference RPT file is ignored, i.e. RPT file generates code itself. So, the embedRptInResource must be set to false if you want to avoid such case
    In my case i just get rid of Report classes and moved RPT files into the App_Code folder (in one of subfolder under App_Code; and embedRptInResource=true).
    So, either keep everything under root or move RPT files into App_Code
    Btw, useLegacyV2RuntimeActivationPolicy is not required, i.e. in my case everything works just fine without it (.Net 4).
    Edited by: Kirill.Y on Feb 22, 2011 2:00 PM

  • Mavericks won't finish loading due to error message

    My free Mavericks update failed to finish loading, reporting an error message with no explanation.  Shall I just try to load it again even though most of it loaded?

    Hi,
    I have the same problem can you help me?

Maybe you are looking for

  • Creating second InfoView entry point for SAP users in XI 3.1

    Hi All, I have BOE XI 3.1 up and running with the Business Objects Integration kit SAP Solutions kit I would like to create a second infoview entry point for SAP users on the same physical box (single server) as regular InfoView.  I am trying to mock

  • Unable to export a universe in BO XIR2 (SP3) designer

    Hello every one, I have got some trouble with Business object Designer when I modify an object or when I create one in BO Designer ( version :  XI R2 11.5.9.1076) it's impossible for me to export the universe in the CMC, I connect myself with Adminis

  • IMac keeps freezing after SSD upgrade

    I upgraded my late 2010 imac with a ssd drive in the spare sata port. I cloned it and it kept freezing about once every 5min or so for between 10sec-1min. I though it was a bad clone so i wiped it and did a fresh install from scratch, but it seems to

  • Sorting movies in iPhoto smart album

    I created an album of our summer vacation which includes photos and video clips.  I would like to separate out the video clips and stitch them together.  Either in iMovie or otherwise.   Any thoughts on how to separate out the movies?  I tried the Ne

  • Font Question

    Does anyone know which font the world cheerleading is? I'm using photoshop cs2 for mac.