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

Similar Messages

  • "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.

  • 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

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Crystal Report XI Error:717

    Error:717
    Hi,
    We use Crystal Report XI developer with Oracle 10g.
    Our Oracle Client is Oracle 10g and the Oracle server is Oracle 10g.
    Our application develepor tool is CodeGear RAD Studio, Delphi 2007 Enterprise.
    The Crystal Report use the Native Oracle Connection.
    When the applicatin run, and we call the Crystal Report, an error occure:
    Error:717 Error in file c:sample.rpt
    Failed to load database information
    Execute
    Please help me!
    Thanks
    Sándor Lencsé

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

  • Crystal Reports 2008 - Error 1904 - DLLs will not register

    I have just tried to install Crystal Reports 2008 on a PC which is running on XP Professional 2002 (Service Pack 3) and none of the DDLs will register.  I have administrator privileges on the local PC.
    I could possibly try to register the DLLs manually but I don't understand why they won't register automatically.
    I would really appreciate some assistance with this. 
    Kind regards, Leeanne
    I received the following errors....
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportPromptEMF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportSourceBridge.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\busobjReporter.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClient.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientAddin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientTemplate.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Webi.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\qaaws.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MetaDataPlugins.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\lovconvertor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseControls.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Xcelsius.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Flash.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EventServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FileServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\JobServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DocProcessingServerAdmin.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseRepositoryAdaptor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AuditProxyService.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Discussions.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\WebIntelligence.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CrystalEnterprise_SMTP.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DiskUnmanaged.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Ftp.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Managed.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MDS.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Connection.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Favorites_Folder.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Folder.dll failed to register.  HRESULT -2147024769.  Contact your support personnel.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Inbox.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\LicenseKey.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ObjectPackage.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Profile.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Publication.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\User.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\UserGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CacheSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PageSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\SAWebAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMSAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Calendar.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Event.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Excel.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Hyperlink.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PDF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CustomRole.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Powerpoint.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Program.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Agnostic.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\RTF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ScopeBatch.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Server.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ServerGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Shortcut.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\TXT.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Word.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AFDashboardPage.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AppFoundation.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\InfoView.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMC.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Designer.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyc.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyclopedia.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MyInfoView.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportConvTool.dll failed to register.

    Install .NET Framework 1.1 and 2.0 and then any patches Windows has for them.
    Install the C++ runtime distribution from Microsoft, search MS's site for it, they have multiple links for each OS.
    Download the latest Microsoft installer, you can go to MS's web site to get it.
    Check with your IT department to make sure they have not pushed out a "modified" administrator Profile to your PC. Open up regedit.exe and confirm you can change any key in Current User and Software and anything. Be sure to copy the original so you can right the value back and the usual warnings about modifying the registry.
    Download CR 2008 SP1 full build: https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe ( requires and un-install of existing CR 2008 if any are on your PC )
    Before running CR 2008 Install SP 3: https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    You could also try Disabling DEP, right click on My Computer, Properties, Advanced tab and Data Execution Prevention and make sure it's set to windows Processes only. Requires a re-boot if changed.
    Disable any and all anti-virus and local firewalls, copy everything local and disconnect your network cable so you don't get anything nasty and try again.
    If none of the above works then try someone elses computer, your system may be beyond repairing and could require an FDISK and starting all over.
    Thank you
    Don

  • Crystal report unexpected error in Web service (IIS)

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
                Xception E NSF      NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService] Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
                Xception E NSF      NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService]    at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
                   at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
                   at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
                   at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
                   at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
                   at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    What is the workflow
    What is the application doing?
    Iu2019m guessing you have a windows service application and you're trying to launch a UI (ie the viewer control) from the application or print using the vieweru2019s printing functionality programmatically(?).
    If this is a Windows Service running under the local system account, then follow the instructions in the error message. (ie, bring up the properties of the service, go to the logon tab and check the checkbox that says u201CAllow service to interact with desktopu201D.   At least that should allow whatever popup is trying to come up display properly.
    Ludek

  • Is this crystal report / adobe error   ?

    hi there,
    i developed a web application using asp.net4.0, VS 2010 and crystal report for VS2010. everything working fine in development machine as well as local server machine. but the same failed in production and it gave the error message as
    "the file is damaged and could not repaired" end of this error message everytime some random number is displaying.
    detail error:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AcroRd32.exe
    Application Version: 10.1.1.33
    Application Timestamp: 4e64e4e2
    Fault Module Name: IA32.api_unloaded
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 4e64f83d
    Exception Code: c0000005
    Exception Offset: 5c662a6d
    OS Version: 6.0.6002.2.2.0.305.9
    Locale ID: 2057
    Additional Information 1: fd00
    Additional Information 2: ea6f5fe8924aaa756324d57f87834160
    Additional Information 3: fd00
    Additional Information 4: ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    actually im getting this error only while passing some input data if i pass some other data then its working fine so, what i did was copied the production database,published folder from server to my local machine and ran the same code here i can see the output without any error. so, im confussing how to resove this issue and where is the issue.
    experts please guide me to resolve this issue
    Edited by: winseelan on Nov 22, 2011 6:31 AM

    This is the same as: crystal report / adobe error
    Please do nto cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Locking this thread.
    - Ludek

  • Seagate Crystal Reports: Database Error

    I am using Crystal reports Version 8 and frequently get the error 'Seagate Crystal Reports: Database Error' when I try to open a previously working crystal report file. The error occurs when I click on the Database menu. Every time I get this error I end up redesigning the report as the I have not yet found a solution and I cant run the report.
    The error is a message box with the title 'Seagate Crystal Reports: Database Error' and an ok button - nothing else.
    Its very frustrating!
    Please help.
    Thanks.

    Hi,
    What database are you using and how are you connecting to it? 
    What are you clicking in the Database menu:  Set Location, Verify Database, Show SQL Query?
    Before opening the report, can you connect to the database first then open the report? 
    I would have expected an error code or a more descriptive error to follow. 
    Thanks,
    Brian

  • Crystal Report Runtime Error 9.0.Could not open the report

    Hi,
    Getting the Crystal Report Runtime Error 9.0.Could not open the report while Run on Launch Application. Actually in Launch Application, created a link for exe which is having crystal reports. We can open the Crystal Reports from the exe outside B1.
    Note: SAP 2007, Crystal Report 2008 is using.Normally can open crystal report.
    Any help to fix the error is appreciated.
    Thanks & Regards,
    Parvatha Solai.N

    Hi,
    Please post screen shot of error message here.
    Thanks & Regards,
    Nagarajan

  • Crystal Report Previewing Error

    Dear Experts,
    After previewing the Crystal Reports, the error message shown like this:
    http://i775.photobucket.com/albums/yy34/erpkenny/CrystalReport_jpg_02JUL.jpg/
    Please kindly help me!
    Thanks!
    Kenny

    hi,
    Check the below link:
    Application has a problem - Printing Problem
    Thanks,
    Neetu

  • SAP Crystal Reports 2011: Error INS00140 The Product keycode is not valid

    I have followed all of the instructions in the previous thread but am still getting the error message.  I am trying to install on a Windows 7 machine.

    Try this Post...
    SAP Crystal Reports 2011: Error INS00140 and other install errors
    PS - Coy no longer works here
    Don

  • Crystal report "Failed to load database information" error after publish

    I have seen similar questions, but none of the answers seem to apply to my situation.
    I am upgrading an older web application to Visual Studio 2013, using the SAP Visual Studio Crystal Reports tools. Everything works great until I publish.
    I have two sorts of reports: Some that export to Excel, and some that export to PDF. All work fine within Visual Studio. However, when I publish, the reports that should go to PDF give me the following error.
    Failed to load database information.Error in File [Report Name] {GUID}.rpt
    I have seen several posts that indicate that this could be a 32/64 bit issue. I am using a newer 64 bit SQL database, and this is an old application. I have it set to Any CPU. However, since the reports work fine in Visual Studio, I don't see how this could be the issue.
    Any other ideas?
    Thanks,
    Geoff Callaghan

    Hi Geoff
    This is definitely not due to the export type. Rather it will be due to a db issue of some sort. My suspicion is that reports that work use a different type of connection that reports that fail. E.g.; the reports that work use OLE DB, those that fail use ODBC and the ODBC datasource is 32 bit, not 64 bit(?). E.g.; check the database connections between reports that work and those that do not. And remember to also check the connections in subreports (if any).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • "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

Maybe you are looking for

  • Error in Adapter monitor

    Hi all,        I am trying to complete this blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1345. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original l

  • How to pause a imported .swf logo?

    I've exported a 3 seconds turning Logo (.swf file, done by After Effect) Pls tell me how to pause the logo after it had fly out (in a 10 seconds slide)? I've tried to pause the logo in After effect till 10 seconds but the .swf export file size is HUG

  • How to create a window in a swf

    Hi All, Need a little direction here, I want an about link within a swf to load an about window; once read the user would simply click the close button (x for example in the upper right hand corner) of the window. How would I go about making such a w

  • Ovi chat with yahoo messenger

    hello..just wannt know..is it possibe to add yahoo messenger user on ovi chat??i already tried but seem only can add ovi chat and google talk..thank you.. Buy Original..See Original..

  • Repeated error messages

    I have downloaded Adobe Reader and Flash several times. But every time I go to open a PDF file, it comes up with an error message. What can I do to fix this?