Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbms_smtp and db links

Status
Not open for further replies.

Kenrae

Programmer
Feb 7, 2001
174
ES
Hello all,

I have a problem using this package through a db link. I'm calling a package done by me which uses dbms_smtp. This package works fine when I execute it as the owner. But when I try to execute it through a db link from another user, I receive this error:

ORA-02064: distributed operation not supported
ORA-06512: at "TOOLS.UTIL", line 80
ORA-02064: distributed operation not supported
ORA-06512: at line 4

I don't know how to handle it. It worked fine last week.
The db link works fine.
What can it be?
 
Are you saying that the remote procedure call worked last week? If so, have you modified your package?

According to the documentation, ORA-02064 is generated because of certain limitations in executing remote procedure calls. That's basically your situation, so it's possible that you may simply not be able to call your package through a db link.

What is the specific sql that is executing when you get the error? Maybe you can rewrite to avoid the error.
 
Yes, my rpc worked last week. And what's more, it works on another machine! (through a db link, too).
In my SQL I only execute the procedure, nothing more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top