DLL Version

HI there,

I have an application(windows VB6) that I installed on Terminal Server. It was working fine untill I made a few changes to the DLL and had to redeploy the app again. The application cannot see the changes to the DLL i.e cannot see the new methods in the DLL. I have tested this on the development machine and it works. How can I sort this out ???

Thanx in advance
JaBs206Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vrobisonCommented:
You could start by verifying the dependancies that are required by the application, which should include functions in your new version of the dll.  I believe the dependancy walker (part of the server 2003 resource kit) can provide this info.  I have a link to it here: http://members.rogers.com/vrobison/

If you use versioning in your DLL, I believe you can see the version into in the tool to  ensure that the correct version of the dll you added is being loaded

0
Arthur_WoodCommented:
did you re-register the DLL on the target machine?


Did you build the DLL with Binary Compatability?

The changes that you made, did they add new classes, or did you change the calling parameters of existing classes?

AW
0
JaBs206Author Commented:
HI

AW:
I did register the DLL on the machine. And I built it with Binary Compatability....I only added two methods and a property to an existing class. I use the Package and Deployment Wizard to create a setup program which I run on the target machine so as to register all the neccessary files needed to run my app.

Thanx a lot...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

mugman21Commented:
JaBs206,

Within the properties of both the app and the dll you do have "upgrade activex controls" checked? On the server are you logged in as administrator?

Try manually unregistering the dll before you run the new setup package.

Mugman
0
JaBs206Author Commented:

Mugman,

Both the APP and the DLL have the "Upgrade ActiveX Controls" checked. I am also logged on as the administrator on the server. I have tried unregistering the dll manually before each setup and have also registered it manually trying to update the dll. Still no solution...I have also tried cleaning the Registry of any referencess to this dll.

Thanx a lot...
0
mugman21Commented:
JaBs206,

This makes no sense, I can feel your fustration. Instead of just unregistering the dll, can you manually deleted it? Try from a prompt, "sfc /purgecaghe". That will dump system cache that might contain a copy of the dll somewhere. Does your install package work on other machines????

Mugman
0
JaBs206Author Commented:
Hi all,

I have finally found a solution to this problem. The problem was with the msado15 DLL...The version on the deployment machine was older than the one on the development machine. The setup couldn't update it.

Thanx a mill guys....

This question can now be closed
0
moduloCommented:
PAQed with points refunded (350)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.