BUG: CDONTS Newmail Object Fails on Terminal Server Client
ID: Q217067
|
The information in this article applies to:
-
Collaboration Data Objects (CDO) for NTS, version 1.2
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
- Logon to the Terminal Server at the console (locally).
- Make sure the CDONTS library is registered on the Terminal Server.
- Create a Microsoft Visual Basic project and add a reference to the CDO for NTS 1.2 library from your project.
- 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.
- 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.
- 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