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
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