HELP! Error loading DLL

G

Guest

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
 
M

michael.lang

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top