Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Com object problem

Author  Topic 

Juliet Moran
Starting Member

1 Post

Posted - 2002-02-01 : 07:17:24
I am trying to run an email component using a stored procedure.

At the following line, it trys to create the object:

EXEC @resultcode = sp_OACreate 'Persits.MailSender', @oMail OUT

However the resultcode I recieve is no 0, but -2146828282
I have tried a different component, and I get a slight differed number...But very similar.

I presume there is something wrong with tthe sp_OACreate or how it is set up.
Has anyone had this problem, or can shed any light on it?
   

- Advertisement -