Solved

Problem with VS2005, Ajax, and obout tool

Posted on 2012-03-27
2
608 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

717 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