×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Error Adding Components in MTS

Error Adding Components in MTS

Error Adding Components in MTS

(OP)

If anyone could help out with this issue, I'd be greatly obliged.  long story short, I've created a web app.

Normal Development progression.
Dev box, test box and prod box.
On Dev and Test box, everything works fine.  I added the dll(created in VB6) and then created package, added components on both boxes and no problem.  App runs fine.  

On prod box, I add dll, create package and try to add components but I get this error message-

Run-time error '91':
Object variable or with block not set.

This error message pops up for each component witin the dll.

I've also tried to export package from test box and try install on prod that way.  I get to Installation Options and I get the same pop-up error as above.  This time when the pop-ups are done, the viewer gives me the errors occured box tells me that the component information is out of date.

If someone has seen this before, I appreciate any push in the right direction to get this resolved.

Thx in advance...finny

RE: Error Adding Components in MTS

(OP)
I didn't resolve this issue per se...however, I did find a work around.

Instead of exporting and installing an existing package, I created the package from the existing MMC entry on the dev box and ran the *.exe created on the prod box and it work out ok.

finny.

RE: Error Adding Components in MTS

The problem you are having is because your dll is referencing other objects that do not exist on your production environment.  An example would be you are using MDAC 2.7 in your dev/test environment and MDAC 2.6 in production.  The error message is telling you that you are referencing an object that doesn't exist...

RE: Error Adding Components in MTS

(OP)
rfhowell222,
thx for your reply.  I've checked all references that are within my dll and the only file I see as being different is the stdole2.tlb file and that file is actually older then the file I have on the dev/test boxes.  

Dev/Test is version 2.40.4277 v. version 2.40.4275 on production.  Version 2.40.4275 is the file I have running on the machine where I compile that dll.  So if anything, I would think it would blow up on dev/test for the out of date reason and work fine on the prod box.  Does that make sense?  

If you have any other ideas/suggestions, I would greatly appreciate them.  This issue is causing big performance issues with my web app b/c I need to reference the dll from the test box just to get prod web site working.

Thx in advance...finny

RE: Error Adding Components in MTS

Finny,
Have you tried using the Package Export option from MTS?  Right click on the package you want to export and go through the Export... wizard This creates a single .exe that you can run on the destination system (your prod system in this case) that will copy the package and all of its dependancies.  This has gotten me out of the woods on many occassions...Hope this helps...

RE: Error Adding Components in MTS

Finny
the error u r getting is due to the some interface/method u r using inside ur MTS object which is not supported by that object now the q is how to resolve it dear there could be many possibilities for this error so if u want to catch the error just DEBUG ur MTS component at development with both the EXE and MTS compoents running,so u could figure out what the prob is
Regards
Nouman

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close