Solved

Problem with VS2005, Ajax, and obout tool

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

740 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