472,368 Members | 2,518 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,368 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 2414
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. ...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

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.