Solved

Problem with VS2005, Ajax, and obout tool

Posted on 2012-03-27
2
596 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I use this extension method? 8 47
Name space syntax error 12 40
Anyway to make "All" the default in the dropdown? 6 34
Angular JS Route 3 47
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…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

19 Experts available now in Live!

Get 1:1 Help Now