473,320 Members | 2,071 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,320 software developers and data experts.

Moving a policy file into the GAC

Hi,
We are having an issue with policy files and the GAC. We have built
a process where it will take a policy file dll and install it into the
GAC. But a couple of things are occurring.

One - it seems like that if someone is referencing an older version of
that policy file that is in the gac (thus placing a lock on it we
think), we can't get the new version installed into the GAC. Is there
a way to get around this problem?

Secondly - we thought to try and uninstall it from the GAC first to be
on the safe side. I am trying to use the IAssemblyCache provided by
Microsoft and use the API UninstallAssembly to do it. No matter if I
have the file I'm trying to uninstall in the GAC or not, I get a
return code of 1 which indicates that the uninstall failed with a
disposition code of 3 which indicates the file isn't in the GAC - even
when it is. Has anyone seen this problem before?
Nov 16 '05 #1
0 1082

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

Similar topics

0
by: Doug | last post by:
Hi, We are having an issue with policy files and the GAC. We have built a process where it will take a policy file dll and install it into the GAC. But a couple of things are occurring. One -...
0
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>...
3
by: david.kao | last post by:
Hi All: I tried to uninstall a runtime security package from a user's machine. Based on document I have read, all I need to do is right click on MSI file, and choose uninstall from menu. After I...
2
by: jtyner | last post by:
I am trying to get QFE (Quick Fix Engineering) working with an assembly installed in the GAC. I have two books that claim if two different version of the assembly are installed in the GAC -AND-...
4
by: Rafael Tejera | last post by:
I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages. thansk for you help... Here is the error...
0
by: linkswanted | last post by:
http://www.movingcompanies.co.il/supplies/boxes.html http://www.movingcompanies.co.il/residental/ http://www.movingcompanies.co.il/commercial/corporate-moves.html...
0
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
0
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.