473,770 Members | 6,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

publisher policy in .NET 2.0 ???

Hi,

I'm having problems using publisher policy in .NET 2.0.
whereas I didn't in .NET 1.1

Scenario :
I have a version3.0 component against which a client is compiled.
Then creating version3.1 component and the policy-file.
(The policy-file states a binding-redirect from 3.0 to 3.1.)

I install both the policy-file and 3.1-component in the GAC, then run the client again but I get an error stating that the client doesn't find 3.1-component ???

I repeat : .NET 1.1, I didn't have any problems

Summary:
If I compile the client directly against 3.0-component then no problem
If I compile the client directly against 3.1-component then no problem
If I compile the client against 3.0-component but with the
policy-file in the GAC then crash
And i have verified the correctness of the policy-file !!!

What is wrong then ?
What has changed in .NET 2.0 ?

thanks
Chris
*************** *************** *************** *************** **********
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 21 '05 #1
0 767

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
7968
by: Timothy M Hodgson | last post by:
In the Assembly Load Trace, the error: Publisher policy file is not found comes up. Is this a problem with locating the assembly? Is a publisher policy file required or even necessary as long as the assembly can be found and loaded? Thanks! Tim
0
1178
by: Doug | last post by:
Hello, We are having a problem with a component in our system that uses publisher policy files. Whenever it gets modified and moved out to where our build processes reference components for other builds, developers get this error: "The dependency 'COMPONENT, Version=VERSION, Culture=neutral, PublicKeyToken=PUBLIC KEY TOKEN' in project 'OTHER COMPONENT' cannot be copied to the run directory because it would conflict with dependency...
0
407
by: Doug | last post by:
I have component A that references component B and component B uses versioning and publisher policy files. Component A also references component C and component C also references component B. A was compiled against version 1.0.0.1 for component B and C was referenced against version 1.0.0.0 for component B. Now when A calls functionality within component C that in turn calls component B I get an error ("component B or one of it's...
1
2036
by: Seb LM | last post by:
Hello, I'd like to define a publisher policy which covers many versions of assembly from which the "major.minor version" are different but it's not possible to make a such publisher policy. So it's necessary to create a publisher policy for each new "major.minor version", which can take a long time to make manually. Do there exist tools to generate publisher policy for many "major.minor versions" from a simple and compact configuration...
0
1048
by: andrew.noel | last post by:
I have a publisher policy setup that consists of the following two files: policy.0.0.assembly.dll policy.config The policy.config file contains the following: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1
1691
by: cmrchs | last post by:
Hi, I'm having problems using publisher policy in .NET 2.0. whereas I didn't in .NET 1.1 Scenario : I have a version3.0 component against which a client is compiled. Then creating version3.1 component and the policy-file. (The policy-file states a binding-redirect from 3.0 to 3.1.)
1
1987
by: MT | last post by:
We have a .NET dll that we are deploying to our customers using a deployment project in VS .NET 2003. There is a lot of information about creating publisher policies on the web, but we have not been successful in creating one. Here's what the ultimate goal is: When the DLL is deployed to a customer's system, every application using this dll must point to the new version. This has to be an automated process using the deployment project....
1
5786
by: pemigh | last post by:
Users want to click on a control and immediately ship a Publisher -- or PDF -- document to the printer. I found an old conversation with this code for Word: Dim wdApp As Word.Application Dim wdDoc As Word.Document Set wdApp = New Word.Application
0
1507
by: Ron | last post by:
Hi All, I am fairly new to MS SQL Replication. I have two servers one is setup as the publisher and the other is setup as both the subscriber and the distributor. Due to server reboots, the publicher DB became corrupted therefore we pointed all activity to the subscriber DB. Now we would like to bring back the publisher online, but we do not have a backup.
1
3266
by: =?Utf-8?B?U2NvdHQ=?= | last post by:
Publisher policies sound just like what I need but I just can't get these things to work. There are several good kb articles that seem to show exactly what needs to be done.... Here is my publisher file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly>
0
10053
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9867
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8880
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7415
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.