PRB: CDONTS Application Running in MTS Fails:"Error 800900d" (235541)



The information in this article applies to:

  • Collaboration Data Objects (CDO) for NTS 1.2

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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new MTS package called "test".
  2. Create a new user and specify a password. Set the package to run under that account.
  3. Add the Visual Basic run-time files to the MTS Server (required step for the test application you create in the next step.)
  4. Create a DLL in Visual Basic that uses the Send method of the CDONTS Newmail object.
  5. 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.
  6. 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"

Modification Type:MajorLast Reviewed:5/12/2006
Keywords:kbMsg kbprb KB235541