I develop program in c# and my machine is 64 bit OS. The problem is when i run my application in 32 bit OS some dll cannot be called in the application Like Microsoft report viewer and Microsoft Interop. But other dll's are good and running. I have this problem for days and no clue what get it wrong. This is the error when the program use the Report.Viewer.
System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.Reporting.WinForms.LocalReport..ctor()
at Microsoft.Reporting.WinForms.ReportViewer.Reset()
at Microsoft.Reporting.WinForms.ReportViewer..ctor()