Para expertos: Detalles de mi error..

12/01/2005 - 21:56 por Tio | Informe spam
a ver si alguien que entienda esto me puede dar alguna pista de cual es el
fallo que tengo:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load report
failed.
at .F(String  , EngineExceptionErrorID 
)
at .B(String , Int32 )
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object
value)
at
Almacen.ListadoArticulosTodosCampos.ListadoArticulosTodosCampos_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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
-
Almacen
Assembly Version: 1.0.1838.35962
Win32 Version: 1.0.1838.35962
CodeBase:
file:///C:/ARCHIVOS%20DE%20PROGRAMA/CARMELOSOFT/SETUP2/ALMACEN.EXE
-
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
-
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
-
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
-
CrystalDecisions.Shared
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///c:/windows/assembly/gac/crystaldecisions.shared/9.1.5000.0__692fbea5521e1304/crystaldecisions.shared.dll
-
CrystalDecisions.CrystalReports.Engine
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///C:/WINDOWS/ASSEMBLY/GAC/CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE/9.1.5000.0__692FBEA5521E1304/CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE.DLL
-
CrystalDecisions.Windows.Forms
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.5000.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
-
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
-
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
-
CrystalKeyCodeLib
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///c:/windows/assembly/gac/crystalkeycodelib/9.1.5000.0__692fbea5521e1304/crystalkeycodelib.dll
-
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
-
 

Leer las respuestas

#1 Octavio Hernandez
12/01/2005 - 23:38 | Informe spam
Carmelo,

a) 'Load report failed' me suena de cuando el programa no encuentra el
fichero
.RPT, por ejemplo porque has puesto mal la ruta.
b) Descartando eso, lo siguiente a comprobar creo sería que el informe puede
acceder correctamente a la base de datos: comprueba el nombre del servidor,
usuario y contraseña, etc.
c) Prueba a cambiar el código así:

informe.SetDataSource(ds); // Simplemente el DataSet !!!!

Slds,

Octavio

"Tio" escribió en el mensaje
news:ugkalkO%
a ver si alguien que entienda esto me puede dar alguna pista de cual es el
fallo que tengo:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load
report failed.
at .F(String  , EngineExceptionErrorID 
)
at .B(String , Int32 )
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object
value)
at
Almacen.ListadoArticulosTodosCampos.ListadoArticulosTodosCampos_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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
-
Almacen
Assembly Version: 1.0.1838.35962
Win32 Version: 1.0.1838.35962
CodeBase:
file:///C:/ARCHIVOS%20DE%20PROGRAMA/CARMELOSOFT/SETUP2/ALMACEN.EXE
-
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
-
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
-
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
-
CrystalDecisions.Shared
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///c:/windows/assembly/gac/crystaldecisions.shared/9.1.5000.0__692fbea5521e1304/crystaldecisions.shared.dll
-
CrystalDecisions.CrystalReports.Engine
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///C:/WINDOWS/ASSEMBLY/GAC/CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE/9.1.5000.0__692FBEA5521E1304/CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE.DLL
-
CrystalDecisions.Windows.Forms
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.5000.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
-
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
-
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
-
CrystalKeyCodeLib
Assembly Version: 9.1.5000.0
Win32 Version: 9.1.9800.0
CodeBase:
file:///c:/windows/assembly/gac/crystalkeycodelib/9.1.5000.0__692fbea5521e1304/crystalkeycodelib.dll
-
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
-


Preguntas similares