473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2467
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Manlio Perillo | last post by:
Hi. I'm a new user of Python but I have noted a little problem. Python is a very good language but it is evolving, in particular its library is evolving. This can be a problem when, ad example,...
0
by: Anthony Baxter | last post by:
To go along with the 2.4a3 release, here's an updated version of the decorator PEP. It describes the state of decorators as they are in 2.4a3. PEP: 318 Title: Decorators for Functions and...
2
by: uli2003wien | last post by:
Dear group, we are dealing with some very specific problems with ODBC, where a connection from SQL-Server to Mysql works with ODBC-driver 3.51.10.00 and does NOT work with ODBC-driver...
7
by: John | last post by:
Hi I have an old access 97 application which I need to upgrade to one of the newer versions. Which of the access versions xp or 2003 should I choose? Which one is more stable? Thanks ...
0
by: Mary | last post by:
First of all, I want to thank all of you who post out here regularly. I have learned so much over the last couple of years! During my 10 years as a Cobol programmer, working with dozens of other...
17
by: Neil | last post by:
A client of mine likes some of the new bells and whistles in Access 2007, and is thinking about converting our A03 format MDB to an A07 format file. However, while some of the users have A07, many...
0
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
3
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
13
by: JakeD | last post by:
SInce about 1996, I have been happily using MS Access for Windows 95, but would now like to upgrade to a recent version. If I get a Windows XP version, will I be able to import all my Access 95...
14
by: Phil | last post by:
I have been using this code to display the version number, and this has worked well, but I am now changing from using the ClickOnce publishing to a proper setup project, and this no longer works. ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.