I’m trying to call an API using the exact procedure signature, but somehow the table of numbers I don’t think is recognize correctly.
API definition:
TYPE NUMLIST IS TABLE OF NUMBER INDEX BY VARCHAR2(50);
PROCEDURE GETSERVICES_API
(
I_DIMOBJID IN NUMBER, I_OBJECTID IN NUMBER, I_FILTER IN NUMBER,
O_ERRORCODE OUT NUMBER, O_ERRORTEXT OUT VARCHAR2, O_SERVICELIST OUT NUMLIST
);
My call of API:
DECLARE
TYPE NUMLIST IS TABLE OF NUMBER INDEX BY VARCHAR2(50);
lt_SERVICELIST NUMLIST;
ls_errortext varchar2(100);
ln_errorcode number;
BEGIN
PKGCOMSUPPORT_SERVICE.GETSERVICES_API(I_DIMOBJID => 6,
I_OBJECTID => 5263,
I_FILTER => 3,
O_ERRORCODE => ln_errorcode,
O_ERRORTEXT => ls_errortext,
O_SERVICELIST => lt_SERVICELIST);
END;
When I run my call of API I got: PLS-00306: wrong number of types of arguments in call to ‘GETSERVICE_API
Any idea why? Thanks
Есть ещё один вопрос.
Как правильно передать переменную Дата.
Пробовал следующие варианты
на эти две
CONCATENATE »» ‘01.05.2010’ »» ‘,’ »» ‘DD.MM.YYYY’ »» into DDATE_FROM.
DDATE_FROM = ‘01.05.2010’,’DD.MM.YYYY’.
Code:
Database error text……..: «ORA-01858: a non-numeric character was found
where a numeric was expected#ORA-06512: at line 1″
Database error code……..: 1858
Triggering SQL statement…: «EXECUTE PROCEDURE UDO_PROV»
Internal call code………: «[DBDS/NEW DSQL]»
На эту попытку
DDATE_FROM = ‘01052010’.
выдает
Code:
Database error text……..: «ORA-01861: literal does not match format
string#ORA-06512: at line 1″
Database error code……..: 1861
Triggering SQL statement…: «EXECUTE PROCEDURE UDO_PROV»
Internal call code………: «[DBDS/NEW DSQL]»
Функцию в Парусе видоизменили
Code:
CREATE OR REPLACE PROCEDURE PARUS.UDO_PROV
(
S IN DATE,
S2 OUT VARCHAR2
)
AS
BEGIN
S2:=S;
END;
Если спросите зачем я это делаю, то отвечу:
Надо запустить процедуру, в Парусе, с 37 переменными, т.к. там 3 вида переменных, VARCHAR2, DATE и number, то глючит у меня Дата.
Получилось вот так
Code:
EXEC SQL.
EXECUTE PROCEDURE UDO_PROV ( IN :’01-APR-10′, OUT :YY )
ENDEXEC.
ну и на вывод получил тоже самое, что и требовалось
01-APR-10
вот теперь думаю что делать , так и использовать или мож кто что посоветует.
Have been fighting this for two days and am very frustrated but feel like I am making progress. After reviewing Oracle’s online docs I am here. Receiving the following error upon code execution:
ORA-06550: line 1, column 15: PLS-00306: wrong number or types of arguments in call to ‘P_SALTEDHASH’ ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Stored procedure looks like this:
PROCEDURE stored_procedure_name ( p_passwd IN VARCHAR2,
p_salt IN VARCHAR2,
p_saltedhash_passwd OUT VARCHAR2
)
My code:
string stored_procedure_name = "stored_procedure_name";
// create the command object
OracleCommand cmd = conn.CreateCommand();
cmd.Connection = conn;
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = stored_procedure_name;
cmd.BindByName = true;
//Oracle Parameters necessary for the p_saltedhash function
cmd.Parameters.Add("p_passwd", p_passwd);
cmd.Parameters.Add("p_salt", p_salt);
OracleParameter p_saltedhash_passwd =
new OracleParameter("p_saltedhash_passwd", OracleDbType.Varchar2);
p_saltedhash_passwd.Direction = ParameterDirection.ReturnValue;
cmd.Parameters.Add(p_saltedhash_passwd);
// execute the pl/sql block
cmd.ExecuteNonQuery();
Response.Write("Pin hash is: " + p_saltedhash_passwd);`
- Remove From My Forums
-
Question
-
I'm using Microsoft's Oracle Data Access library (http://www.microsoft.com/downloads/details.aspx?familyid=4f55d429-17dc-45ea-bfb3-076d1c052524&displaylang=en) and I keep getting this error when trying to invoke a function on the oracle server:
System.Data.OracleClient.OracleException: ORA-06550: line 1, column 24:
PLS-00306: wrong number or types of arguments in call to 'INSERT_SUBSCRIBER'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredI check the parameter spelling and types over 5, times, I have no clue what is going on.
I tried using the following to manually add the parameters:
Code Snippet
command.CommandText = «INSERT_SUBSCRIBER»;
command.CommandType = CommandType.StoredProcedure;
command.Connection = connection;command.Parameters.Add(«RETURN_VALUE», OracleType.Number).Direction = ParameterDirection.ReturnValue;
command.Parameters.Add(«P_SUB_CAR_ID», OracleType.Number).Value = 0;
command.Parameters.Add(«P_SUB_PHONE_MODEL_ID», OracleType.Number).Value = 0;
command.Parameters.Add(«P_SUB_PHONE_NUMBER», OracleType.Number).Value = 0;
command.Parameters.Add(«P_SUB_FIRST_NAME», OracleType.VarChar, 20).Value = null;
command.Parameters.Add(«P_SUB_LAST_NAME», OracleType.VarChar, 20).Value = null;
command.Parameters.Add(«P_SUB_USERNAME», OracleType.VarChar, 32).Value = userName;
command.Parameters.Add(«P_SUB_PASSWD», OracleType.VarChar, 32).Value = passwd;
command.Parameters.Add(«P_SUB_ENC_PWD», OracleType.VarChar, 100).Value = encPwd;
command.Parameters.Add(«P_SUB_DOB», OracleType.DateTime).Value = DateTime.Now;
command.Parameters.Add(«P_SUB_SEX», OracleType.Char, 1).Value = null;
command.Parameters.Add(«P_SUB_LOC_ID», OracleType.Number).Value = 0;
command.Parameters.Add(«P_SUB_ZIPCODE», OracleType.VarChar, 10).Value = null;
command.Parameters.Add(«P_SUB_AREACODE», OracleType.Number).Value = 0;
command.Parameters.Add(«P_SUB_EMAIL», OracleType.VarChar, 50).Value = null;
command.Parameters.Add(«P_SUB_NEWS», OracleType.Number).Value = 0;
command.Parameters.Add(«P_SUB_DIST_ID», OracleType.Number).Value = 0;connection.Open();
command.ExecuteNonQuery(); // ERROR HERE
I even try letting asp tell me the parameters using DeriveParamters:Code Snippet
command.CommandText = «INSERT_SUBSCRIBER»;
command.CommandType = CommandType.StoredProcedure;
command.Connection = connection;connection.Open();
OracleCommandBuilder.DeriveParameters(command);
command.Parameters[«P_SUB_USERNAME»].Value = userName;
command.Parameters[«P_SUB_PASSWD»].Value = ComputeMD5Hex(password);
command.Parameters[«P_SUB_ENC_PWD»].Value = password;
command.Parameters[«P_SUB_CAR_ID»].Value = 0;
command.Parameters[«P_SUB_PHONE_MODEL_ID»].Value = 0;
command.Parameters[«P_SUB_PHONE_NUMBER»].Value = 0;
command.Parameters[«P_SUB_LOC_ID»].Value = 0;
command.Parameters[«P_SUB_AREACODE»].Value = 0;
command.Parameters[«P_SUB_NEWS»].Value = 0;
command.Parameters[«P_SUB_DIST_ID»].Value = 0;
command.Parameters[«P_SUB_DOB»].Value = DateTime.Now;command.ExecuteNonQuery(); // ERROR THROW HERE AGAIN!
The following function is on the server, and it looks like this:Code Snippet
SQL> describe insert_subscriber;
FUNCTION insert_subscriber RETURNS NUMBER
Argument Name Type In/Out Default?
—————————— ———————— —— ———
P_SUB_CAR_ID NUMBER(4) IN
P_SUB_PHONE_MODEL_ID NUMBER(4) IN
P_SUB_PHONE_NUMBER NUMBER(15) IN
P_SUB_FIRST_NAME VARCHAR2(20) IN
P_SUB_LAST_NAME VARCHAR2(20) IN
P_SUB_USERNAME VARCHAR2(32) IN
P_SUB_PASSWD VARCHAR2(32) IN
P_SUB_ENC_PWD VARCHAR2(100) IN
P_SUB_DOB DATE IN
P_SUB_SEX CHAR(1) IN
P_SUB_LOC_ID NUMBER(10) IN
P_SUB_ZIPCODE VARCHAR2(10) IN
P_SUB_AREACODE NUMBER(10) IN
P_SUB_EMAIL VARCHAR2(50) IN
P_SUB_NEWS NUMBER(1) IN
P_SUB_DIST_ID NUMBER(32) INThe funny thing is, if I right click on the function in Visual Studio’s Database Explorer, and select «Execute», fill in the parameters, and it works! WHY? What am I doing wrong?
Answers
-
Thanks for the reply, one of the args is a return value, that is why there are 17 parameters.
I figured out the issue actually. To submit null values to the database, you have to set the OracleParameter.Value property to DbNull.Value instead of regular .net nulls. Are you trying to give me white hairs microsoft? Oh well.
Содержание
- Let’s Develop in Oracle
- ORA-06550: line n, column n
- 6 comments:
- Accessing TABLE From READ ONLY DATABASE Using DATABASE LINK Within PL/SQL Fails With ORA-06550 ORA-04063 or PLS-00905 (Doc ID 358697.1)
- Applies to:
- Symptoms
- Cause
- To view full details, sign in with your My Oracle Support account.
- Don’t have a My Oracle Support account? Click to get started!
- ORA-06550 and PLS-00201 identifier
- Comments
- Ora 06550 error in sql
- Asked by:
- Question
- All replies
Let’s Develop in Oracle
ORA-06550: line n, column n
ORA-06550: line string, column string: string
Cause: Usually a PL/SQL compilation error.
Action: none
ORA-06550 is a very simple exception, and occurs when we try to execute a invalid pl/sql block like stored procedure. ORA-06550 is basically a PL/SQL compilation error. Lets check the following example to generate ORA-06550:
Here we create a stored procedure «myproc» which has some compilation errors and when we tried to execute it, ORA-06550 was thrown by the Oracle database. To debug ORA-06550 we can use «show error» statement as:
Now we know variable SAL is not defined and must be written as c.sal. So we will need to make corrections in «myproc» as
Hi every one!
Can anyone give me some idea about PRAGMA INLINE?
Pragma inline is compiler directive to replace its call with its definition, like we have #define in C language
check this link out: http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/inline_pragma.htm
i have created the package
create or replace package maths
as
procedure addition(a in number, b in number,c in out number);
function subtraction(a in number,b in number,c out number) return number;
procedure multiplication(a in number,b in number,c out number);
function division(a in number,b in number,c out number) return number;
end maths;
And i created package body,
create or replace package body maths
as
procedure addition(a in number,b in number,c in out number)
is
begin
c:=a+b;
end addition;
function subtraction(a in number,b in number,c out number) return number
is
begin
c:=a-b;
return c;
end subtraction;
procedure multiplication(a in number,b in number,c out number)
is
begin
c:=a*b;
end multiplication;
function division(a in number,b in number,c out number) return number
is
begin
c:=a/b;
return c;
end division;
end maths;
And then i called the procedure by using the code
set serveroutput on
declare
x number;
y number;
z number;
begin
x:=10;
y:=20;
addition(x,y,z);
dbms_output.put_line(z);
end;
but i am getting the below error:
Error starting at line 148 in command:
declare
x number;
y number;
z number;
begin
x:=10;
y:=20;
addition(x,y,z);
dbms_output.put_line(z);
end;
Error report:
ORA-06550: line 8, column 1:
PLS-00905: object SATYA.ADDITION is invalid
ORA-06550: line 8, column 1:
PL/SQL: Statement ignored
06550. 00000 — «line %s, column %s:n%s»
*Cause: Usually a PL/SQL compilation error.
*Action:
HOW CAN I RESOLVE THIS ERROR CAN ANY ONE PLZ HELP ME:
Источник
Accessing TABLE From READ ONLY DATABASE Using DATABASE LINK Within PL/SQL Fails With ORA-06550 ORA-04063 or PLS-00905 (Doc ID 358697.1)
Last updated on JANUARY 29, 2022
Applies to:
Symptoms
Accessing TABLE From READ ONLY (STANDBY) DATABASE Using DATABASE LINK Within PL/SQL Fails With ORA-06550 ORA-04063 or PLS-00905
To reproduce in remote read only Database:
In local database:
drop database link ora102;
create database link ora102 using ‘ora102’;
declare
i number;
begin
select count(*) into i from x@ora102;
end;
/
If local and remote database have version between Oracle9i 9.2.0 to Oracle 11.2 or later it fails with:
If local database have versions between Oracle8 8.0.6 to Oracle8i 8.1.7 it fails with :
SVRMGR> declare
2> i number;
3> begin
4> select count(*) into i from x@ora817;
5> end;
6> /
select count(*) into i from x@ora817;
*
ORA-06550: line 4, column 33:
PLS-00905: object SCOTT.X@ORA817.WORLD is invalid
ORA-06550: line 4, column 5:
PL/SQL: SQL Statement ignored
If Local Database has a version higher than Oracle9i 9.2.0 and remote Database a version lower than Oracle9i 9.0.1 then it could fails with ORA-00600 [17069]
Work OK When Accessing TABLE Using SQL From READ ONLY (STANDBY) DATABASE Using DATABASE LINK
Cause
To view full details, sign in with your My Oracle Support account.
Don’t have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. пїЅ Oracle | Contact and Chat | Support | Communities | Connect with us | | | | Legal Notices | Terms of Use
Источник
ORA-06550 and PLS-00201 identifier
must be declared
I am attempting to execute a sql script in SQLplus, but I am getting this error:
ORA-06550: line 18, column 7
PLS-00201: identifier ‘IPFMODHISTORY.ALLUSERSALLTABLES’ must be declared
PL/SQL: statement ignored
I don’t understand what the problem is. I have granted EXECUTE privileges on the package to the schema owner. I also tried granting EXECUTE privileges on the package to the user. I know the package is there and the ALLUSERSALLTABLES function exists.
Maybe the allusersalltables function is only declared in the package body, not in the specification of ipfmodhistory package. This way the function cannot be called from outside.
I do have the function declared in the spec as well.
I tried something else now. I tried preceeding the package name with the name of the schema, such as: SCHEMA_NAME.ipfModHistory.AllUsersAllTables,
I get this error: ORA-00942: table or view does not exist
what does following query return?
select * from all_objects where object_name = ‘IPFMODHISTORY’;
Why do you have same package under different schemas? It is not recommended to have your own objects under SYS schema.
From which user was the EXECUTE grant given?
Since there is no package body under SYS schema, I presume it would be for PANTOS schema only?
I don’t know why the package is listed under both the SYS schema and the PANTOS schema. And yes, it is for the PANTOS schema only.
Logged in as the user who is trying to execute this package, I did a:
SELECT * FROM USER_TAB_PRIVS_RECD;
and found that PANTOS granted the user EXECUTE privileges on the package.
Thank you,
Laura
Message was edited by:
The Fabulous LB
I tried creating a synonym, but that didn’t help either. I still get the same error message.
Logged in as PANTOS, I tried your example, CREATE SYNONYM ipfModHistory FOR PANTOS.ipfModHistory, and got this error:
ORA-01471: cannot create a synonym with same name as object
So I tried this:
CREATE SYNONYM modhistory FOR PANTOS.ipfModHistory, and the synonym was created.
Logged in as PANTOS, EXECUTE privileges were granted to the user who will actually be executing the SQL script:
GRANT EXECUTE on ipfModHistory TO user2;
Grant succeeded.
Then I modified the SQL script to call the package & function with the synonym. Maybe this is where I am going wrong? And I get the same type of error as before:
PLS-00201: identifier ‘MODHISTORY.ALLUSERSALLTABLES’ must be declared.
PLS-00201: identifier ‘MODHISTORY.ALLUSERSSINGLETABLE’ must be declared.
. and so on.
What am I missing here?
Can you successfully run ipfmodhistory.allusersalltables as the pantos user? From the error message, it appears that the function is trying to access a table that does not exist, or that pantos does not have directly granted privileges on. If any of the tables used in the function are not owned by pantos, you will either need to make a private synonym in the pantos schema, or prefix the table name wih the table owners name.
When i try to execute this script logged in as PANTOS, I get this error:
ORA-00942: table or view does not exist
ORA-06512: at «PANTOS.IPFMODHISTORY», line 73
I am trying to do a select statement inside my function that selects from
v$xml_audit_trail view and the audit_actions table.
So I verified who the owner of this view/table are:
select owner, table_name from dba_tables where table_name = ‘AUDIT_ACTIONS’;
select owner, object_name from all_objects where object_name = ‘V$XML_AUDIT_TRAIL’;
Источник
Ora 06550 error in sql
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
We are currently experiencing issues trying to connect to Oracle stored procedures from Microsoft SQL Server Reporting Services 2014, receiving the following error anytime we try and run any stored procedure via a report connecting to an Oracle stored procedure:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to ‘ ‘ ORA-06550: line 1, column 7: PL/SQL: Statement ignored
These stored procedures return an “OUT” SYS_REFCURSOR parameter as required to return a data set to SSRS, and it seems to be that parameter that is causing the issue for all our reports.
We are running SSRS on a Windows Server 2012 R2 Standard OS, 64 bit, and SSRS is running under a 64 bit configuration. We have installed the ODAC 64 bit components (64-bit ODAC 12.2c Release 1 (12.2.0.1.1) for Windows x64) for Windows (downloaded from https://www.oracle.com/technetwork/database/windows/downloads/index-090165.html) and also registered the ODP.NET DLLs on the server into the GAC as our reports use this connection method.
From SSRS on the server, we can successfully make a connection to the Oracle datasource using the SSRS Report Manager. And from our development machines, where we installed the 32 bit ODAC / ODT Tools for Visual Studio (ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.1)) (because Visual Studio uses the 32-bit ODAC components), we can successfully connect to the Oracle database and execute the reports without the error we are receiving on the server.
We have already validated that we have the correct parameters in the report, and we have validated that we can connect and execute the stored procedures successfully via SQL Plus and also on our local development machines from the SSRS report.
We are trying to connect to an Oracle 11.2.0.4 database.
We have already tried following the advice and procedures from a number of articles, including those listed in other posts on this site such as «https://social.technet.microsoft.com/Forums/en-US/424f750e-7f58-49e3-bd4a-51e0acdd99a4/not-able-to-use-oracle-sp-in-ssrsgetting-an-error?forum=sqlreportingservices» and «https://social.technet.microsoft.com/Forums/en-US/626c9c6c-1c99-4718-9cb1-054a102701cd/ssrs-calling-a-stored-procedure-error-pls00306-wrong-number-or-types-of-arg?forum=sqlreportingservices&ppud=4». But as far as we can tell, the ODAC version we have installed on the server (12.2c Release 1) can connect to an Oracle database version 10g or higher (according to https://www.oracle.com/technetwork/topics/dotnet/install122010-3711118.html), and our database is 11.2.0.4 so we should be good, correct? Or is the Oracle documentation wrong, and in order to connect to an Oracle 11.x database we need the ODAC 11.2.0.3.0 components on the server (even though the ODAC 12.2c components installed on our development machines allow us to run the reports successfully from Visual Studio)?
Anyone have any thoughts?
Thanks in advance.
According to your description , seems you could check in the following aspects.
- Do not use the stored procedure directly, try to use a simple query check if the query would runs ok in ssrs. If the simple query runs correct , seems it is an issue about the query (stored procedure ), if not seems it is an issue about the connection provider driver.
- For the query problem .
- Check if you have the correct parameter type.
- Do you have enough permission to access the stored procedure and the correspond temp table space.
- Check your stored procedure again.
- Any custom datatype or just mistype.
- For the provider driver.
- Make sure you have correct install the correspond provider driver .(both 32 bit and 64 bit ,and both user level and system level)
- The multiple connection driver ‘s crash , try to make sure you have a clean environment .see: Connection error after upgrading from ODAC 9i to 11.2
You could also offer the correspond ssrs log or the oracle log information to us for more further research.
Hope it can help you.
Best Regards, Eric Liu MSDN Community Support Please remember to click Mark as Answer if the responses that resolved your issue, and to click Unmark as Answer if not. This can be beneficial to other community members reading this thread.
Thanks for the response. Following your suggestions, I took the (very simple) PL-SQL out of the stored procedure, and built a new SSRS report to run directly against the SQL, and as expected this worked both on my development machine, and from the server.
However, I don’t necessarily agree that this points to an issue with the stored procedure. I say that because I can successfully use the stored procedure, using the same database and user and connection string, from my development machine and have it work. If there was an issue with the stored proc, then it shouldn’t work anywhere I try and use it, correct?
And the PL-SQL / stored procedure we are trying to get working is extremely simple. Here is the PL-SQL:
WHERE TRUNC (DATECOLUMN) =
TRUNC (TO_DATE (‘2018-01-01’, ‘yyyy-mm-dd’))
And as a stored procedure, it is pretty much just as simple, except that we have defined a single input parameter for the date, and the necessary output parameter to hold the dataset to pass back to the report:
CREATE OR REPLACE PROCEDURE BLAH.spParameterTest (
param1 IN VARCHAR,
Results OUT SYS_REFCURSOR)
OPEN Results FOR
WHERE TRUNC (DATECOLUMN) =
TRUNC (TO_DATE (param1, ‘yyyy-mm-dd’));
I have double (and triple :)) checked the stored procedure, it’s parameters and data types, and permissions, and all seem good (again, we can successfully use it from our development machines). I had actually seen that first article you reference previously and validated all of that.
Regarding the second article — I don’t believe we have that issue either, as we also thought this could be an issue and removed all ODAC installations on the server, then installed the singular ODAC 64 bit components (64-bit ODAC 12.2c Release 1 (12.2.0.1.1) for Windows x64) for Windows component. One item you mentioned peaked my interest though, and that was:
- Make sure you have correct install the correspond provider driver .(both 32 bit and 64 bit ,and both user level and system level)
Is the driver not automatically installed where necessary by the ODAC installation? And why would I need the 32 bit driver since I’m using all 64 bit software and OS? And how do I install at a user vs. system level?
Finally, regarding your suggestion to post the related SSRS log, here is an excerpt that we get when we attempt to run the report from the SSRS Report Manager:
- An error has occurred during report processing. (rsProcessingAborted)
- Query execution failed for dataset ‘DataSet1’. (rsErrorExecutingCommand)
- ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to ‘BLAH’ ORA-06550: line 1, column 7: PL/SQL: Statement ignored
- Query execution failed for dataset ‘DataSet1’. (rsErrorExecutingCommand)
And in the SSRS log file we get (sorry for the length :)):
processing!ReportServer_0-1!12d8!01/08/2019-16:35:34:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ‘DataSet1’. —> System.Data.OracleClient.OracleException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to ‘BLAH’
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc)
at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals)
at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals)
at System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.DataExtensions.OracleCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
— End of inner exception stack trace —
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQueryAndProcessAsIRowConsumer(Boolean processAsIRowConsumer)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.InitializeAndRunLiveQuery()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.InitializeRowSourceAndProcessRows()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.Process()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessConcurrent(Object threadSet)
processing!ReportServer_0-1!12d8!01/08/2019-16:35:34:: i INFO: DataPrefetch abort handler called for Report with Aborting data sources .
processing!ReportServer_0-1!12d8!01/08/2019-16:35:34:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ‘DataSet1’. —> System.Data.OracleClient.OracleException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to ‘BLAH’
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc)
at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals)
at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals)
at System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.DataExtensions.OracleCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
— End of inner exception stack trace —
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQueryAndProcessAsIRowConsumer(Boolean processAsIRowConsumer)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.InitializeAndRunLiveQuery()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.InitializeRowSourceAndProcessRows()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.Process()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessConcurrent(Object threadSet)
— End of inner exception stack trace —
at Microsoft.ReportingServices.OnDemandProcessing.OnDemandProcessingContext.AbortHelper.ThrowAbortException(String uniqueName)
at Microsoft.ReportingServices.OnDemandProcessing.RetrievalManager.FetchData()
at Microsoft.ReportingServices.OnDemandProcessing.RetrievalManager.PrefetchData(ReportInstance reportInstance, ParameterInfoCollection parameters, Boolean mergeTran)
at Microsoft.ReportingServices.OnDemandProcessing.Merge.FetchData(ReportInstance reportInstance, Boolean mergeTransaction)
at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdpInitial.PreProcessSnapshot(OnDemandProcessingContext odpContext, Merge
webserver!ReportServer_0-1!12d8!01/08/2019-16:35:34:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ‘DataSet1’. —> System.Data.OracleClient.OracleException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to ‘BLAH’
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc)
at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals)
at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals)
at System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.DataExtensions.OracleCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
— End of inner exception stack trace —
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQueryAndProcessAsIRowConsumer(Boolean processAsIRowConsumer)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.InitializeAndRunLiveQuery()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.InitializeRowSourceAndProcessRows()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.Process()
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessConcurrent(Object threadSet)
— End of inner exception stack trace —
at Microsoft.ReportingServices.OnDemandProcessing.OnDemandProcessingContext.AbortHelper.ThrowAbortException(String uniqueName)
at Microsoft.ReportingServices.OnDemandProcessing.RetrievalManager.FetchData()
at Microsoft.ReportingServices.OnDemandProcessing.RetrievalManager.PrefetchData(ReportInstance reportInstance, ParameterInfoCollection parameters, Boolean mergeTran)
at Microsoft.ReportingServices.OnDemandProcessing.Merge.FetchData(ReportInstance reportInstance, Boolean mergeTransaction)
at Microsoft.ReportingServic
So, does any of the above give you any clues that might be wrong?
Источник