473,785 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An Issue with GAC

Hi ,

In our application, we are using certains shared .net dlls (developed
in c#) . We have installed these dlls in GAC, so that client
applications (these client application can be in a different path or
even in different directory) applications can use them... Everything
works fine....

However when we rebuild the shared dlls , we need to rebuild the client
applications ( even if we do not change the version number or strong
name).... so that these can be used.... Can any one help me regarding
this

Jan 4 '07 #1
3 1098
Hi Sabarish,
Have you tried removing all old versions of your assemblies from the GAC?
if not you may need to do so, if you started with a certain version number,
built a new version and afterwards tried setting the version number
manually, you could have a few different versions in the GAC, this is known
as 'side by side execution' basicaly the GAC will store multiple versions of
the same assembly, and your programs will not detect a newer version until
you recompile them. However if you do not need multiple versions of the
resources, you should create a "publisher policy assembly" and place it in
the GAC, this will point your applications to the desired version of the
assembly.WARNIN G: publisher policy assemblies must ONLY be used when you
modify the assembly (to fix bugs) but you do not modify the backwards
compatibility.

Mike Powell
www.ramuseco.com

"Sabarish" <sa*******@nest ec.netwrote in message
news:11******** **************@ v33g2000cwv.goo glegroups.com.. .
Hi ,

In our application, we are using certains shared .net dlls (developed
in c#) . We have installed these dlls in GAC, so that client
applications (these client application can be in a different path or
even in different directory) applications can use them... Everything
works fine....

However when we rebuild the shared dlls , we need to rebuild the client
applications ( even if we do not change the version number or strong
name).... so that these can be used.... Can any one help me regarding
this

Jan 4 '07 #2
Hi Mike,

Thanks for info.... I had removed all the previous versions of the
assemblies for GAC and still the error was coming... but as you said,
the applications are not taking the new version until you recompile
them....

Also we had not changed the version number or strong key.... however
one of the shared dLL that we had was a mixed assembly (C++/CLI) ... we
are used that assembly as a bridge between C# and unmanaged VC8... we
had changed the unmanaged c++ dll.... will that be the reason that the
shared mixed DLL is not working ??

Regards
Sabarish

Jan 4 '07 #3
Seems like quite a complex setup, changing the C++ DLL may have something to
do with your problems, but i really don't know, sorry.

Mike Powell
www.ramuseco.com

"Sabarish" <sa*******@nest ec.netwrote in message
news:11******** **************@ 51g2000cwl.goog legroups.com...
Hi Mike,

Thanks for info.... I had removed all the previous versions of the
assemblies for GAC and still the error was coming... but as you said,
the applications are not taking the new version until you recompile
them....

Also we had not changed the version number or strong key.... however
one of the shared dLL that we had was a mixed assembly (C++/CLI) ... we
are used that assembly as a bridge between C# and unmanaged VC8... we
had changed the unmanaged c++ dll.... will that be the reason that the
shared mixed DLL is not working ??

Regards
Sabarish

Jan 5 '07 #4

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

Similar topics

3
5225
by: Paul Mateer | last post by:
Hi, I have been running some queries against a table in a my database and have noted an odd (at least it seems odd to me) performance issue. The table has approximately 5 million rows and includes the following columns: DocID (INTEGER, PRIMARY KEY, CLUSTERED) IsRecord (INTEGER, NONCLUSTERED)
7
3301
by: George Hester | last post by:
Please take a look at this google artcle: http://groups.google.com/groups?hl=en&lr=&frame=right&th=55d6f4b50f5f9382&seekm=411f370d%241%40olaf.komtel.net#link9 The op was having trouble with access denied using resizeTo. I am having the same issue but the explanations in this article don't seem to apply here. I am not trying to resize a window with content from a different server. This issue lies here. What I do is make a popup...
2
2468
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the workstation it is normally run from has been upgraded to WinXP from WinNT 5.0. The issue is that the graphs will either display the data within the recordsource (a query), OR it will display the "temp" data in the chart's datasheet (from initial...
0
3559
by: Kevin Spencer | last post by:
Hi all, I am working on a service that uploads METAR weather information to the National Weather Service FTP site. The service I'm authoring is hosted on a Windows 200 server, and the NWS FTP host is on a Unix server. I'm using the FtpWebRequest and FtpWebResponse classes to do the file uploading. I have tested it without any errors at all uploading to an IIS FTP server hosted on our network Most of the time it uploads without error to...
2
2824
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We intermittantly get the following exception - EXCEPTION MESSAGE: The viewstate is invalid for this page and might be corrupted. STACK TRACE:
5
2527
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant applications. I am testing an upgrade of all of the sites and have converted the main root site...although not necessarily fixed any issues. I move on instead and converted one of the virtual roots that is a seperate
0
2229
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". There are no other statements to indicate what object cannot be created. Otherwise, everything on the test Windows Server 2003 works fine—all import data updates correctly. Unfortunately, my normal development environment is not Windows...
4
3223
by: Paul | last post by:
Hi, I've been struggling with this today, I'm developing a DotNet2.0 website in C# that needs to call a long running data query. Obviously this is a good candidate for an Asynchronous call, so the page can carry on rendering whilst the call is taking place and also returning the ASP.NET worker thread to service another page request (for scalability). I have developed a very basic asynchronous object (for testing, that reproduces the same...
1
3273
by: AlekseyUS | last post by:
Hi, I'm a little stuck, I basically need to copy all the information within a specific file in Temp and append it to a file in another location. I'm not having any problems with smaller size log files stored within temp foldier and everything reads and appends perfectly, however when i try to read and append from IS12Install.log file in Temp all it appends to my destination file is: ÿþ= and a whole bunch of empty lines I believe...
13
3519
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show allowing the user to make a selection from the popup window. I have enabled AJAX extensions and have a working sample outside of a gridview. However, when I click in the textbox of a gridview row, all I see is a really small square instead of the...
0
10319
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10087
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
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
8971
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
7496
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
5380
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4046
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
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.