Link to home
Start Free TrialLog in
Avatar of SMAHelpDesk
SMAHelpDeskFlag for United States of America

asked on

Problem with VS2005, Ajax, and obout tool

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.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SMAHelpDesk

ASKER

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.