Hi experts, I would like to ask why does I'm getting an error when I am deploying my web application to my server.When I'm developing the application it works smoothly in the visual studio IDE but when I'm deploying it to my web server which is my local computer also it produce an error.I've done google and following some advice on other website as well still I can't managed to run it. I've also install the 64/32 bit redistributable of the crystal report but still I did not manage to make it work.My workstation is in 64 bit and I've done changing the target platform from 32 to 64 or vice versa but still no luck again. :confused: So much confused now about this error. Below is the error produce
Server Error in '/' Application.
Could not load file or assembly 'webReportTester' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'webReportTester' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'webReportTester' could not be loaded.
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].
Stack Trace:
[BadImageFormatException: Could not load file or assembly 'webReportTester' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
Syst