Error in Oracle BI EE Analytics when running a direct database request
This is in the Oracle Answers portion of the Analytics tool. When a query is entered into the Direct Database Query text box and the "Validate SQL and Retrieve Columns" button is clicked, the columns are indeed returned (which would seem to indicate that the connection pool settings are correct etc.), but when I click on the results tab it throws an error:
View Display Error
Error generating view. You don't currently have the necessary privileges to execute Direct Database Requests.
Error Details
Error Codes: OAMP2OPY:Q4NU7XSN
Invalid Handle Of 'class saw::NQWebView *' Exception
I am at a loss trying to figure this error out - clearly it is connected to the DB since it can see column names, and I was able to use the Administration tool to create a repository which Analytics can use, so why can't I directly query my database? Any help would be greatly appreciated.
It sounds like the setting has not been set to allow you to execute a direct database query.
You can do this by logging into the Presentation services as the Administrator user. Clicking on the Settings tab and then selecting the Administration option. On the Oracle BI Presentation Services Administration window select the Manage Privileges option. This brings up the Privileges Administration window, scroll down to the Answers section (listed on the left) and check the Execute Direct Database Requests privilege setting this is defaulted to let no one execute Direct SQL request. Reset the privileges such that the group that the user trying to execute the direct database request belongs to is set to be able to execute the direct database requests. This should alleviate the error that you are getting.
I hope that this helps.
Tim
Similar Messages
-
Error 45 Initializing In SQL*Plus When Running A Sql Script
Hi All
I have a daily scheduled jobs running on Windows server 2003 and 2008. Oracle Version :10.2.0.1 and 10.2.0.4
right now jobs are not even starting when i run them manually. Found the error Error 45 Initializing In SQL*Plus When Running A Sql Script.
it says Bug:3039738.
what is the solution to fix this Bug ?
thanks
Shawnuser9174724 wrote:
Hi
do you think the Problem is not with the script ?
when i run the job its reaching SQLPLUS and giving error
Error 45 Initializing In SQL*Plus When Running A Sql Script .
Server:windows 2003 and oracle version :10.2.0.1
CMD /C %ORACLE_HOME_PRIME%\bin\sqlplus.exe /NOLOG @ %xxxx_HOME%\DBA_Backup\BackupDo.sql testdb BackupFull
The above line does the following:
1) launches a command procesor
2) passes that command processor the following command line parms:
/C
(process the following command, then terminate)
%ORACLE_HOME_PRIME%\bin\sqlplus.exe
the launched processor will process the executable 'sqlplus.exe' found in the \bin subdirectory, found in the directory indicated by the environment variable ' ORACLE_HOME_PRIME'. The remainder of the command line will be passed to sqlplus.exe for interpretation and processing
/NOLOG
tell sqlplus to start up without trying to immediately log on to a database
typically used to indicate to sqlplus that the immediately following string names a file of sql and sqlplus commands to be processed.
%xxxx_HOME%\DBA_Backup\BackupDo.sql
tell sqlplus to execute the commands found in the file 'BackupDo.sql', found in the subdirectory DBA_Backup, found in the directory name by the environment variable 'xxxx_HOME'.
testdb
BackupFull
pass the values 'testdb' and 'BackupFull' to be used as values for substitution variables &1 and &2 in the file 'BackupDo.sql'
Script:
rmanbackup.rman
BACKUP AS COMPRESSED BACKUPSET DATABASE FORCE PLUS ARCHIVELOG;
DELETE NOPROMPT ARCHIVELOG ALL BACKED UP 2 TIMES TO DEVICE TYPE DISK;
LIST BACKUP SUMMARY;
LIST BACKUP;
EXIT;I don't know what you expect of this. It is an rman script and we've seen no sign of an rman script being executed in any of what you've shown us. RMAN commands are processed by rman, not sqlplus.
Unfortunately, you didn't think showing us the contents of BackupDo.sql was of any value in finding out what your problem was.
Edited by: EdStevens on Jul 11, 2011 7:58 PM -
How to solve the error "The specified resource is reserved" when running with DAQmx And LabVIEW?
I hate "J term"
OK I love the learning the students get. And, I like helping them out! But, as a former man who's got the varicose viens to prove he's spent time "behind the podium" (yeah, "behind the podium" puts 'em to sleep- songs and dances for the young'uns) come on! USE the tools you teach!
Instructors invited to engage in the forums
Jeff -
Obiee Answers Direct database request error
Hi,
I am learning obiee 10/g and installed 10g version on my laptop.
when i tried to run the query in Answers through "direct database request"
connection pool is > "SH"."Connection Pool"
Sql statement is > Select * from Channels
When i clicked on "validate sql and retrieve columns" button i get the below error
error : Odbc driver returned an error (SQLExecDirectW).
error : [nQSError: 16001] ODBC error state: S0002 code: 942 message: [Oracle][ODBC][Ora]ORA-00942: table or view does not exist. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
error : SQL Issued: {call NQSGetQueryColumnInfo('EXECUTE PHYSICAL CONNECTION POOL "SH"."Connection Pool" SELECT * FROM Channels')}
What could be the issue ... Please advise
Thank YouHi,
The channels table is in the database schema ..because i am able to drag the columns from channels table in answers and veiw the results.
when the query runs through the RPD it works fine .
but when i run the query using direct database request feature of answers...I see the error. -
Direct Database Request Execution Error
Hi,
Iam working with Database Direct Request to execute a stored procedure. When I hav given the commad and clicked on 'Validate SQL and Retrieve columns' it is showing all the columns below. But when I click on "Results" tab it is giving me an error like
"Error generating view. You don't currently have the necessary privileges to execute Direct Database Requests"
I logged in to OBIEE (Web) as an 'Administrator'.
What other permissions do an Administrator need in order to resolve the above issue?Try with Evaluate function
http://oracle-bi.siebelunleashed.com/articles/callingdb-function-in-obiee/
Syntax for Evaluate function in OBIEE
Check connection pool- properties -- there you can call your procedures
Edited by: MK on Jan 20, 2012 3:39 AM -
Direct Database Request Error: illegal number at oci
Hello, all.
In Oracle BI Answers i get an error by building an direct database request: illegal number at oci.....
The reason of error is in expression to_char((date_1-date_2)*24, '9990.99')
The error disappears if i write expression to_char((date_1-date_2)/*24*/, '9990.99')
BI doesn`t understand multiplying in SQl request?Hi,
Couple of suggestions :
1) Run your direct database queries in a SQL editor (SQL Developer, TOAD, SQLplus) etc to confirm the query runs OK - be carefull with Toad or SQL Dev - you want to return the entire dataset, not just the first xxxxK rows these tools tend to bring back, they sometimes hide the problem 'row' which maybe is causing the error.
2) Once the error is returned via straight up SQL , maybe try the database / SQL forum as your problem I think lies there, not with the BI Server.
3) My one stop shop for Oracle date arithmetic : http://www.akadia.com/services/ora_date_time.html
4) assuming the SQL returns correctly, report back to us so we can help with OBIEE specific issues !
what time period are you trying to bring back between your date 1 and date 2 ?
Hope this helps a little,
Alastair -
Querying Essbase text measures via Oracle BI direct database request
Hi,
There is a text measure in an Essbase database. The same MDX query shows text values when executed directly in Essbase or in SmartView and numeric codes when executed via Oracle BI Direct Database Request interface.
Is it possible to show text values in OBIEE?
(Versions: Oracle BI 10.1.3.4 & Essbase 11.1.1.2)
Thanks in advance and best regardsI'm sorry if my description looks cryptic.
There are no problems with alias tables or SmartView., I'll try to explain the problem better.
In Essbase there is a text measure "Code" and a text list "Code_Values" which contains text values for this measure:
1 - AA
2 - BB
3 - CC
4 - DD
Let there be an MDX query 'SELECT ON COLUMNS, [DIM1].Members ON ROWS FROM [APP].[DB]'.
When such query is run in Essbase Administration Services Console, it returns the following table, which is the desired behaviour:
DIM1 Code
0100 AA
0200 BB
0300 CC
0400 DD
When it is run as a Direct Database Request in Oracle BI Answers, it returns only numeric values, but not the text values from "Code_Values":
DIM1 Code
0100 1
0200 2
0300 3
0400 4
So, the question is: is there any way to achieve desired behaviour using Oracle BI Answers?
Edited by: WxD on 17.08.2009 17:42 -
Error executing Direct Database Requests through Administrator logon
Hi,
I am logged on through username: Administrator in BI Answer.
Still, unable to execute Direct Database Requests in OBIEE Answer.
I am getting the below error in Result tab:
Error generating view. You don't currently have the necessary privileges to execute Direct Database Requests.
Error Details
Error Codes: OAMP2OPY:Q4NU7XSN
Please suggest.
Regards,
DeebaPresentation Server Administrators were not having permission to execute data direct request.
I granted permission by the following change in setting in BI Answer:
Settings>Administration>Manage Privileges>Answers>Execute Direct Database Requests> Added Presentation Server Administrators.
Regards. -
Errors in Livecache when running a "check database structure"
Helleo, i have the following error messages when i do a check database structure of our QA Livecache environment :
DBA Action starts:
Timestamp: 20090406141745 Function: cdb Object: DATABASE
VERIFY command:
check data
VERIFY result:
ERR
-24988,ERR_SQL: SQL error
-9053,〰〰〰〰〰〰〰〰〰〳
17,Servertask Info: because b01pverify_participant() failed
10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
17,Servertask Info: because b01pverify_participant() failed
10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
17,Servertask Info: because b01pverify_participant() failed
10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
DBA Action ends:
Timestamp: 20090406141753 State: Failure
ANd i have the same result whether i run it from DB13 or from the database managerIs there a way to run the check database with a repair option ? How can i fix this ?
Thanks for your help.
Y.
Edited by: Youssef ANEGAY on Apr 6, 2009 3:59 PM> I guess i'll have no choice but to restore the database ...
Yes - most like that will be the case
But before you do that, I'd check the hardware also (drivers, firmware, OS patches etc.). If the system is connected to a SAN I would also check the logs of that.
Markus -
"Error determining planning periods for calendar " when running a program
Hi,
When i am running a program with date range say "01/05/2011" to "30/06/2011",the program is executing successfully without any error. When i am executing the same program with date range as a) "01/05/2009" to "30/06/2011" and b)"01/05/2008" to "30/06/2011" the program is failing with error as "Error determining planning periods for calendar". Can anyone suggest me what i should do to avoid the failure of the program with above date ranges also.
Thanks in advance,Dear,
Error message 61123:"Error determining planning periods for calendar &".The PPC planning calendar specified in the material master MRP 2 view for the material is incorrectly.
The planning calendar periods are insufficiently maintained for the planning calendar used.
Check the period of planning calendar in MD26 and generate the correct period.You can avoid the problem in several ways:
Maintain the planning calendar far enough in the future (at least until beyond the end of the planning horizon).
Also check any demand is lies beyond the validity period of planning calendar.
Reduction of the planning horizon of MRP also can control such issue, as MRP planning horizon lies in an area in which the planning calendar is no longer maintained
Regards,
R.Brahmankar -
An error occurred in the source system when running infopackage
Hello,
I am using 0CO_PC_PCP_03 (Product Cost Planning: Itemizations Costing) and cube 0COPC_C10 (Exploded Itemization) in BI. RSA3 extractor checker shows that there is data if you put in a period.But as soon as I run the infopackage I get error :
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Service API .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
And i did put in the period in the internal formatfor FROM and TO in the selection tab on the infopakand but I am still getting the same error.
And when i go into details it gives me " Error occurred in the data selection "
Please assist
ThanksI followed what you & Tarun advised and it shows the job as finished.Also this is what the log read:
Date Time Message
04/03/2009 12:49:29 Job started
04/03/2009 12:49:29 Step 001 started (program SBIE0001, variant &0000000000160, user ID DEVERP100)
04/03/2009 12:49:29 Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
04/03/2009 12:49:29 DATASOURCE = 0CO_PC_PCP_03
04/03/2009 12:49:29 RLOGSYS = DEVBI100
04/03/2009 12:49:29 REQUNR = REQU_4DCA7N474P53QS8FJQ0RAKOW5
04/03/2009 12:49:29 UPDMODE = F
04/03/2009 12:49:29 LANGUAGES = *
04/03/2009 12:49:29 *************************************************************************
04/03/2009 12:49:29 * Current Values for Selected Profile Parameters *
04/03/2009 12:49:29 *************************************************************************
04/03/2009 12:49:29 * abap/heap_area_nondia......... 2000683008 *
04/03/2009 12:49:29 * abap/heap_area_total.......... 2000683008 *
04/03/2009 12:49:29 * abap/heaplimit................ 40894464 *
04/03/2009 12:49:29 * zcsa/installed_languages...... 1NEFDIJLPS *
04/03/2009 12:49:29 * zcsa/system_language.......... E *
04/03/2009 12:49:29 * ztta/max_memreq_MB............ 2047 *
04/03/2009 12:49:29 * ztta/roll_area................ 3000320 *
04/03/2009 12:49:29 * ztta/roll_extension........... 2000683008 *
04/03/2009 12:49:29 *************************************************************************
04/03/2009 12:49:29 Synchronized transmission of info IDoc 3 (1 parallel tasks)
04/03/2009 12:49:29 IDOC: Info IDoc 3, IDoc No. 6812, Duration 00:00:00
04/03/2009 12:49:29 IDoc: Start = 04/03/2009 12:49:29, End = 04/03/2009 12:49:29
04/03/2009 12:49:29 Job finished -
Oracle 11i forms crash when run on Windows 7 using IE 8 or IE 9
I am trying to run oracle apps form on my windows 7 pc using ie 8 or ie 9. But the browser crashes whenever I try to open the form. I am using Oracle EBS version 11.5 and Jinitiator version 1.3.1.18. I tried replacing the jvm.dll file in Jinitiator with that of my JRE 1.6 update 27 but it did not work.
958144 wrote:
I have JRE 1.6 update 27 enabled on my system.Is it on the application server? If yes, please uninstall it from your client and open the application again (you will be prompted to download/install JRE) and check then.
If you still cannot open forms, please make sure you add the application URL to the trusted sites list and disable pop-up blockers.
If you still have the same issue, please check JRE console window for any errors -- How To View The Java Console And Enable Tracing For Sun JRE (Native Plug-in) [ID 452853.1]
Thanks,
Hussein -
Oracle Report Font problem when run report from oracle EBS R12
Dear All
I have developed one Report in ORACLE REPORT BUILDER in windows environment. I see the output of that report, its ok, I deployed it on the EBS R12 which is on Linux environment, when i see the output, its fonts totally change and due to change in fonts, output not same as like in previous stage. When i print from dot matrix Printer then sometime its shrink the character and sometime break the output..
Kindly help me in this regard, because this problem i am facing from last few days.
i am waiting for your quick response.
Thanks in advance....
Regards,
Nawaz
Edited by: Haq Nawaz on Nov 5, 2012 11:45 AMThank you very much for your reply
I have changed the fonts in the report, but when i run it from the EBS its has the same problem. from the EBS output font look like as (COURIER) rather than CALIBRI WESTERN.
tell me what i have to change anything. -
I've got the J1939 protocol up and running on
Labview 8.5... though when I create an executable it gives me these
following errors upon start-up...see jpg.
Is this related to something I need to include withint the Build? or Installer?
Also, why is it that when I go to include the NI 2.6.3 CAN installer within the Installer EXE, that it asks for a CRIO disk?
Thanks...Hey Jonathanupr,
It looks to me like you did not configure your LabVIEW Executable's build specifications appropriately. Please go back and check the specifications to make sure that you've included your higher-level VI and all of the sub-VIs used in the J1939 protocol download (I'm assuming you downloaded the libraries from our website) in the project. Then, within your Build Specification, make sure your higher-level VI is included in the Startup VIs section on the Source Files tab and the J1939 library files are included in the "Always Included" portion of the Source Files tab.
If your CAN driver is asking for the cRIO disk, it could be associating that with the original download location of the driver. You could try first uninstalling the driver, then download the driver to a location on your hard disk (either from our website or from your CD). After installing the driver from a hard-disk location, the driver should no longer be associated with a CD, but with the location on your hard disk.
Here are two KnowledgeBase Articles that talk about this issue.
KB 3S88PJMY: Why do I get a "Missing Distribution" or "Distributions Needed" Error When Trying to Bu...
KB 3TCBS9MY: How do I Stop the Missing Distribution Notification Each Time I Build an Installer?
Derrick S.
Product Manager
NI DIAdem
National Instruments -
ERROR in oracle/oc4j referential integrit when separate client.jar/ejb.ear
When I publish the container ejb.ear in other server and call the client for delete an table that have child the oracle does not show the message exception like that:
javax.ejb.EJBException: Database error: ORA-02292: integrity constraint (LUIS.FK_FILIAL_FILIAL_EM_EMPRESAS) violated - child record found
; nested exception is: java.sql.SQLException: ORA-02292: integrity constraint (LUIS.FK_FILIAL_FILIAL_EM_EMPRESAS) violated - child record found
It delete the registry in table to pk and the fk is updated to "".Is your new project trying to access the database?
SQL error: Io exception: The Network Adapter could not establish the connection
Seems to indicate that you have a problem accessing the database probably due to wrong settings of the database connection information.
Also check your data-sources.xml file for any new entries.
Maybe you are looking for
-
I cannot print to pdf using acrobat 8 on windows 7 64bit
I recently upgraded to windows 7 and have installed CS3 (Acrobat 8). Whenever I try to print a document to PDF it gets stuck in the print que and has an error printing.
-
How to incorporate File name and timestamp automatically into select and save file dialog box?
Hello, i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help? Thanks Solved! Go to Solution.
-
Access regression status field in bugdb
Hello: We are writing an application to create/edit a bug on Oracle BugDB. We found regression status is a field in RPTHEAD and its values are in table bug_lookups. There are some state logic for that field. When the current value is empty, its drop
-
Can't convert an ArrayList into a Double
I have this TXT file with some data that i read and insert it to an arraylist then i want to pass the data in to several variables but i keep getting an error when i convert it to double. TXT file: volvo 200000 0.7 2000 Mercedes 500000 1.0 1000 Fiat
-
Cannot get HP USB Hybrid TV Tuner to work properly or al all
Purchased HP Pavillion dv7-3188cl laptop because I believed it would allow me to record TV programs. That was 3 weeks ago. Then ordered the TV Tuner which arrived about 2 weks ago. Had much trouble during tuner setup/install process which MAY have m