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

Uploading a new DLL to the GAC

Everyone,

I've run into a problem using the GAC. I've created a DLL and
put it in the GAC on our server. I've also created a webpage and
referenced that same DLL with the "Copy Local" set to false. I run
the page and things do what they're supposed to do. When I make a
change to the DLL and upload it. I can't get the website to reference
the new DLL. I've tried recompiling, removing from the GAC, etc. ...
everything I can think of and it still won't recognize the new DLL.
Am I doing something wrong or missing some vital step?

Thank you in advance for any help
Scott Vercuski
sv*******@parker.com
Nov 22 '05 #1
3 2040
Could be that the web page reference is to a specific version of your DLL,
and you've left the assembly version in your DLL as 1.0.* (assemblyinfo
file) , and every time you build it creates a new version.
--
Phil Wilson [MVP Windows Installer]
----
"Scott Vercuski" <sv*******@neo.rr.com> wrote in message
news:f4*************************@posting.google.co m...
Everyone,

I've run into a problem using the GAC. I've created a DLL and
put it in the GAC on our server. I've also created a webpage and
referenced that same DLL with the "Copy Local" set to false. I run
the page and things do what they're supposed to do. When I make a
change to the DLL and upload it. I can't get the website to reference
the new DLL. I've tried recompiling, removing from the GAC, etc. ...
everything I can think of and it still won't recognize the new DLL.
Am I doing something wrong or missing some vital step?

Thank you in advance for any help
Scott Vercuski
sv*******@parker.com

Nov 22 '05 #2
Phil,

I did leave my version as 1.0.* and I set the "Enable Incremental
Build" under the project property optimizations tab. Should I have
that turned off instead? I've honestly never used this option before.
When I re-register my DLL it doesn't increment the version number in
the GAC.

Thank you for your reply,
Scott Vercuski
sv*******@parker.com

"Phil Wilson" <Ph*********@unisys.spamcom> wrote in message news:<ex**************@TK2MSFTNGP11.phx.gbl>...
Could be that the web page reference is to a specific version of your DLL,
and you've left the assembly version in your DLL as 1.0.* (assemblyinfo
file) , and every time you build it creates a new version.
--
Phil Wilson [MVP Windows Installer]
----
"Scott Vercuski" <sv*******@neo.rr.com> wrote in message
news:f4*************************@posting.google.co m...
Everyone,

I've run into a problem using the GAC. I've created a DLL and
put it in the GAC on our server. I've also created a webpage and
referenced that same DLL with the "Copy Local" set to false. I run
the page and things do what they're supposed to do. When I make a
change to the DLL and upload it. I can't get the website to reference
the new DLL. I've tried recompiling, removing from the GAC, etc. ...
everything I can think of and it still won't recognize the new DLL.
Am I doing something wrong or missing some vital step?

Thank you in advance for any help
Scott Vercuski
sv*******@parker.com

Nov 22 '05 #3
If you were building and installing everything in your project at the same
time it wouldn't matter, but you have code out there that's bound to a
specific assemblyversion and strong name of the assembly so you need to
build a new version that matches what the existing code is expecting. The
other alternative is a publisher policy that redirects client programs from
the version they're looking for to the version you want them to use. I'm not
sure what you mean by "doesn't increment the version in the GAC", but
remember that multiple versions can exist side-by-side in the GAC (look at
the 1.0 and 1.1 framework files all in the GAC at the same time) so when you
put your new DLL in the GAC I'd assume that you're not replacing the old one
at all, just adding another with the same name but different
assemblyversion.
--
Phil Wilson [MVP Windows Installer]
----
"Scott Vercuski" <sv*******@neo.rr.com> wrote in message
news:f4**************************@posting.google.c om...
Phil,

I did leave my version as 1.0.* and I set the "Enable Incremental
Build" under the project property optimizations tab. Should I have
that turned off instead? I've honestly never used this option before.
When I re-register my DLL it doesn't increment the version number in
the GAC.

Thank you for your reply,
Scott Vercuski
sv*******@parker.com

"Phil Wilson" <Ph*********@unisys.spamcom> wrote in message

news:<ex**************@TK2MSFTNGP11.phx.gbl>...
Could be that the web page reference is to a specific version of your DLL, and you've left the assembly version in your DLL as 1.0.* (assemblyinfo
file) , and every time you build it creates a new version.
--
Phil Wilson [MVP Windows Installer]
----
"Scott Vercuski" <sv*******@neo.rr.com> wrote in message
news:f4*************************@posting.google.co m...
Everyone,

I've run into a problem using the GAC. I've created a DLL and
put it in the GAC on our server. I've also created a webpage and
referenced that same DLL with the "Copy Local" set to false. I run
the page and things do what they're supposed to do. When I make a
change to the DLL and upload it. I can't get the website to reference
the new DLL. I've tried recompiling, removing from the GAC, etc. ...
everything I can think of and it still won't recognize the new DLL.
Am I doing something wrong or missing some vital step?

Thank you in advance for any help
Scott Vercuski
sv*******@parker.com

Nov 22 '05 #4

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

Similar topics

5
by: ok | last post by:
Hello, Q: How do I get image width and height before uploading an image? This because, I want to restrict people uploading huge files. Thanks in advance
4
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
6
by: Chamomile | last post by:
can anyone point me to some straightforward information on file uploading without using an html form? That is, direcly from within a php script. if I know the local path etc. to a particular...
5
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
3
by: Jason Chu | last post by:
I've written a file uploading part of my application using the IHttpModule. So now, I don't have the memory problem of uploading something big. Problem: I can't find which function I have to...
3
by: Carlos | last post by:
Hello Forum, I would appreciate it if you could recommend settings to use auto-vacuum in my version 7.4 database. I am uploading several thousands records in the database at a rate of ~1 second...
3
ganesanji
by: ganesanji | last post by:
hi all, I have written a php coding for uploading a file to a specific folder or location in server which is a Linux server. I think the coding for file uploaing is correct. But it does not...
2
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
jodleren escribió: I haven't found the PHP manual page where such feature is documented but a few tests have shown that this behaviour changes depending on the charset parameter of the...
3
by: muziburrehaman | last post by:
i am looking for code in php to upload the 1 gb files. any one can please help me by sending the code....
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: 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: 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.