Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Praise should be given to the Forum managers or the Tipmasters - they are what make it work - give them extra recognition!!! They are timely (prompt - unlike ACTUAL support sites) and on the ball!!!..."

Geography

Where in the world do Tek-Tips members come from?
finny (Programmer)
28 Mar 02 19:10

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
finny (Programmer)
1 Apr 02 13:41
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.
rfhowell222 (MIS)
2 Apr 02 11:07
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...
finny (Programmer)
15 Apr 02 16:40
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
rfhowell222 (MIS)
6 May 02 17:38
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...
nomi2000 (ISP)
9 May 02 9:37
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

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!

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