Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

error calling Packages

$
0
0

Hello good afternoon to everyone

I like to be a consultant:

I have an ASP page that works perfectly with an oracle procedure, in that there is nothing to do, it works perfectly.

My problem is when I change the procedure for a pkgs ... when calling the call does not work .. then I leave my code

this code is perfect

sub sp_crea_callCenter(nombre)
    Set execu = Nothing
    Set execu = Server.CreateObject(dllName + ".Execute")
    execu.AddPar nombre
    execu.ExecuteSP "sp_crea_callCenter"
end sub

nCallCenter             = Request("txtNomCallCenter")

call sp_crea_callCenter(nCallCenter)
nError = execu.CodError

but when I call the PKGS it no longer works, the error says that it does not know the object.

sub pkgs_callcenter.sp_crea_callCenter(nombre)
    Set execu = Nothing
    Set execu = Server.CreateObject(dllName + ".Execute")
    execu.AddPar nombre
    execu.ExecuteSP "pkgs_callcenter.sp_crea_callCenter"
end sub

nCallCenter             = Request("txtNomCallCenter")

call pkgs_callcenter.sp_crea_callCenter(nCallCenter)
nError = execu.CodError


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>