GENERIC ERROR COMING RUNNING A PACKAGE
Hi friends,
I have a package and under that many procedures has written. When i am trying to add a new procedure and compiling it, it is compiling correct but when i am trying to run it, it is throwing error as
ORA-04063: package body "DEV.NEW" has errors
ORA-06508: PL/SQL: could not find program unit being called: "DEV.NEW"
ORA-06512: at line 2
I checked for these errors on new but generic soln is given there. Any response what could be the reason.
Regards
It might sound silly but you didn't drop the specification first? For the avoidance of doubt, in order to compile a 'body' you must have a specification (the reverse is not true though - you can have a spec without a body).
From The relevant Oracle Documentation:
Create Package Statement
Create Package Body Statement
Edited by: Joel_C on 01-Jun-2011 12:58
Similar Messages
-
Error while running SSIS package from Integration service or via Job
Hi All,
I encounter the below error while running SSIS Package from Job or integration service. However on execution completes success fully while running from data tools. The issue occurs after migration to 2012 from 2oo5 dtsx. PFB the error.
SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on OLE DB Source returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by
the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
A buffer failed while allocating 10485760 bytes.
The system reports 26 percent memory load. There are 206110765056 bytes of physical memory with 150503776256 bytes.
free. There are 2147352576 bytes of virtual memory with 185106432 bytes free. The paging file has 208256339968 bytes with 145642921984 bytes free.
The package also runs successfully from other servers. This happens only in one of our server.seems like issue with some sql configuration.Hi ,
Are you running using SQL Agent Job and Data tools on same server or different?
If it is executing fine using Data tools and failing with Job it might be User credentials issue.Try
to run Job with your credentials by using proxy .
Regards,
Prathy
Prathy K -
"VS_NEEDSNEWMETADATA" error while running a package created from C# code
I have gone through most of the answers for similar questions here however none has resolved the issue. We have created a package using C# code which stages data from a source table to destination (ChildPackage.dtsx).
Source Table : RowKey, Col1, Col2
Destination Table : RowKey, Col1, Col2, RowID, RunID (RowID is an identity column in destination table and RunID is a derived column whose value is set using a variable)
This package runs fine when we execute it directly however, we run these packages from a master package (MasterPackage.dtsx). When we are trying to run the package (ChildPackage) from a MasterPackage we get an error:
[SSIS.Pipeline] Error: "Oledb Destination" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
We have tried setting DelayValidation to true for the ChildPackage and even tried setting the values for "ValidateExternalMetadata" for the source and destination component as "False" for the data flow task
of the ChildPackage.
There is no case difference between column names in source and destination and it runs fine when we run the ChildPackage directly.
The only additional task that the Master package performs is to generate and set a variable that is used as RunID value by the child package.
If we hardcode the RunID in the ChildPackage and run it directly, it runs fine.
The MasterPackage.dtsx is not created from code and has a step to run ChildPackage.dtsx. We generate the ChildPackage.dtsx from code and replace in original solution.
Any help would be appreciated.
Gaurav AgarwalWhere then this RunID is consumed?
Arthur My Blog
The RunID is set by the MasterPackage in a parameter, this parameter is used as value of derived column in the data transformation task of the ChildPackage.
As mentioned ChildPackage has a RunID column.
Gaurav Agarwal -
Error while running the package .
guys,
i created a transformation file is succesfully completed . when i run the package it is showing the error
like
immediate run error while creating to run the package on the server
<appserverurl>>!cdata(http://localhost/osoft></appserverurl
Thanks,
AjHi,
It looks like the server is sending the client an HTML file vs. the XML file it is expecting. Can you run a web trace on it like fiddler?
Cheers, Scott -
Error while running CONSOLIDATION package
Hi all
I am getting error message during CONSOLIDATION package run time and the error message has been attached as blow
EEROR:
sFileContent><![CDATA[]]></sFileContent><ErrorMsg><![CDATA[ Cannot find document/directory]]></ErrorMsg>
Thanks in advance for your help
RamanaHi,
Please check if the scriptlogic file is properly saved and it has the same name as in the data manger (data manger--> advance).
Try doing a validate and save on your logic file.
regrads
SSC -
Error while running import package
Hi,
Transformation file was validated successfully. But after running import package i am having following error on MS-BPC-7.0.
Invalid character in the given encoding. Line 1, position 1.
When i try validate and process trans file i am having the following error message. But same data file and same trans file was working till couple of days ago. After that whatever changes i have made to file, i did revert them to have it working like beofre.
Warning: Some records were rejected.
Rejected records reference either calculated members or invalid members.
Actually rejected record is only, one, but even other data was not loaded.
Thanks in advance for sharing your ideas or similar experiences.
Thanks,
KKHi,
There is definitely some problem with one of the records there. Do you have header? What is the delimiter? Do you have the same delimiter in the transformation file? You need to take a look at all the possibilities.
Hope this helps. -
Error While Running an Package in BPC 10
HI Experts,
while running an Package I am getting the Attached Error
I am not able to find the logs for that in the Backend
I have also attached the 2 POA profiles to the user in the back-end
Any inputs will be highly Appreciated
Regards
Bhupendra AryaHi Bhupi -
Go to SU53 T-code from the back end , you can find the authorization issues; It will clearly mention what authorizations are missing in Red.
Hope this helps!!! -
Error in running ownership package for COI
Dear BPC folks,
When we are running ownership package we are getting following error.
/CPMB/MODIFY completed in 0 seconds
/CPMB/OWNERSHIP_CALC completed in 0 seconds
/CPMB/CLEAR completed in 0 seconds
[Selection]
CALCOPTION= Yes
CALCACCOUNT=POWN
COPYMANUALACCOUNT= Yes
PROPOPTION=0,0,0,0
PROPACCOUNT=
(Member Selection)
C_CATEGORY1: C_100
TIME1: 2008.DEC
CONSGROUP: G_CG1
[Messages]
More than one holding company found. Category: C_100, Time: 2008.DEC, Group: G_CG2
Application: OWNERSHIP Package status: ERROR
Could someone guide on this issue?
Appreciating Answers,
Regards,
Sudhakar.Hi Sudhakar,
I have come across this forum link which is similar to OWNERSHIP issue you posted.
Please go through it once and revert if this is of some assistance
Lega consolidation package error
Best Regards,
Chakra Pani -
Error when running MakeDim package
Hi there,
I have a really annoying problem with the Admin_MakeDim package in the Examples folder of BPC.
We have a Data Services process which is populating a staging table which is an exact duplicate of the mbrAccount table. When I run the makedim package to create my dimension from this staging table I don't get any member errors (I did but I fixed them), but I still get this message:
"Operation is not allowed when the object is closed. : Location (bCheckMemberIsInsertedMidel)
Location (adoCheckUniqueID)"
I've searched on the forum, and in the SAP notes, and I came across these SAP notes, which seemed to be relevant:
1101613
1099136
1101529
1099135
1107441
1102829
However, none of these solutions has helped.
Has anyone else found and fixed this problem? We are on BPC for MS 7 sp7, on SQL Server 2005.
Thanks very much in advance,
JasonHi Jason,
have you seen also these notes
http://service.sap.com/sap/support/notes/1704468
http://service.sap.com/sap/support/notes/1447125
you wrote note 1099136, you mean 1099135, correct?
check also the message in google you will found a lot of messages and maybe one could be useful.
Kind regards
Roberto -
Why am I getting Installation Failed error when running Install package?
Enterprise license holder here. Mac. I've installed ccplauncher, run it, and am now trying to run the Install.pkg. I'm getting an error:
Already tried running disc permissions, still nothing. Erased all old versions of CS (5, 5.5, 6) from my HD using AppCleaner so no resources or plists left behind before installing CC.Jeff,
You may want to use /Utilities/Console and look at /Library/Logs/Adobe/Installers to see where the failure is actually occurring. Even though it's one install package, it's installing each application in sequence. If only one fails (and all the others succeed) you'll still see the message you received. There can be a lot in the logs, but you can use the Spotlight field to filter out the lines with "return code." Anything other than "0" (zero) indicates something that didn't complete. You can also look for words like "error" or "fail".
There are a bunch of things that can cause an error. I've sometimes had a problem with packages that include a lot of updates but rebuilding them seemed to fix it. Finding out exactly where the error is happening is a big help when you contact support.
I realize this isn't a solution, but hope it helps.
Ric -
Error while running info package
Hi,
I am getting a error while loading the data till PSA.
Transfer structure field not contained in the data source.
Please suggest if any one know the solution to resolve this.
Regards,
HarithaHi,
The error is coming because you added some fields in communication structure which are not available in data source. Probably you have enhanced the data source and you added the enhanced object in communication structure but data source is not replicated to match with enhanced data filed.
Regards,
Kams -
Error when running DBMS_STATS package
Hi all.
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
PL/SQL Release 9.2.0.4.0 - Production
CORE 9.2.0.3.0 Production
TNS for Solaris: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production
I am trying to gather schema stats using dbms_stats package and I see the following:
SQL> BEGIN DBMS_STATS.gather_schema_stats('SYSADM');
2 END;
3 /
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file G534513-1004.txt in EXT_WINDIR not found
ORA-06512: at "SYS.DBMS_STATS", line 9375
ORA-06512: at "SYS.DBMS_STATS", line 9857
ORA-06512: at "SYS.DBMS_STATS", line 10041
ORA-06512: at "SYS.DBMS_STATS", line 10095
ORA-06512: at "SYS.DBMS_STATS", line 10072
ORA-06512: at line 1
The directory exists but the file is long gone. How can I get around this error?
ThanksSee if this helps,
ERROR WITH EXTERNAL TABLE
HTH
Aman.... -
Privilege error while running dbms_wm package
Hi,
I just built an database server with window 2003, oracle 10.1.0.4 with 10.1.0.2 version of oracle workspace manager. I imported my database (with the same DB versions) however I'm not able to execute the dbms_wm commands. My test user has the wm_admin_role and is able to enable and disable versioning however, I can not create a workspace. I get the following error when I attempt to run dbms_wm.GrantSystemPriv logged in as any DBA user with wm_admin_role:
ora-20076: insufficient privileges to grant priv_ANY_WORKSPACE
ora-06512: at "SYS.LTPRIV"
ora-06512: at "SYS.LTPRIV"
ora-06512: at "SYS.LT"
I am able to select dbms_wm.getworkspace from dual and 'LIVE' workspace is returned. However, if I attempt to run dbms_wm.gotoworkspace('LIVE') it returns
ora-20122: workspace 'LIVE' does not exist
Any info is greatly appreciated...
TCTHi,
Were there any versioned tables in the original database that were being imported into your new database ? I can't say for sure based on the information that you provided, but I would guess that something happened during the import that left the database and/or workspace manager in an incompatible state. The fact that you can not even goto the LIVE workspace suggests that the basic metadata needed by Workspace Manager to function properly is not present.
If you are not importing any versioned tables into your new database, you may also be able to fix this by uninstalling workspace manager, and then reinstalling it.
If that is not possible, I would suggest filing a TAR on this as they would be better able to collect the necessary information needed to resolve the issue. This would include a log of the export/import as well as a trace of the GrantSystemPriv, GotoWorkspace procedures.
Regards,
Ben -
Error while running UTL_MAIL package
SQL> conn system/sys@ORCL;
Connected.
SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\utlmail.sql
Package created.
Synonym created.
SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\prvtmail.plb
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY UTL_MAIL:
LINE/COL ERROR
319/5 PL/SQL: SQL Statement ignored
320/10 PL/SQL: ORA-00942: table or view does not exist
325/7 PL/SQL: SQL Statement ignored
326/12 PL/SQL: ORA-00942: table or view does not exist
Can any help on this?SQL> conn sys/sys@ORCL as SYSDBA;
Connected.
SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\utlmail.sql
Package created.
Synonym created.
SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\prvtmail.plb
Package body created.
No errors.
SQL> GRANT execute ON utl_mail TO NIKHIL;
Grant succeeded.
SQL> disc
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> conn NIKHIL/NIKHIL@ORCL;
Connected.
SQL> ALTER SYSTEM SET smtp_out_server='72.167.238.201';
System altered.
SQL> DECLARE
2
3 vSender VARCHAR2(30) := '[email protected]';
4
5 vRecip VARCHAR2(30) := '[email protected]';
6
7 vSubj VARCHAR2(50) := 'Enter the subject here';
8
9 vMesg VARCHAR2(4000) := 'Enter the body';
10
11 vMType VARCHAR2(30) := 'text/plain; charset=us-ascii';
12
13 BEGIN
14
15 utl_mail.send(vSender, vRecip, NULL, NULL, vSubj, vMesg, vMType, NULL);
16
17 END;
18 /
DECLARE
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 97
ORA-06512: at "SYS.UTL_SMTP", line 139
ORA-06512: at "SYS.UTL_MAIL", line 405
ORA-06512: at "SYS.UTL_MAIL", line 594
ORA-06512: at line 15
mycmpny-- got some value which i have removed. -
Generic error when running a report
Hi
I am running 3 BI publisher reports on a recently set up installation of Siebel.
On previous installations all 3 reports worked ok but now when I try to run one of them I get the messager:
'This operation is not allowed when there are no records displayed. Please execute a query that returns at least one record or add a new record.(SBL-DAT-00215)'
The other 2 work fine.
I've registered all 3 in exactly the same way. Any ideas what the problem could be?
thanksHi
Im not familiar enough with the Siebel implementation to comment intelligently. I think I would recommend that you log an SR with support and get some official help. I assume the datasources are generating rows of data?
Regards
Tim
Maybe you are looking for
-
My Classic iPod has issues. Briefly: It no longer syncs with iTunes, in fact it causes it to crash. It will mount on the desktop if iTunes isn't running (I can access the drive through the Finder, and the iPod itself works fine). I've tried all the u
-
How can i insert more clob objects into oracle9i?
my env: os: windows server 2003 ent sp2 php:=5.2.3 oracle : 9.0.0.8 i look at this article : http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_lobs.html but ,i want insert two clob into the oracle .... Inserting a LOB To INSERT
-
Firefox No longer Loads - Profile Missing - Mac OS Mavericks
I have Mac OS Mavericks 10.9 I attempted to run Firefox, and I got the error "Your Firefox profile cannot be loaded. It may be missing or inaccessible." I read through the documentation, and I uninstalled Firefox, I also removed the profile. /Applica
-
I downloaded Trial version of Photoshop CS 6 - Now it has expired , i don't have serial key . Is there any way I still can use Photoshop Cs 6 ?
-
Email always copies itself when sent
Everytime i send an email (using gmail) it always sends a copy back to me. I checked the settings and the CC all sent messages to self is turned off. Also, ive made sure the CC line is empty. Anyone else experiencing this? Perhaps there is something