469,613 Members | 1,576 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

DLL Version problems

Hello All,
I have a Commerce Server application that uses
Microsoft.VisualBasic.Compatibility.DLL .

My development machine uses Framework 1.0.3705 .

When I deploy this app to a machine with Framework 1.1 I get the
"<add assembly="*"/>" configuration errors.

In the stack trace I see this line:
"Version redirect found in framework config: 7.0.3300.0 redirected to
7.0.5000.0." So I assume that the system is trying to load version 7.0.5000
of my DLL. The problem is that this DLL does not exist. The version that is
installed with Commerce Server is 7.0.9466.0 .

How do I tell the system, that my app uses v7.0.9466 of this DLL?

I can't remove the dependancy since this is part of MS Commerce Server. Are
Commerce Server users required to use v1.0 of the Framework?

-tomas
Nov 15 '05 #1
2 2361
Tomas Vera <ta****@NOxSPAMsbcglobal.net> wrote in
news:ai********************************@4ax.com:
Hello All,
I have a Commerce Server application that uses
Microsoft.VisualBasic.Compatibility.DLL .

My development machine uses Framework 1.0.3705 .

When I deploy this app to a machine with Framework 1.1 I get the
"<add assembly="*"/>" configuration errors.

In the stack trace I see this line:
"Version redirect found in framework config: 7.0.3300.0 redirected to
7.0.5000.0." So I assume that the system is trying to load version
7.0.5000 of my DLL. The problem is that this DLL does not exist. The
version that is installed with Commerce Server is 7.0.9466.0 .

How do I tell the system, that my app uses v7.0.9466 of this DLL?

I can't remove the dependancy since this is part of MS Commerce
Server. Are Commerce Server users required to use v1.0 of the
Framework?

-tomas


Add a <bindingRedirect> directive to your app.config file:

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="myAssembly"
publicKeyToken="32ab4ba45e0a69a1"
culture="en-us" />
<bindingRedirect oldVersion="1.0.0.0"
newVersion="2.0.0.0 - 4.0.1.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
--
best regards

Peter Koen
-----------------------------------
MCAD, CAI/R, CAI/S, CASE/RS, CAT/RS
http://www.kema.at
Nov 15 '05 #2
OK, Next questions.

This is a web app and there is no file named <MyApp>.config.

Do I place these entries in the Web.config file? When I do this, I get an
"unrecognized element" error on the "<runtime>" entry.

Or do I have to place them in the Machinge.Config file? It seems that this
is not the right place for this since this only applies to my app. Besides,
the same error comes up here.

Thanks for your help so far.
-tomas

On Thu, 23 Oct 2003 02:45:24 -0700, Peter Koen <koen-newsreply&snusnu.at>
wrote:
Tomas Vera <ta****@NOxSPAMsbcglobal.net> wrote in
news:ai********************************@4ax.com :
Hello All,
I have a Commerce Server application that uses
Microsoft.VisualBasic.Compatibility.DLL .

My development machine uses Framework 1.0.3705 .

When I deploy this app to a machine with Framework 1.1 I get the
"<add assembly="*"/>" configuration errors.

In the stack trace I see this line:
"Version redirect found in framework config: 7.0.3300.0 redirected to
7.0.5000.0." So I assume that the system is trying to load version
7.0.5000 of my DLL. The problem is that this DLL does not exist. The
version that is installed with Commerce Server is 7.0.9466.0 .

How do I tell the system, that my app uses v7.0.9466 of this DLL?

I can't remove the dependancy since this is part of MS Commerce
Server. Are Commerce Server users required to use v1.0 of the
Framework?

-tomas


Add a <bindingRedirect> directive to your app.config file:

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="myAssembly"
publicKeyToken="32ab4ba45e0a69a1"
culture="en-us" />
<bindingRedirect oldVersion="1.0.0.0"
newVersion="2.0.0.0 - 4.0.1.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Manlio Perillo | last post: by
7 posts views Thread by John | last post: by
14 posts views Thread by Phil | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.