N/APosted on - 01/12/2014
When I try to run the application which is built in Visual Studio 2005 with Crystal Report bundled version, I ended up with this error message. It works fine in local but the problem triggered when I put this in server. I searched via google and found some solutions like creating a bin folder and copying dll files there. Where do I find these dll files? Please help to fix this error. Thanks.
Unhandled exception has occured in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
Could not load file or assembly ‘CrystalDecisions.Shared. Version = 12.0.2000.0. Culture=neutral. PublicKeyToken=692fbea5521e1304’ or one of it dependencies. The system cannot find the file specified.
Visual Studio 2005 fails to load file named CrystalDecisions.Shared
I think the problem was triggered by the availability of Microsoft Visual Studio 2005 that includes the Crystal Report in the computers where you opened the program. Any applications that were created or developed with the use or utilizes Microsoft Visual Studio 2005 should also install Microsoft Visual Studio 2005 on the computer or computers where the program will be installed and opened.
If a computer doesn’t have Microsoft Visual Studio and you install a program that requires it, you will surely receive an error because the requirement is not met. If an application was developed under Microsoft Visual Studio 2005, it will automatically include Microsoft Visual Studio 2005 in its system requirements meaning it will not run without this module installed.
In your case, since the application worked locally on your computer, you should check your server if Microsoft Visual Studio 2005 is installed. If your server doesn’t have this, you should install it and then try the application again. It should work after installing it.