Load report failed Access is denied ErrorCode -2147467259
We've developed an ASP application with several reports that access SQL Server data.
I getting this error:
Load report failed Access is denied ErrorCode -2147467259
only on my development machine.
I've checked every permission on every folder I can think of and I'm out of ideas.
BTW, the reports are working just fine on the Webserver. This problem is only occuring on my local machine.
Sandra
This is the line where I get the exception error
(Request.PhysicalApplicationPath & "MultiGeneral.rpt")
'General Report
crReportDocument = New ReportDocument
Dim i As Integer 'TEMP
i = crReportDocument.FileName.Length 'TEMP
crReportDocument.Load(Request.PhysicalApplicationPath & "MultiGeneral.rpt")
(Request.PhysicalApplicationPath & "Robots.txt")
crReportDocument.SetDatabaseLogon("intake", "password")
If IsDBNull(Session.Item("ClientNumber")) Then
crReportDocument.SetParameterValue("ClientNum", "")
Else
crReportDocument.SetParameterValue("ClientNum", Session.Item("ClientNumber"))
End If
If IsDBNull(Session.Item("CaseNumber")) Then
crReportDocument.SetParameterValue("CaseNum", "")
Else
crReportDocument.SetParameterValue("CaseNum", Session.Item("CaseNumber"))
End If
crReportDocument.SetParameterValue("Followup", "0")
crReportDocument.SetParameterValue("OrgName", "Albuquerque Metro Central Intake")
'mfs crReportDocument.SetParameterValue("PrintCompScores", True)
crDiskFileDestinationOptions = New DiskFileDestinationOptions
Fname = "c:\exports\" & Session.SessionID.ToString & "_ASI1General.pdf"
crExportOptions = crReportDocument.ExportOptions
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With
crDiskFileDestinationOptions.DiskFileName = Fname
crReportDocument.Export()
crReportDocument.Dispose()
Similar Messages
-
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= disabledI 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.
-
CrystalDecisions.Shared.CrystalReportsException: Load report failed
Hi All,
I am new to Crystal Reports.. i want to load .rpt file from C# windows application.......i created a form and added crystal report viewer and i tried to load the .rpt file giving following error.
And this rpt file loading in anther machine in our office with same windows application. The same things are installed in my system. My OS is Windows XP, Crystal Reports 2008 with SP2 .version 12.2.0.29 , .Net 3.5 and Visual Studio 2008.
Can any one help me on this problem?
Error is
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x8004100B):
Error in File MIS-1 {C8826C27-9E57-43D4-8D53-45E46CC45725}.rpt:
Failed to logon to the Crystal Report Object Repository. 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 CrystalReportGeneration.Form1.btnViewData_Click(Object sender, EventArgs e) in E:\Prasad\Projects\eFile\CrystalReportGeneration\CrystalReportGeneration\Form1.cs:line 82
Inner Exception is
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 CrystalReportGeneration.Form1.btnViewData_Click(Object sender, EventArgs e) in E:\Prasad\Projects\eFile\CrystalReportGeneration\CrystalReportGeneration\Form1.cs:line 82
OK
Advance Thanks,
Prasad SagalaMake sure you have read / write permissions on the win emp dir.
Use [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to trace through the loads and look for "Access Denied". Also, look for the rpt file(s), see what is happening with them.
Finally, search these forums, lot of info on the error. And search the kbase:
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
Ludek
Follow us on Twitter
http://twitter.com/SAPCRNetSup -
Hello,
My company recently decided to start using the 64 bit CR VS2010. Several machines have installed it and are working correctly, but others get Load Report failed - COMException (0x800001f5): The Report Application Server failed error when trying to render a crystal report to a new application window. This happens when running the app through VS2010 or IIS.
Another issue, is that once CR4VS2010 is installed, the ability to check-out .rpt files through TFS no longer works. CR4VS2010 will open the .rpt, but manual check-out is not allowed for some reason.
Machines are running Vista 64 bit Ultimate, VS2010, Crystal XI R2 SP4, and TFS.
So far I have tried re-installing VS2010 and CR4VS2010, but still get the same issues.
All help is greatly appreciated.
Thank you.Hello,
Please one question per post, makes it a lot easier to follow. Post your TFS question in a new post.
Use Process Monitor and compare logs between working and non-working PC's. Typically either missing dependencies or permission issues. Look for Access Denied errors.
Thank you
Don -
With the installation of SP6 runtime, our clients that connect via Citrix are getting the following Load Report Failed message:
In order to fix, they must change their Citrix Connection Session Security for Files to Full Access. And, apparently, even if this Files setting is correct, they still cannot create files on the root of their C: drive, so they must create a new folder on their C: dirve and save any files to that folder.
I saw this discussion Crystal report error while loading the file and Don stated:
"Hello,
It's exactly what it says, the path to the report is not correct, user does not have permission to it or it simply doesn't exist.
Check Citrix's Forum, there are known issues with it and CR.
Don"
Prior to our upgrade to V13.0.6.1027, we we used the Crystal 2008 runtime components to run reports, and had no issue. Why, with this version of runtime does the access change? We have many citrix users, and this has become a critical issue.
Can you please point me to the specific forum that states the known issues with Citrix and CR?
Thank youI never checked myself but because it a Citrix issue you should ask Citrix for help. They are familiar with permission issues and configurations.
If you run CR on your desktop it works...
Don -
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 -
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 PMfinally 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 -
Hello,
I am using the ReportViewer over asp.net pages on a web hosting service. I am generating the reports independently of the 'Sql Reporting Services' windows service. In fact I have 'Sql Report Services' service turned off.
All export works okay when I test the report in IIS7 on my local machine and in Visual Studio. After I FTP the web application to the remote web host the report still works but only the Excel exports properly. The export to PDF or Word generates
the error
System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied
Other people have had this problem too but their remedy is to run cacls.exe and fidget around with t2embed.dll. Maybe that will work for a local client machine but that is not something I can do on a web hosts server. They seem to think the font
has security issues and a hotfix may be causing it. The next thing I will try will be to use a generic font in my report like Arial or Courier but I doubt that will fix it.
Any clues?Hi Dulal,
Please try to check the permission on "T2Embed" file, which is located in the C:\WINDOWS\system32 and C:\Windows\SysWOW64
In addition, here is a similar thread about this topic for your reference. Please see:
http://forums.asp.net/t/1933880.aspx
Hope this helps.
Regards,
Elvis Long
TechNet Community Support -
"Load report failed" after upgrading to Crystal Report for VS 2010
I switched to Visual Studio 2010 few months ago. Today, I needed to update my Crystal Report reports, so I installed the Crystal Report for Visual Studio 2010 on my local server. I updated my reports and it works fine on my local server.
On my remote server, I installed the Crystal Report runtime engine for Framework 4.0 (note that my project use the framework 3.5) and published my project. But now I got the following error when I want to create a report "Load report failed". I double-checked the path of my report and its permissions (note that it was working before the update).
Am I missing a step ?
Thanks for your help.
Edited by: David1111_ on Mar 1, 2011 6:08 PM
Edited by: David1111_ on Mar 1, 2011 6:09 PMGoogling 'FILE LOCKED WITH ONLY READERS' I came up with the following:
http://forum.sysinternals.com/topic21378.html
So, no, that does not appear to be the issue.
However my assertion - given that the correct dlls are loading - is still that either the report is not there (do you see it loaded in Process Monitor?) or the process has no access to either the actual rpt or the temp files that the print engine creates. Those really are the only reasons for report load errors.
This being a web app, try a simple win app - as a test. All you need is the viewer and CrystalreportViewer1.ReportSource = <path to report> (use a saved data report). Compile, throw the exe on the server. Run. What happens there?
- Ludek -
Load report failed - document cannot be opened in the c++ stack
I am now receiving an error when trying to load a report into the report viewer. The error I am recieving is "Load report failed ... Unsupported operation. A document processed by the JRC engine cannot be opened in the C++ stack"
<br />
Here is the error stack:
<br /><br/ />
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
<br />
Exception Text **************
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041811): Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
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 IPAM_Reporting.frmCrystalReport.frmCrystalReport_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(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.5444 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
IPAM_Reporting
Assembly Version: 1.1.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/IPAM_Reporting.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
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.5420 (Win7SP1.050727-5400)
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.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Infragistics2.Win.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.v10.3.DLL
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
Infragistics2.Shared.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Shared.v10.3.DLL
Infragistics2.Win.UltraWinExplorerBar.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinExplorerBar.v10.3.DLL
Infragistics2.Win.UltraWinToolbars.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinToolbars.v10.3.DLL
Infragistics2.Win.UltraWinDock.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinDock.v10.3.DLL
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Infragistics2.Win.Misc.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.Misc.v10.3.DLL
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
Infragistics2.Win.UltraWinEditors.v10.3
Assembly Version: 10.3.20103.1000
Win32 Version: 10.3.20103.1000
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinEditors.v10.3.DLL
SQLDatabaseConnectivity
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/SQLDatabaseConnectivity.DLL
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
CrystalDecisions.Windows.Forms
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
CrystalDecisions.Shared
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
CrystalDecisions.ReportSource
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Windows/assembly/GAC_32/log4net/1.2.10.0__692fbea5521e1304/log4net.dll
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
CrystalDecisions.CrystalReports.Engine
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/13.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
CrystalDecisions.ReportAppServer.CubeDefModel
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CubeDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.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.
<br /><br /><br /><br />
What could be the problem now.
Edited by: mcontri on Apr 15, 2011 6:49 PM
Edited by: mcontri on Apr 15, 2011 6:49 PM
Edited by: mcontri on Apr 15, 2011 6:51 PMHi Rama,
Please search, this issue has been discussed many times before.
For starter, see below doc.
Troubleshooting error: "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack…
Thanks,
Bhushan -
Hi All,
I know this subject has been beaten to death on the internet, but I have some reports that generate invoices etc... I moved them from a VPS to my dedicated server, I have set this up hundreds of times with no problems.
This time I am unable to resolve this problem and so I need your help.
I have given all the correct users full access to the Windows/Temp folder and the web application folder.
I have CRRedist2008_x86.msi installed on the server.
I have checked that the report is found.
I still get this error:
Load report failed.
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 Admin_CreateAllInvoices.GetListToGenerate() in d:\www\247meeting.com\subdomains\w3\httpdocs\Invoices\CreateAllInvoices.aspx.cs:line 351
Line 351 looks like this: invDoc.Load(fileName);
fileName looks like this: 'D:\www\247meeting.com\subdomains\w3\httpdocs\Invoices\InvoiceNew.rpt'
All the above checks out and is correct, but there is something I am missing. This all ran great on the VPS, but doesn't want to know on the new server.
The server is running Win2k3 standard has 2 GB RAM and more than 280GB HDD free.
Please help, this has cost me 6 hours so far and my hair is getting thinner.
Thanks in advance,
Lee BlakeHi,
Yes I used Fiddler and ran it on both the server and my local machine. I have many reports that ran on all other machines, but I think I am missing something here.
I uploaded the site, but already had the CR2008 redist installed, from the VS2008 install.
As it didn't work, I uninstalled it and restarted the server.
Reinstalled the runtime.
Gave full rights to almost everyone for C:\Windows\Temp.
And I still get the same error. Load Repot Failed.
I'm giving Module a try as suggested above, I'll keep you posted, but where can I get it?
Thanks
Lee -
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 paramtersI 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 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
TonyHi 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 -
"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 PMI just tried this again with the same result. I uninstalled the previous Crystal, deleted all the old folders and reg keys I could find, then installed the new 64 bit redist package. I asigned permissions to the SAP reg key tree. I ended up with the same result: "Invalid file name". There were new files created in the temp folder for each report request, so I can tell that my.rpt files are being found.
I used process monitor to see what was happening, and here are the results that seem interesting:
RegOpenKey HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0 NAME NOT FOUND
RegOpenKey HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0 NAME NOT FOUND
IRP_MJ_CREATE C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\secSSO.dll.2.Config NAME NOT FOUND
FASTIO_NETWORK_QUERY_OPEN C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\SmAgentAPI.dll NAME NOT FOUND
Since it seemed to be trying to create files in the \win64_x64 folder, I allowed the process full access, but it didn't help. It was also looking for SmAgentAPI.dll which does not seem to exist on my system. -
"Load Report Failed" after one minute of inactivity
Post Author: djsmitherman
CA Forum: General
Hi.
I've got reports being accessed via an asp.net application using crystal report viewer. The reports come up and display just fine, but if the user is inactive for 60 seconds or longer, then clicking on any command on the crystal toolbar - next page, print report, etc - the report page blanks out and an error is displayed above the toolbar that reads "Load Report Failed."
Is this some timeout feature that can be controlled via the web.config file, or any other way? The URL in the report page does include a date/time parameter.
Thanks for the help.
DannyEnergy Saver: disable option to dim screen before sleep. Be sure to configure the computer to not sleep when on AC power. Be sure you haven't select Battery for your Energy Saver options. Set your sleep time higher.
If you're running on battery you'll need to uncheck the option to dim display when on that power source.
Maybe you are looking for
-
Bluetooth Wireless Keyboard and iPhone
Is it possible to pair the Apple Wireless Keyboard with the iPhone using Bluetooth??
-
How to create an alert in a script
Dear Colleagues, I would like to know if it's possible to create an alert which should be displayed then in the communication channel of a specific user in a custom script. If it's possible could you please share what Class method should I user? Rega
-
How to stop storing messages from my device to my PC
I am trying to stop my device from storing sent messages on my PC and my PC from storing sent messages on my device. I have tried to follow the directions in the help section on my device. When I get to email settings, it doesnt show "save copy in s
-
MBAM 2.5 Alternative Website name and SSL requirements
I am currently designing a MBAM 2.5 deployment that will be integrated into SCCM. We have a requirement to have everything secured by certificates. We are planning to deploy a this with a MBAM Website server that is called MBAMSERVER01. However the c
-
Hello, hi i am working on audio recorder in j2me 2.0 Ktoolbar emulator but i have been stucked up , please help me out in solving the problem,while running it wil say that it is not possible to create a player for audio/basic.i have given my code dow