×
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

Using MTS .dll while server logged off.

Using MTS .dll while server logged off.

Using MTS .dll while server logged off.

(OP)
Hi there,

I have written a .dll in VB6 and have registered it in MTS. This has been working well for quite a few months now with no problems at all. The problem that I'm having now is the server has always been logged on, this is no longer appropriate and we need the .dll to be accessible while the server is logged off.

When I try to view the .asp page that uses the .dll, while the server is logged off, I get the following error:

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object


Does anyone know how to fix this problem?

Thanks in advance for any and all help :)

Katriona (MTS Newbie!)

RE: Using MTS .dll while server logged off.

Hi there.
What you could try is in the properties of your object go to the identity tab.
Here run the package under a named user account like MTS_User or something.
Ensure this user has rights and then utilise that user from the client to call the object.
p.s. I've just tried this and it works with the server logged off.
Also ensure the MSDTC service is starting on the server.

:¿)

RE: Using MTS .dll while server logged off.

Hi Katriona,

The error you get is when a MTS Package is set to "Interactive User". This requires the server to always be logged on.

See Q241057 on MSDN (Same problem when accessing MTS Object thro ASP).

Sunrise is quite right you need to assign the MTS Package as a "Specific User". Set a new User Account - Don't use an existing named account where the password is likely to be changed, because you will then have to change the password for the MTS Package to match.


Regards,

Codefish

RE: Using MTS .dll while server logged off.

(OP)
Sunrise, CodeFish thank for your help. Your solution works perfectly :) the dll is doing it's thing without the server being logged on

Thanks again,

Katriona

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!

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