BUG: CDONTS Newmail Object Fails on Terminal Server Client

ID: Q217067


The information in this article applies to:


SYMPTOMS

When trying to use the Collaboration Data Objects for NTS (CDONTS) library in a Visual Basic project from a Terminal Server client, the code fails with the following error message:

Error 429 - ActiveX cannot create object


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Logon to the Terminal Server at the console (locally).


  2. Make sure the CDONTS library is registered on the Terminal Server.


  3. Create a Microsoft Visual Basic project and add a reference to the CDO for NTS 1.2 library from your project.


  4. Verify that the library does indeed work, by running the following code:
    
    Private Sub Form_Load()
         Dim mycdonts As CDONTS.NewMail
    
         Set objCDOnts = CreateObject("CDONTS.newmail")
         objCDOnts.Send "Sender@Company.com", "Recip@Company.com", "Message Subject", "Message Body"
         Set objCDOnts = Nothing
    End Sub 
    This should run correctly.


  5. Run the Terminal Server client from another machine and log on to the Terminal Server using the same Windows NT account that was used in the step one above.


  6. Run the previous Microsoft Visual Basic code from the Terminal Server client machine.


The code will fail with the following error message:
Error 429 - ActiveX cannot create object

Additional query words:


Keywords          : kbASP kbMsg kbVBp kbCDONTS kbGrpMsg 
Version           : WINDOWS:1.2
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 8, 1999