Solved

Problem with VS2005, Ajax, and obout tool

Posted on 2012-03-27
2
592 Views
Last Modified: 2012-03-28
I get this parsing error when I launch my program in the VS2005.NET environment.  The Ajax object is in my references as is the obout HTML Editor.  Please help.
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Obout.Ajax.UI, Version=3.5.0.0' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:


Line 3:      Namespace="System.Web.UI" TagPrefix="asp" %>
Line 4:  
Line 5:  <%@ Register Assembly="Obout.Ajax.UI, Version=3.5.0.0" Namespace="Obout.Ajax.UI.HTMLEditor" TagPrefix="obout" %>
Line 6:  
Line 7:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 

Source File: /CoverPageEditor.aspx    Line: 5

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Obout.Ajax.UI, Version=3.5.0.0' could not be loaded.


=== Pre-bind state information ===
LOG: User = NTBIND\Rich.Faulkner
LOG: DisplayName = Obout.Ajax.UI, Version=3.5.0.0
 (Partial)
LOG: Appbase = file:///C:/PhoneGuide/PhoneGuide/
LOG: Initial PrivatePath = C:\PhoneGuide\PhoneGuide\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\PhoneGuide\PhoneGuide\web.config
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/4e3ee9b0/85490cf/Obout.Ajax.UI.DLL.
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/4e3ee9b0/85490cf/Obout.Ajax.UI/Obout.Ajax.UI.DLL.
LOG: Attempting download of new URL file:///C:/PhoneGuide/PhoneGuide/bin/Obout.Ajax.UI.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
0
Comment
Question by:SMAHelpDesk
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 37776287
I believe that this is a problem where the assembly loader is expecting one version, but found another.

There are a few reasons for this error.  Is this happening on the server, the development machine, or both?
0
 

Author Comment

by:SMAHelpDesk
ID: 37776529
Actually, that was the answer!  When I right clicked on the referenced object properties, I noticed the version number was different than what the author put in the code.  When I changed the version number, I was able to move along to the next error:  Having to add another reference to another AJAX object.  After that, the code compiled and the web page loaded.  Thanks.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now