View Single Post
  #1 (permalink)  
Old 12-01-2008, 9:09 PM
thirteentwenty thirteentwenty is offline
VB.NET Forum Enthusiast
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Oct 2008
Location: Honolulu
Posts: 80
Reputation: 21
thirteentwenty is on a distinguished programming path ahead
Default Crystal Reports loading Error at runtime

Hello good people of vbdotnetforums!


Well I thought I had all my bases covered.. but then ran into a problem with viewing Crystal Reports on ONE machine... and I cannot duplicate this error...

Quote:
************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
at DepoLedger3.frm_rptViewer..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

--- End of inner exception stack trace ---
at DepoLedger3.My.MyProject.MyForms.Create__Instance_ _[T](T Instance)
at DepoLedger3.My.MyProject.MyForms.get_frm_rptViewer ()
at DepoLedger3.frm_reports.lst_reports_reports_Select edIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChange d(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Mess age& m)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I see that it "cannot" load 'CrystalDecisions.Shared...' but I'm not sure why, It runs other Crystal Reports (made with older versions).

Maybe I'm not reading the error correctly...

I've double checked my prerequisites and believe that they are all there...
  1. Microsoft Data Access Components 2.8
  2. .NET Framework 2.0
  3. Crystal Reports 2008


As I stated at the beginning of the post I am unable to recreate this error on other machines...

Any suggestions?
__________________
** Fueled by crappy tea and beef jerky I AM THE COPY AND PASTE KING!!!! **

Hey where are we going and whats with the hand basket?
Reply With Quote