473,327 Members | 1,952 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,327 software developers and data experts.

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 1080
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.WARNING: 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*******@nestec.netwrote in message
news:11**********************@v33g2000cwv.googlegr oups.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*******@nestec.netwrote in message
news:11**********************@51g2000cwl.googlegro ups.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
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...
7
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...
2
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...
0
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...
2
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...
5
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...
0
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". ...
4
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...
1
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...
13
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...
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.