[HELP] File or assembly name XXX , or one of its dependencies, was not found

T

Tiraman

Hi,

i have some problem to run my dll's (assemblies) on the production server.

I have 3 dll's which use each other.

Every thing is ok on my local machine where i developed them

but when i upload them to the server and after signing them in to the GAC
i m getting some errors.

from some reason the assembly looking for old version which is not exist
in the server .

File or assembly name XXX , or one of its dependencies, was not found.
Description: An unhandled exception occurred during the execution of the
current web request.
Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: File or assembly name
XXX, or one of its dependencies, was not found.
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'XXX' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = XXX, Version=1.0.1.1, Culture=neutral,
PublicKeyToken=aaabbbccc
(Fully-specified)
===



My aspx file contain the following code :

<%@ Import Namespace="XXX"%>
<%@ Assembly Name="XXX, Version=1.0.0.0, Culture=Neutral,
PublicKeyToken=aaabbbccc, Custom=null" %>

And i have this redirect in the machine.config :


<runtime>

<assemblyBinding xmlns="urn:schems-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="XXX" publicKeyToken="aaabbbccc"
culture="Neutral" />

<bindingRedirect oldVersion="1.0.0.0" newVersion="1.0.1.2"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

Please notice that my current version is 1.0.1.2 and the he looking for
old version 1.0.1.1

any idea ?

how can i prevent this dependency ?

please help,

10x
 
O

One Handed Man \( OHM - Terry Burns \)

Try taking out the references 'on the server', and putting them back and
then rebuild

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
O

One Handed Man \( OHM - Terry Burns \)

Your project has references to the various DLL's these may be broken if you
simply copied this to the server. They may need correcting

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
T

Tiraman

Thanks,
i will check this.
bye

One Handed Man ( OHM - Terry Burns ) said:
Your project has references to the various DLL's these may be broken if you
simply copied this to the server. They may need correcting

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 

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

Top