Microsoft KB Archive/235541

= PRB: CDONTS Application Running in MTS Fails:"Error 800900d" =

Article ID: 235541

Article Last Modified on 5/12/2006

-

APPLIES TO


 * Microsoft Collaboration Data Objects 1.2 for NT Server

-



This article was previously published under Q235541



SYMPTOMS
When you run a CDONTS application implemented as a DLL in a Microsoft Transaction Server (MTS) package, the following error message is returned from the Send method of the CDONTS library:

"Send method error '8009000d' method '~' of object '~' failed /test/default.asp"

This error message occurs when you run the CDONTS application on a computer running Windows NT 4.0 SP3 (with Option Pack) and Internet Explorer 4.01 SP1.



CAUSE
Because no user is logged on to the computer, it is impossible to open a security profile.



RESOLUTION
Any of the following methods can be used as a workaround for the problem:
 * Change the package activation from "Server" to "Library" on the Activation tab of the MTS package.
 * Associate the Windows NT account running the MTS package to a running service that is run automatically at startup.



Steps to Reproduce Behavior
 Create a new MTS package called "test". Create a new user and specify a password. Set the package to run under that account. Add the Visual Basic run-time files to the MTS Server (required step for the test application you create in the next step.) Create a DLL in Visual Basic that uses the Send method of the CDONTS Newmail object. Create a new virtual directory called "Test" and add an ASP file that instantiates the Visual Basic DLL and calls one of its methods. This virtual directory is set up as an IIS application. Browse the ASP file in that virtual directory. You receive the following error message:

"Send method error '8009000d' method '~' of object '~' failed /test/default.asp"

</li></ol>

Keywords: kbmsg kbprb KB235541

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.