I have a SF application currently running successfully on several Vista machines. However, on one of the Vista machines I am getting the error below. Can anyone tell me why I am getting this error only on this Vista pc and not the others?
====================================================================================================================================================
Could not load file or assembly '0 bytes loaded from System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception (BadImageFormatException): Source="UJ.ExceptionManagement"; Target=null; Tag=null; FusionLog="";
Message = "Could not load file or assembly '0 bytes loaded from System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was made to load a program with an incorrect format."
InnerException (BadImageFormatException): Message="Bad IL format."; Source=null; Target=null; Tag=null; StackTrace=null; FileName=null; FusionLog=null;
FileName = "0 bytes loaded from System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
Environment: ThreadIdentity="" DateTime=["2009-11-17 20:13:46.478"] ThreadName=null WindowsIdentity=["VistaServer\Prospect Helper"] ThreadId="1" DomainName="ProspectHelper.exe" OSVersion=["Microsoft Windows NT 6.0.6001 Service Pack 1"]
MachineName="VISTASERVER" UserName=["Prospect Helper"]
Frame0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection)
at System.Reflection.Assembly.Load(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence securityEvidence)
at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
at DevExpress.XtraReports.Native.Compiler.CompileAssemblyFromSource(CompilerParameters parameters, String source)
at DevExpress.XtraReports.Native.Compiler.GetCompiledAssembly()
at DevExpress.XtraReports.Native.ReportCompiler.Compile(Stream stream, IServiceProvider serviceProvider, Boolean includeAppDomainReferences)
at DevExpress.XtraReports.UI.XtraReport.LoadLayoutInternal(Stream stream, XtraReport& source, Boolean includeAppDomainReferences, Boolean forceDataSource)
at DevExpress.XtraReports.UI.XtraReport.LoadLayout(Stream stream)
at DevExpress.XtraReports.UI.XtraReport.LoadLayout(String fileName)
at ProspectHelper.ReportsDialog.DisplayDevExpressReport()
Implementer (ReportsDialog): components=System.ComponentModel.Container; ReportsBO1={ [ProspectHelper.ReportsBO]};
BusinessBindingSource1 (BusinessBindingSource): Count=4; #0=ProspectHelper.ReportsBO; #1=ProspectHelper.ReportsBO; #2=ProspectHelper.ReportsBO; #3=ProspectHelper.ReportsBO;
scrollPosition (Point): x=0; y=0;
PanelControl1 (PanelControl):
GroupControl1 (GroupControl): LabelControl3=DevExpress.XtraEditors.LabelControl; LabelControl2=DevExpress.XtraEditors.LabelControl; dtpToDate=DevExpress.XtraEditors.DateEdit; dtpFromDate=DevExpress.XtraEditors.DateEdit;
LabelControl1=DevExpress.XtraEditors.LabelControl;
cboCampaigns = MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit
GroupControl2 (GroupControl): btnOpenReportDesigner=DevExpress.XtraEditors.SimpleButton; btnPreviewXtraReport=DevExpress.XtraEditors.SimpleButton; btnPreview=DevExpress.XtraEditors.SimpleButton; listboxReports=DevExpress.XtraEditors.ListBoxControl;
Remaining Stack Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
at ProspectHelper.ReportsDialog.btnPreviewXtraReport_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.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)