Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

HELP! Error loading DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bryan Gan - 16 Feb 2006 11:49 GMT
Hi all,
I have problem in running the application after rename one of my referenced
DLL filename. (Original FileName: MapSuiteRTree.dll , changed: MapRTree.dll)
Anyway, I tried to re-reference the dll to MapRTree but still fail.
Any idea?

Below is the error message I get:

The located assembly's manifest definition with name 'MapRTree' does not
match the assembly reference.

Source Error:

Line 20:          defaultLanguage="c#"
Line 21:          debug="true">
Line 22:          
Line 23:          <assemblies>
Line 24:             <add assembly="MapRTree, Version=1.0.1757.30675,
Culture=neutral, PublicKeyToken=null" />


Source File: D:\Gan\DualNet\Demo\Digital Map\20051130\Web Edition\web.config
  Line: 22

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'MapRTree' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = MapRTree, Version=1.0.1757.30675, Culture=neutral,
PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///D:/Gan/DualNet/Demo/Digital Map/20051130/Web Edition
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: MapRTree, Version=1.0.1757.30675,
Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/singaporeairportdemowebapp/c4f6cbd4/a51a7b99/MapRTree.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/singaporeairportdemowebapp/c4f6cbd4/a51a7b99/MapRTree/MapRTree.DLL.
LOG: Attempting download of new URL file:///D:/Gan/DualNet/Demo/Digital
Map/20051130/Web Edition/bin/MapRTree.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME


michael.lang@xquisoft.com - 16 Feb 2006 14:01 GMT
Have you verified the version number being searched for is correct?
1.0.1757.30675

Are you using project references or file references.  Have you checked
the "references path" tab in the project properties window?  Maybe
another version is in a path of a higher priority?

Are there other assemblies in your solution?  Do any of them reference
the older version?  Maybe one version is copied over the other during
build.  Check the bin folder of the running application, and use ILDASM
on ALL the dll's in that folder.  Check the "manifest" of each.  One of
them is referencing a version of the component that is not in the bin
folder.

Side note.  If you are creating a component, you may want to stop using
version 1.0.* in your assemblyInfo.cs.  You should manually increment
version numbers, and only when there is a change.  Here is a copy of my
version policy for your reference.

http://www.xquisoft.com/Products/VersionPolicy.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.