Load Report fail when use impersonate="true" in dotnet config

We have VS2005 and use Crystal 11.5. Our crystal report runs fine. When we set <identity impersonate="true" userName=".\user id" password="user password" />
in our Web.Config file, the report show error "Load report fail".
Could someone tells me why?
Thanks
Tony

Hi Tony,
Please check you are using impersonation in same way
following line below under the <system.web > tag , as illustrated below
<system.web>
<identity impersonate="true"/>
<authtorization>
<allow users="?"/><authtorization/>
This may be permission issue. Domain users need access to "C\Windows\Temp directory" and to the report directory try with giving permission .
Hope this helps!!
Regards,
Shweta

Similar Messages

  • Load Report failed when opening Report under IIS 5.1

    I recently upgraded to Crystal Reports 2008 (12) from Crystal Reports Basic 2008 (10.5).  I am using Visual Studio 2008 with the CrystalReportViewer.  Now when I run my reports from the website under IIS 5.1 (Windows XP SP3), I get a Load Report Failed.  The detailed exception follow:
    Error loading report (ConfigureCrystalReports)
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> 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() --- End of inner exception 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 ncspo.ReportViewer.ConfigureCrystalReports() in D:\Websites\NCSPO\FIS\ReportViewer.aspx.vb:line 43
    If I run the report using the ASP.Net Development Server, the reports run fine.  It only fails under IIS.  From other posts, I understand that i need to grant the Network Service and IIS_WPG group read/write permissions to the windows\temp folder.  I have done this for the Network Service, but the IIS_WPG group was not introduced until IIS 6.0.  Any ideas on how I can get this working under IIS 5.1?
    Here is the code behind page:
    Private Sub ConfigureCrystalReports()
                Try
                    rpt = New ReportDocument
                    Dim strReportFilename As String
                    If Len(Request.QueryString("ReportFilename")) > 0 Then
                        strReportFilename = Request.QueryString("ReportFilename")
                    Else
                        strReportFilename = System.Configuration.ConfigurationManager.AppSettings("cr404Page")
                    End If
                    Dim strReportPath As String = System.Configuration.ConfigurationManager.AppSettings("ReportPath")
                    Dim strReportFilePath As String = strReportPath & strReportFilename
                    Dim strReportFilePath_Full As String = Server.MapPath(strReportFilePath)
                    rpt.Load(strReportFilePath_Full)    <--- Exception occurs on this line
                Catch ex As Exception
                    lblStatus.Text = "Error loading report (ConfigureCrystalReports)"
                    lblStatus.Text &= "<BR>" & ex.ToString()
                    ncspo.clsMisc.LogError(ex, Me)
                End Try
            End Sub

    Am I correct in reading the following 2 documents that IIS 5.1 is not supported?
    If you check this document.  It shows IIS6 and 7 no support on 5.  See page 6
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05523e4-35c4-2b10-2c89-9fcf64b0dd22]
    This document also on page 5
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a87366-da1d-2b10-e1b4-a37ab37a2dea]
    Thanks.

  • 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

  • Deploying Crystal Reports with IIS - Load Report Failed

    Post Author: jeremyrarextreme
    CA Forum: Deployment
    Hi
    We have installed Crystal Reports Developer XI release 2 with Visual Studio 2005 to implement a very simple app that allows a crystal report to be loaded via the web. This works perfectly fine when I publish my build from Visual Studio 2005 (using the built in cystal controls) and go view in browser.
    Everything looks fine when I run the app from Visual Studio by clicking view in browser - the crystal report loads and everything is how it should be.
    When I publish the build on our production server (a Windows 2003 server running IIS6) I get the error: Load Report Failed
    A full detailing of this error can be found on this forum post: http://aspadvice.com/blogs/rjdudley/archive/2005/05/18/2591.aspx
    where many other people are having the same issue.
    I have struggled for a very long time to find a solution to this, how do I resolve this issue?
    when I try to view the .net 2.0 project from a browser running through IIS It displays the business objects toolbar but returns the error: Load Report Failed
    When I run this in my development environment directly from Visual Studio 2005 it works perfectly fine and loads the report.
    The report path is perfectly fine and correct, we have permissions on all folders for read, write and execute for both general user / admin accounts and IIS accounts on the Windows 2003 Server.
    We also have full permissions on c:/temp and c:/windows/temp
    What else can I do to make this work!
    Many thanks and awaiting your reply

    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

  • CR Locks on Database Expert existing rpt / Load report failed on new  rpt

    Visual Studio 2010 SP1 / CR 2010 13.0.1.220
    1) Have a CR (VB) that has been working fine in development for over two weeks and suddenly locks up when attempting to open Database Expert. I right click it to select Expert ... and then nothing. I have to terminate the task.
    2) Loaded a Backup of this project to attempt to save the work on the report...same thing...locks up when attempting to open Database Expert. This report will compile and bring data (from XML) into the viewer but I cannot add additional information from the XML using Database Expert.
    3) Went to create a totally new crystal report...bombs at the point when the CReport tries to load with error: "Load report failed"
    4) From threads on this forum...tried suggestion of downloading and converting "vbnet_win_SimplePreviewReport" from VS2002 to VS2010 ... still receive error "load report failed" when it tries to find "World Sales Report.rpt" even though this report is in this directory: C:\Crystal\CRNET\vbnet_win_SimplePreviewReport\vbnet_win_SimplePreviewReport
    I need some assistance to resolve these errors.

    See KB [KB 1540637 - Error: External component has thrown an exception. Launching the Database Expert in the embedded Crystal Reports designer in Visual Studio|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343330333633333337%7D.do]
    For more info, search the forums.
    Repair of VS2010 and CRVS2010 should also be considered.
    - Ludek
    Edited by: Ludek Uher on Apr 28, 2011 7:11 AM

  • Reproducible error when loading many reports (Load report failed - Not enough memory for operation)

    Environment:
    Win 7 SP 1
    Visual Studio Pro 2012 Update 4
    Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
    Report created in Crystal Reports XI Release 2 (11.5.8.826)
    Targeting x86 .NET 4.0
    Scenario:
    We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
    Sample Code to illustrate the problem:
    I did this as a WinForms project since our main program is using winforms.
    References added:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.ReportSource
    CrystalDecisions.Shared
    CrystalDecisions.Windows.Forms
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
                int i = 0;
                try
                    while (true)
                        i++;
                        ReportDocument report = new ReportDocument();
                        report.Load("Blank.rpt");
                        report.Close();
                        report.Dispose();
                catch(Exception ex)
                    MessageBox.Show(i.ToString() + ex.Message);
    Exception:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
    Not enough memory for operation.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception 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 CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27

    int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
    I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
    I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
    The "real" code as I said does stuff in sections and in a certain order.
    For each report I need to export based on rows in a table
    1. Creates a new Report Document
    2. Loads the report document with the report
    3. Creates a dataset of the data to display
    4. Calls SetDataSource
    5. Calls Report.ExportToDisk
    6. Disposes DataSets
    7. Closes/Disposes Reports
    To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
    1. Creates a new Report Document
    2. Loads the report document with the report
    7. Closes/Disposes Reports
    At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
    So my order of operations becomes...
    1. Creates a new Report Document
    2. Loads the report document with a blank report
    7. Closes/Disposes Reports
    So you'll see this is exactly why I wrote this test the way that I did.
    I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
    There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed.

  • Load report failed only occurs when NETWORK SERVICE don't have access to C:

    Hi,
    My configuration:
    Windows Server 2003+SPs
    CRRedist2008_x86
    The reports works perfect, but after I run the commands bellow, the error: "Load report failed" occurs. To fix I need to give the NETWORK SERVICE read access to C:\ , It's possible to change this access to other diretory?
    Tks.
    cacls "%systemroot%" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%" /t /e /g administrators:f "CREATOR OWNER":f everyone:r SYSTEM:f
    cacls "c:\autoexec.bat" /E /C /R "EVERYONE" "USERS" "POWER USERS"
    cacls "c:\config.sys" /E /C /R "EVERYONE" "USERS" "POWER USERS"
    cacls "c:\boot.ini" /E /C /R "EVERYONE" "USERS" "POWER USERS"
    cacls "c:\ntldr" /E /C /R "EVERYONE" "USERS" "POWER USERS"
    cacls "c:\ntdetect.com" /E /C /R "EVERYONE" "USERS" "POWER USERS"
    cacls "c:\autoexec.bat" /T /E /C /G administrators:f
    cacls "c:\boot.ini" /T /E /C /G administrators:f
    cacls "c:\ntldr" /T /E /C /G administrators:f
    cacls "c:\Ntdetect.com" /T /E /C /G administrators:f
    copy W2k3.inf %Systemroot%\security\templates
    copy hardn2003.sdb %Systemroot%\security\database
    secedit /validate %Systemroot%\security\templates\W2k3.inf
    %systemroot%\system32\secedit.exe /configure /DB %systemroot%\security\database\hardn2003.sdb /CFG %Systemroot%\security\templates\W2k3.inf /log %systemroot%\security\logs\hardening.log
    gpupdate /target:computer /force
    gpupdate /target:user /force
    cacls "c:\config.sys" /T /E /C /G administrators:f
    cacls "c:\autoexec.bat" /T /E /C /G system:f
    cacls "c:\boot.ini" /T /E /C /G system:f
    cacls "c:\ntldr" /T /E /C /G system:f
    cacls "c:\Ntdetect.com" /T /E /C /G system:f
    cacls "c:\config.sys" /T /E /C /G system:f
    cacls "%systemroot%\system32\cmd.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\cmd.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\arp.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\arp.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\cacls.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\cacls.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\debug.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\debug.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\edit.com" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\edit.com" /t /e /g administrators:f
    cacls "%systemroot%\system32\edlin.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\edlin.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\finger.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\finger.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\ftp.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\ftp.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\tftp.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\tftp.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\net.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\net.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\nslookup.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\nslookup.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\regedit.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\regedit.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\regedt32.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\regedt32.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\rexec.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\rexec.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\rsh.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\rsh.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\telnet.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\telnet.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\nbtstat.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\nbtstat.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\netstat.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\netstat.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\net.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\net.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\ping.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\ping.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\regedt32.exe" /t /e /R "everyone"
    cacls "%systemroot%\system32\regedt32.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\route.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\route.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\syskey.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\syskey.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\tracert.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\tracert.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\at.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\at.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\pathping.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\pathping.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\runonce.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\runonce.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\runas.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\runas.exe" /t /e /g administrators:f
    cacls "%systemroot%\system32\secedit.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
    cacls "%systemroot%\system32\secedit.exe" /t /e /g administrators:f
    sc config alerter start= disabled
    sc config AppMgmt start= disabled
    sc config BITS start= disabled
    sc config Clipsrv start= disabled
    sc config Browser start= disabled
    sc config cisvc start=  disabled
    sc config SharedAccess start=  disabled
    sc config mnmsrvc start=  disabled
    sc config fax start= disabled
    sc config RemoteRegistry start=  disabled
    sc config RemoteAccess start=  disabled
    sc config UPS start=  disabled
    sc config UtilMan start=  disabled
    sc config tlntSvr start=  disabled
    sc config RSVP start=  disabled
    sc config RasAuto start=  disabled
    sc config TapiSrv start=  disabled
    sc config WZCSVC start=  disabled
    sc config Wmi start= disabled
    sc config Messenger start= disabled
    sc config PolicyAgent start= disabled
    sc config Schedule start= disabled
    sc config seclogon start= disabled
    sc config ImapiService start= disabled
    sc config Dfs start= disabled
    sc config PolicyAgent start= disabled
    sc config Nla start= disabled

    I don't believe that this is configurable, and i believe in other versions that you only needed to give list directory access to make it work.

  • Crystal Reports Load report failed

    Hi all,
    Using VS2008. Crystal Reports 2008.
    I have a .net application which uses LINQ. I am required to integrate existing Crystal reports into the web site.
    In my web config file i have my connection string set up
    <add name="connection Name" connectionString="Data Source=ServerName;Initial Catalog=database;uid=username;password=Password;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
    and also I have set the authentication as follows:
    <authentication mode="Windows"/>
        <identity impersonate="true" userName="username" password="password"/>
    I need the impersonation for when I deploy my app to the server.
    The crystal report uses an existing connection set up when the report was created. So this is not tied to a LINQ table (i think this may be the problem).
    I have no clue how to progress from here. When I try to change the datasource location to the LINQ table within the application, it won't map properly as the table contains nullable values.
    Any ideas would be greatly appreciated.
    Louise

    Hi,
    That particular problem with 'Load Report Failed' was happening because the identity impersonation account I had set up did not have rights to my TEMP folder on my machine. Crystal needs to be able to read and write to that folder.
    I hope that helps you.
    Louise

  • 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

    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

  • Load report failed: The device is not ready [COMException (0x80004005)]

    Hi,
    In a deployed machine with the lastest Crystal Reports 2008 SP1 runtimes (Crystal Reports 2008 SP1 - Redist Install - Refresh) (it also happens with olders versions) I'm having the following problem:
    <SEE THE POST BELOW>
    This is a simple application that has a form with a button and one Crystal Reports Viewer. Pressing the button loads a report from the disk that uses a .xml datasource.
    What does the "device is not ready" means?
    I've checked the temporary files, the user has administrative rights, the form loads correctly the crystal report viewer.
    The operative system is Windows XP.
    Any clues of what it can be? In others computers it works just fine.
    Thanks in advance.
    Edited by: Jos Silva on Jun 3, 2009 8:51 PM - text formating problems

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The device is not ready.    at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception 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 loading_times.frmLoadingTimes.btnLoadReport_Click(Object sender, EventArgs e) in C:\Users\jose.silva\PRIMAVERA\Crystal Reports 2008\loading-times\loading-times\Form1.vb:line 13
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///h:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    loading-times
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///H:/primavera/Debug/loading-times.exe
    Microsoft.VisualBasic
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Runtime.Remoting
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    CrystalDecisions.CrystalReports.Engine
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/12.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
    CrystalDecisions.Shared
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
    CrystalDecisions.ReportAppServer.CommLayer
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.1100.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CommLayer/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    CrystalDecisions.ReportAppServer.ClientDoc
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.1100.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.ClientDoc/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    CrystalDecisions.ReportAppServer.DataSetConversion
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/12.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.DataDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.1100.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.DataDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
    CrystalDecisions.ReportAppServer.Controllers
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.1100.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.Controllers/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
    CrystalDecisions.ReportAppServer.CubeDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.1100.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CubeDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
    CrystalDecisions.ReportAppServer.ReportDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.1100.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.ReportDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
    BusinessObjects.Licensing.KeycodeDecoder
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.1.0.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC/BusinessObjects.Licensing.KeycodeDecoder/12.0.1100.0__692fbea5521e1304/BusinessObjects.Licensing.KeycodeDecoder.dll
    System.Web
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///H:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    CrystalDecisions.Shared.resources
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared.resources/12.0.2000.0_pt_692fbea5521e1304/CrystalDecisions.Shared.resources.dll
    CrystalDecisions.CrystalReports.Engine.resources
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine.resources/12.0.2000.0_pt_692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.resources.dll
    CrystalDecisions.Windows.Forms
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
    CrystalDecisions.ReportSource
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/12.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
    CrystalDecisions.Windows.Forms.resources
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.1.2000.882
        CodeBase: file:///H:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms.resources/12.0.2000.0_pt_692fbea5521e1304/CrystalDecisions.Windows.Forms.resources.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  • CRVS2010 Beta - Load report failed

    Hello,
    I have been trying out Beta 2 and aside from the massive runtime installation package it is looking pretty good. Looking forward to the production release
    In addition to my testing I've also got a couple end users piloting the upcoming release of my software.  Occasionally they will receive the error message below.  It generally happens after many reports have been either previewed or printed. Once the error occurs they must close my software and restart it.  My software has the crystal reports embedded in the executable.  So its not like the file cannot be found
    Any thoughts would be greatly appreciated. If required I can post the code that is loading the report.
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Failed to open report. at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type) at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet) at Wield.Invoices.frmInvoice.toolReprint_Click(Object sender, SmartItemClickEventArgs e)
    Edited by: Don Williams on Oct 9, 2010 8:17 AM

    Hi Tim,
    Just add the all or most of the CrystalDecisions.ReportAppServer.* assemblies and now you are using InProc RAS. No need to connect to BOE, but with a few lines of code change it's easy enough to do.
    As for samples take any of them, just remove the references to Enterprise and change your open method. Here's my sample app open report dialog box and code:
    In the System load use these lines for either, not both:
        public class frmMain : System.Windows.Forms.Form
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            ISCDReportClientDocument rptClientDoc;
    Then when opening the report from a dialog box:
              private void btnOpenReport_Click(object sender, System.EventArgs e)
                   rptClientDoc = new ReportClientDocumentClass();
              if (openFileDialog.ShowDialog() == DialogResult.OK)
                        btnOpenReport.Enabled = false;
                        btnSaveRptAs.Enabled = false;
                        object rptName = openFileDialog.FileName;
                                    rpt.Load(rptName.ToString());
                                    rptClientDoc = rpt.ReportClientDocument;
                        MessageBox.Show("Report opened.","RAS",MessageBoxButtons.OK,MessageBoxIcon.Information );
                        btnOpenReport.Enabled = true;
                        btnSaveRptAs.Enabled = true;
    There are multiple ways to do everything but RAS is the replacement for the RDC and Report Creation API's.
    Then just preview as you normally would specifying which report object to use:
                crystalReportViewer1.ReportSource = rpt; // for inproc
    Thanks again
    Don

  • 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(crystal report) in client pc.

    Hi,
    we are getting error in crystal report
    1.Load report failed.See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database()
       at SAP_CR.MyForms.frmReportViewer.ConfigureCrystalReports()
       at SAP_CR.MyForms.frmReportViewer.frmReportViewer_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       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.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    SAP_CR
        Assembly Version: 2.0.0.6
        Win32 Version: 2.0.0.6
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One/AddOns/SAP_CR/SAP_CR.exe
    Interop.SAPbouiCOM
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One/AddOns/SAP_CR/Interop.SAPbouiCOM.DLL
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    CustomMarshalers
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    Interop.CR_Crypto
        Assembly Version: 6.0.0.0
        Win32 Version: 6.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One/AddOns/SAP_CR/Interop.CR_Crypto.DLL
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Transactions
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.EnterpriseServices
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    CrystalDecisions.Windows.Forms
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
    CrystalDecisions.Shared
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
    CrystalDecisions.ReportSource
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/12.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
    CrystalDecisions.CrystalReports.Engine
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/12.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
    System.Web
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    CrystalDecisions.ReportAppServer.CommLayer
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CommLayer/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
    CrystalDecisions.ReportAppServer.ClientDoc
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.ClientDoc/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
    CrystalDecisions.ReportAppServer.DataSetConversion
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/12.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.DataDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.DataDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
    CrystalDecisions.ReportAppServer.Controllers
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.Controllers/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
    CrystalDecisions.ReportAppServer.CubeDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CubeDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
    CrystalDecisions.ReportAppServer.ReportDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.ReportDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
    BusinessObjects.Licensing.KeycodeDecoder
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.0.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/BusinessObjects.Licensing.KeycodeDecoder/12.0.1100.0__692fbea5521e1304/BusinessObjects.Licensing.KeycodeDecoder.dll
    CrystalDecisions.ReportAppServer.XmlSerialize
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.XmlSerialize/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    CrystalDecisions.Enterprise.Framework
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.0.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Framework/12.0.1100.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
    CrystalDecisions.Enterprise.InfoStore
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.0.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.InfoStore/12.0.1100.0__692fbea5521e1304/CrystalDecisions.Enterprise.InfoStore.dll
    CrystalDecisions.Enterprise.Viewing.ReportSource
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Viewing.ReportSource/12.0.1100.0__692fbea5521e1304/CrystalDecisions.Enterprise.Viewing.ReportSource.dll
    CrystalDecisions.Web
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Web/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Web.dll
    CrystalDecisions.ReportAppServer.Prompting
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.Prompting/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Prompting.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    2.Error:could not load file or assemble crystal decisions.windows.forms,version=12.0.2000.0,culture=natural,public key token=692fbea5521ea1304' or one of it's dependencies.the system cannot find the file specified please help me solve this problem.some client pc there is no problem we installed all related to Crystal reports and merge modules and 2.8 managed files.
    regds,
    sampath.

    Hi Sampath,
    did you have this error only on clients pc or also on the server when you launch the report from Sab Business One? If only on clients did it occur on all clients?
    Iris

  • Load Report Failed - Report Application Server Failed error at runtime

    Hello, I'm pretty new to Crystal Reports so please bear with me.
    I just installed CR 2008 on my development box, which is running VS2005 .NET 2.0.  I changed over all of my assembly references in my web.config to the new version:
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral,
    PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Also the webpage that is displaying the ReportViewer object has this reference as well:
    <%@ Register Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    Now, in my code behind I am simply trying to open a pre-built crystal report that came in the sample pack
    When I try and do this in our already built website I get an error:
    "Load report failed"
    With the inner exception saying:
    "The Report Application Server failed"
    This same piece of code works perfectly if I build a new website, however when I try and impliment this into our existing code base I get the error shown above.  Also the samples I've used all use .NET 3.5 and the website is in 2.0.  I'm not sure if that is a factor or not but that is also another piece of information that could be useful.
    Any help on this matter would be greatly appreciated.  Thank you for you're time.
    Chris McMahan
    Edited by: Arithal on Aug 4, 2009 8:36 PM

    And finally the stack trace.  Sorry for the length of these posts.
    [COMException (0x800001f5): The Report Application Server failed]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +575
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +646
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1374
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +169
       Report_Viewer_Crystal_CrystalView.ConfigureCrystalReports() in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:49
       Report_Viewer_Crystal_CrystalView.Page_Init(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:33
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnInit(EventArgs e) +99
       System.Web.UI.Page.OnInit(EventArgs e) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

Maybe you are looking for

  • How can I store my music and photos on apple tv and erase it from my laptop

    Hi, The reason becouse I bougth the apple T.V. is becouse I will like to have a easy way to storage and view my media files and erased from my main drive on my laptop , but I realised that this documents are attached and if I erased from my laptop it

  • Missing features after 4.2 update

    Anyone updated to 4.2 but haven't got features like new text tones?

  • Standard field label change and drop down

    Hello, I need to change a text field label and create a drop down for a input down field. The problem is that they are standard fields in sap. I am not sure if by code i can do this change.  Because I tried doing the change through cmod to change the

  • After transfer only sound in 1 headphone

    Hey all, When i import my CDs using itunes, they import in stereo format. When i update my ipod 20G with these albums, however, some of the albums play through one earphone only - the rest are fine. It is not a problem with the earphones as i have tr

  • Flash player 11.3.300.257 Wont work

    When I install it all my videos turn into just a black or winte box where the video should be . Im using firefox but it wont work in IE too. Any ideal whats going on ? I had to go back to 10.3 to get it to work .