Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using MTS .dll while server logged off.

Status
Not open for further replies.

Katriona

Programmer
Aug 29, 1999
24
0
0
AU
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!)
 
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.

:¿)
 
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

 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top