Buy My Account

Easy Code Customization
Sample Applications
Video Demos
Free Training
Pricing & Ordering
Download Now!

Product Tour
Product Tour
Web & Cloud Applications
Mobile Applications
SharePoint Applications
Charts and Reports
Team Development
What's New in V11.1

Technical Materials
Training Courses
Online Help
Technical Forums
White Papers
One Day Web Apps E-book
System Requirements
Product Roadmap
Version History
Iron Speed Technical Forums
Register New Posts Chat

Author Comment

Registered: 08/14/08
Posts: 19
Reply with quote  #1 

After following the steps in the article on Crystal Reports Integration using the Crystal Reports Viewer, the only thing holding me back from seeing it work in my app is that I am receiving the following message when I open the report viewer page:

"Could not load file or assembly 'System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

I am using ISD 5.2.1, VS2008, .NET 3.5 SP1, and the Crystal Reports tool included in VS2008.

All definitions in web.config point to .NET

Any help resolving this problem will be greatly appreciated.


Avatar / Picture

MVP Developer
Registered: 01/20/06
Posts: 617
Reply with quote  #2 

You may have an incorrect version of the assembly trying to load. If you are using VS 2008, it should be this:



Registered: 08/14/08
Posts: 19
Reply with quote  #3 

Thanks for your kind reply.

Within the web.config file, the assembly settings are as shown in the snippet of code below. If you notice, the correct version ( is being referenced.

It seems like some hidden code, maybe AJAX, is invoking regardless of this definition. Somebody had replied in another thread that setting the System.Web.Extensions.dll reference to "Copy Local=True" would force the use of the right version. However, that requires converting the Web Site Project into a Web Application Project in Visual Studio and that carries its own slew of other issues.

By the way, since I'm using .NET 3.5, the right version of AJAX is also installed. Could Crystal Reports be the culprit?



Registered: 08/14/08
Posts: 19
Reply with quote  #4 
Solved it!!!

You need to change the "bindingRedirect oldVersion" range for the System.Web.Extensions.dll in the "runtime" section in the web.config file from "" to "" as shown below (Note: I remarked the replaced entries). Once this is done, the app looks for the 3.5 version instead of the as it originally wanted.



Avatar / Picture

MVP Developer
Registered: 03/30/05
Posts: 5,302
Reply with quote  #5 

That's very helpful post!



Jaime Jegonia
JimiTron Software

Iron Speed MVP Developer

". . . and whoever sows generously will also reap generously" 2 Cor 9:6


Registered: 01/13/09
Posts: 1
Reply with quote  #6 
Solved for me also. thanks !!!

Previous Topic | Next Topic

Quick Navigation:

Download Iron Speed Designer

Terms of Service Privacy Statement
Powered by Website Toolbox - Create a Website Forum Hosting, Guestbook Hosting, or Website Chat Room for your website.