×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Error 429 While running VB exe on Win98 accessing COM+ component

Error 429 While running VB exe on Win98 accessing COM+ component

Error 429 While running VB exe on Win98 accessing COM+ component

(OP)
I am trying to run a vb exe on win98 client which is accessing a com+ components through MSI. The com+ component is installed on win2000 server and the msi is prepared by exporting the Application Proxy. I have also installed DCOM98 and MDAC 2.7 on the win98 machine. While accessing the exe it throws the error 429 "ActiveX cannot create Object". The error is thrown while the exe is trying to access the ObjectContext used in the dll.


The following is the sample code used by the ActiveX dll.
/**********************************************************/
Public Function General_Test_Method() As String

On Error GoTo errhandler

    Dim ctxObject As ObjectContext
    Set ctxObject = GetObjectContext()

    General_Test_Method = "String from General_Test_Method"

    ctxObject.SetComplete
    Exit Function

errhandler:
       ctxObject.SetAbort
       Err.Raise vbObjectError, "MTSTest.clsTest.General_Test_Method", _
                                   Err.Description
       Exit Function

End Function

/**********************************************************/


The following is the vb application code used to access this method
/**********************************************************/
Private Sub Command1_Click()
On Error GoTo ErrorHandler
      Dim obj As Object
      Set obj = CreateObject("ComPlusTest.clsTest")

      MsgBox obj.General_Test_Method
      Set obj = Nothing
      Exit Sub
ErrorHandler:
    Set obj = Nothing
    MsgBox Err.Description & ". The code failed at line : " & Erl, vbCritical
End Sub
/**********************************************************/

The above codes are copied from the Microsoft site and the instructions are strictly followed. Still the same error is occuring. The url for the above code is http://support.microsoft.com/default.aspx?scid=KB;en-us;q186342.

Please Help me to find the solution of this problem.

RE: Error 429 While running VB exe on Win98 accessing COM+ component

If you have solved this issue..please answer me also...

Mahesh

RE: Error 429 While running VB exe on Win98 accessing COM+ component

Do you have all the appropriate libraries on the server?

RE: Error 429 While running VB exe on Win98 accessing COM+ component

I have written a com+ application in VB6. I installed the dll on Win2000 server. I have run application proxy on three computers, one XP, second Win98se and third WinME (all on the same network). It works well on XP and WinME computer but at the same time it gives error 429 on win98se computer. Therefore I think it is not the problem of the appropriate libraries on the server.
If anybody knows the solution, please tell me
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close