Admin API Error

I am attempting to use the Admin API to add a user to
coldfusion. However when I call the setUser method and pass in a
username and password I get the error "The USERNAME parameter to
the setUser function is required but was not passed in." The call
to the setUser method is below. can anyone see why this might be
failing? I have even tried hard-coding the values and it still
gives the error.
<cfinvoke component="cfide.adminapi.security"
method="setUser" UserName="#ARGUMENTS.newuser#"
password="#ARGUMENTS.newuserpassword#">

I suspect that because cfinvoke has attributes for username
and password that you need to specify these values in
cfinvokeargument tags.
See code.

Similar Messages

  • Unable to use Datasource.cfc in Admin API - The current user is not authorized to invoke this method

    Hi Everyone,
    I am having some issues accessing the methods in the datasource.cfc in the adminAPI.
    I can successfully load the administrator CFC and am told that I have successsfuly logged in;
    But when I try to subsequently load the datasource.cfc I get an error that the current user is unable to access the method.
    /* Create an Admin API object and call the login method */
                                                      var local = {};
                                                      local.adminObj = createObject("component", "cfide.adminapi.administrator");
                                                      /* Enter your password for the CF Admin */
      /* if you dump this - TRUE is returned */
                                                      local.adminObj.login(adminPassword="my_admin_user_password");
                                                      /* Create an object of datasource component */
                                                      local.dsnObj = createObject("component", "cfide.adminapi.datasource");
      writeDump(local.dsnObj.getDataSources());
    I tried creating separate admin users and passwords - yhinking that perhaps a revent hotfix had stopped the "admin" user from being allowed to use the adminAPI - but changing to a new adminuser yielded the same results.
    I could login to the admin API with the new username and passsword - but could not access the datasource.cfc after that.
    Here is the debug output from the error...
    The current user is not authorized to invoke this method.
    The error occurred in accessmanager.cfc: line 48
    Called from datasource.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 155
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 45
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 1
    -1 : Unable to display error's location in a CFML template.
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    22-Apr-13 01:09 PM
    Stack Trace
    at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:/cf10_final/cfusion/wwwro ot/CFIDE/adminapi/accessmanager.cfc:48) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:/cf10_final/cfusion/wwwroot/ CFIDE/adminapi/datasource.cfc:52) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:/inetpub/wwwroot/projectD ir/trunk/Application.cfc:155) at cfApplication2ecfc498167235$funcINIT.runFunction(C:/inetpub/wwwroot/projectDir/trunk/Appl ication.cfc:52) at cfApplication2ecfc498167235._factor5(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: 45) at cfApplication2ecfc498167235.runPage(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc:1 )
    coldfusion.runtime.CustomException: The current user is not authorized to invoke this method. at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799) at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\accessmanager.cfc:48) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\datasource.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:155) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235$funcINIT.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235._factor5(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:45) at cfApplication2ecfc498167235.runPage(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:538) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:234) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:159) at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:120) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:138) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:84) at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:232) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    And here is the listed exceptions, beneath the stack trace;
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - java.io.FileNotFoundException - in C:/ColdFusion10/cfusion/wwwroot/WEB-INF/exception/errorcontext.cfm : line 44
             E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc (The system cannot find the path specified)
    This perspn seems to be having the same issue;
    http://forums.adobe.com/message/5051892
    and I agree I don't have "E" drive either!

    I've found a solution to my plight - I don't know if it'll work for you or help you try something that MAY fix it.
    I use a common code set which includes the Application.cfc from a CF Mapping - So, in the application.cfc in the actual website I do this:-
    <cfinclude template="/UberDirectory/Application.cfc">
    Then, in the /UberDirectory/Application.cfc, I was initialising a CFC which checks if the datasource was created for the website. The datasource checking code attempts to log into the Admin API and check & create if necessary the datasource.
    This has previously worked without fail for me - But in this instance it failed!! I was doing two things wrong - Firstly, the CFC should only be called in the Application.cfc in the onRequestStart section as the Application had to be initialised first - This is maybe because I've invoked the application.cfc in a "non-standard" manner.
    Secondly, once I'd moved the CFC invocation into oNRequestStart I saw the following error:-
    The string COOKIE.CFAUTHORIZATION_uber-directory is not a valid ColdFusion variable name.
    I had this as the app name .... <cfset this.name = 'uber-directory'>
    Changedthe dash to an underscore and I was away and could once again check the datasources
    Hope it helps
    Martin

  • Admin api from the fms server

    Hi,
    i've never had to do this before so i guess i didn't realize that it's this hard, but is true that you can't call the admin api from the server-side?
    even from the Client object??
    also, i have objects in my cache from two different applications on my server and yet my info.data object in the result is coming back
    without any values.
    can someone explain how this is supposed to work...below is my code
    nc_admin.connect("rtmp://localhost/admin:1111/", "admin", "admin");
    onStatus(info){
         function onGetCacheStats(){
              this.onResult = function(info){
                   if(info.code == "NetConnection.Call.Success"){
                        for(var prop in info.data.objects){
                             trace("data object props: "+ info.data.objects[prop] + " prop: " + prop );
                             for(var dat in info.data.objects[prop] ){
                                  trace("data pbj value: "+ info.data.objects[prop][dat] + " dat: "+ dat);
         }//onGetCacheStats
         if(info.code == "NetConnection.Connect.Success"){
              this.call("getFileCacheStats", new onGetCacheStats, true);
    thanks much!

    You can try this code (wrote is fast so please check for errors if any)
    admin_nc = new NetConnection();
    admin_nc.onStatus = function(info) {
    if (info.code == "NetConnection.Connect.Success")
    admin_nc.call("getServerStats", new Result());
    function Result() {
    this.onResult = function(info) {
    if (info.code == "NetConnection.Call.Success" ){
    //your code
    admin_nc.connect("rtmp://<serveruri>:1111/admin","admin","admin");

  • Where can I find Consolidator Admin API  samples ?

    I want to use Consolidator Admin API and read in the Docs the following sentence:
    The Java source files samples_o8.java and samples_08ex.java contain samples that demonstrate the use of the Consolidator API.
    Can anybody tell me where the are located ?

    I am knew to the Oracle world, and I am strugling with the very scanty, and often misleading or inaccurate documentation. So I understnd your frustration.
    Recently I have posted some sample code, and statements on the OracleLite forum under the name Thomas G. Matney, that should be of help to you. The code is not bullet proof yet, but it is improving each day as I discover how the ConsolidatorManager, and ResourceManager functions work the hard way, by trial and error. It sure woul be nice if the documnetation was not so laconic.
    Good luck. I hope the code I have posted helps. Look first at the code at the download site http://Yggdrasill.cfr.msstate.edu:7778/SyncProblem.htm. Also look for my statement that the MGP must be running, I think, for replication to work correctly.
    I should have a significantly improved version of my Publish.java code in a few daya. I am also working an Unpublish.java program to programatically delete a publication created by the Publish.java program. The Unpublish.java code will be available next week (September 3) after I return to Mississippi from Utah.
    I hope the code helps. Let me know if it does. The publication wizard is confusing, and does not work for me.
    The download also contains an Embedded VC++ program for initiating replication from a Windows CE device.
    Thomas G. Matney
    [email protected]
    (662)325-2791

  • Admin api - getLiveStreams showing duplicate streams.

    I'm calling the FMS 4.5.2 admin api method getLiveStreams for an application instance but it seems to return a duplicate entry for each stream.
    Is this normal behavior or a bug? My results from the call are below. I'm encoding and pushing 4 streams to the server but it shows 8 streams.
    <?xml version="1.0" encoding="utf-8" ?>
    - <result>
    <level>status</level>
    <code>NetConnection.Call.Success</code>
    <timestamp>8/8/2013 10:39:12 AM</timestamp>
    <name>_defaultRoot_:_defaultVHost_:::_0</name>
    - <data>
    <_0>mbhsstream1</_0>
    <_1>mbhsstream2</_1>
    <_2>mbhsstream3</_2>
    <_3>mbhsstream4</_3>
    <_4>mbhsstream1</_4>
    <_5>mbhsstream2</_5>
    <_6>mbhsstream3</_6>
    <_7>mbhsstream4</_7>
    </data>
    </result>

    I am not sure how your linked post should help me. I have no problem connecting as an administrator to our own service.
    My question is can I play streams through this administrator connection on port 1111, or like now, I have to keep a separate connection to the application in order to play application's streams?
    I do NOT want to connect to the application, because I then am forced to become one of its "users", even though I am not - I am an admin. Even though I have implemented roles with my application server side script, whereas users connect with a bunch of parameters, I can connect with another role - as an admin, without parameters (because they do not apply to me since I only use the service for playing streams). Another reason is actually pretty annoying - even though I explicitly specify video sample access permission for both myself and any user that connects (in order to be able to take snapshots of the videos) using the "videoSampleAccess = '/'" expression, occasionally I STILL get security errors. I imagine if I somehow can bypass the security altogether. After all it is our server, and our users know that we need to monitor for unsuitable content. FMS makes it pretty hard to do so with the error listed above. The error is sporadic.
    So I will ask again - can I play any stream I want of any application on my server, without connecting to the application instance as a regular user bound to security rules? I need some form of video administration, and I am NOT using Administration console, but a custom admin. application which does more than Admin console does, in particular kick out bad people.

  • Admin api - correct url syntax to getUsers for an event instance.

    I'm trying to use the admin api to call the function getUsers() and I'm not sure of the correct URL syntax. I want to return the number of users currently connected to an event instance. Could someone provide an example of what the URL connection string would look like?
    I tried the following syntax
    http://localhost:1111/admin/getUsers?auser=USER&apswd=PASSWORD&appInst=livepkgr/_definst_/ myEvent
    but it returns this error message.
    <?xml version="1.0" encoding="UTF-8"?>
    -<result>
    <level>error</level>
    <code>NetConnection.Admin.CommandFailed</code>
    <timestamp>10/26/2012 8:06:23 AM</timestamp>
    </result>
    >>>>>>>>>>>>>>>>>>>>>>>>
    I can successfully use the ping command: http://localhost:1111/admin/ping?auser=USER&apswd=PASSWORD
    <?xml version="1.0" encoding="UTF-8"?>
    -<result>
    <level>status</level>
    <code>NetConnection.Call.Success</code>
    <timestamp>10/26/2012 8:12:51 AM</timestamp>
    </result>
    In my FMS.ini file I do have  USERS.HTTPCOMMAND_ALLOW = true
    In my USERS.xml file I have
    <HTTPCommands>
                <Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
                <Allow>ping,getUsers,getUserStats,getServerStats</Allow>
                <Deny></Deny>
                <Order>Deny,Allow</Order>
    </HTTPCommands>
    Thanks!

    I found the problem. I wasn't putting quotes around the application/instance name value.
    http://localhost:1111/admin/getUsers?auser=USER&apswd=PASSWORD&appInst ="livepkgr/_definst_""
    Did the trick. Question though will this identify the number of client connections over http in addition to rtmp?
    Thanks Again!

  • DI API error while adding AP Invoice (Using serial Nos.)

    Hi,
    Im getting the following DI API error when adding an AP Invoice which has serial numbers and i cant seem to find any logical fault in the code.
    " [PCH1.WhsCode][line: 4] , 'This entry already exists in the following tables (ODBC -2035) "
    If anybody has encountered this error and found a solution kindly let me know.

    Hi Vivek,
    Are you trying to add same document number, serial number or so on?
    "entry exist " means like "duplicate key problem", I guess.
    Basically, whscode column in PCH1 table allows duplicating.
    So, I think serial number is duplicated among same item code.
    Hope this useful for you.
    Regards,
    Hyunil Choi.

  • Logging settings via CF Admin API

    G'day
    I've never needed to use the CF Administrator API before
    today. Strange
    but true.
    So I'm taking a look at it. The implementation seems
    incomplete, unless
    I'm missing something (entirely likely: the docs are a bit
    light-weight).
    Is there any way to access the functionality of the "Log
    Files" page via
    the API?
    Also, is there any way of persisting the authenticated
    administrator object
    (CFIDE.adminapi.administrator), rather than having to
    recreate it each... I
    presume... session? I'd like to have the authentication done
    once at
    application start-up, then persisted for subsequent usage by
    Admin
    API-calling code.
    I'm tying to avoid storing the pwd in a template, and the
    nature of what I
    want to do is such that I cannot have someone enter the pwd
    every time I
    need the code to run.
    I was kind of expecting to ceeate an authentication object
    that I then pass
    to methods needing authentication. Not having it session
    based (which
    seems wrong for API-driven access to the Administrator).
    Basically what I'm trying to do is to have a scheduled task
    archive a log
    file (as per pressing the "Archive log file" button on the
    logfile listing)
    should certain circumstances occur. I could mess around with
    CFFILE and
    what not and DIY easily enough, but I was kind of expecting
    not to have to
    reinvent the wheel.
    Any guidance, thoughts or observations welcomed.
    Cheers.
    Adam

    Hi,
    If it were me, I'd write a remote proxy CFC that marshals
    calls to the admin API. This way you could easily add a security
    layer to this proxy CFC.
    Although the API way is probably cleanest, from an admin
    point of view, you might prefer to work with exporting the
    configuration XML files?
    This could avoid a) writing the AIR app and b) tracking when
    a remote service isn't available to call the CFIDE API? This could
    cause you major headaches!
    Good luck.
    D

  • I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a H

    I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a HP ENVY Phoenix, fully loaded, 1 1/2 years old.

    Nevermind I fixed it. Thank you.

  • Win32 API error 126

    What to do if message: [Win32 API error 126 ("Dasangegebene Modul wurde nicht gefunden") when calling ::LoadLibrary from getFunction] apears

    What to do if message: [Win32 API error 126 ("Dasangegebene Modul wurde nicht gefunden") when calling ::LoadLibrary from getFunction] apears

  • WEBI working in Rich Client but giving error opendocument' api. (error err_wis_30270) in launch pad

    Hi,
    I transported webi documents + universe from a development server (BI 4.1. SP2) to a test server (same release). I can open the documents with the WEBI rich client, but I am unable to open them with the launch pad (error ...opendocument' api. (error err_wis_30270)).
    Does anyone have a clue where there could be a difference in the settings that cause this behaviour?
    Thanks,
    Sandra.

    Can you check this KB?
    1684675
      - An internal error occurred while calling 'openDocument' API. (Error:
    ERR_WIS_302070) while opening WebIntelligence reports in SAP BO BI 4.0.

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 1

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 10901)

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • API Error: table does not exists

    Hello every one,
    I have a procedure to load the learning management data history through API. I get error that the table or view does not exists which I don't know why.
    Here is my procedure:
    CREATE OR REPLACE PROCEDURE OLM_CLASS_HISTORY
    AUTHID CURRENT_USER AS
    lv_BOOKING_ID NUMBER;
    lv_BOOKING_STATUS_TYPE_ID NUMBER;
    lv_EVENT_ID NUMBER;
    lv_PERSON_ID NUMBER;
    lv_DATE_BOOKING_PLACED DATE;
    lv_OBJECT_VERSION_NUMBER NUMBER;
    lv_FINANCE_LINE_ID NUMBER;
    CURSOR C1 IS
    SELECT OLM_NUMBER,
    OLM_DATE_OF_CLASS,
    OLM_CLASS
    FROM OLM_HISTORY_CLASS;
    BEGIN
    FOR C1_REC IN C1
    LOOP
    begin
    select PAF.PERSON_ID INTO lv_PERSON_ID
    from PER.PER_ALL_PEOPLE_F PAF
    where PAF.EMPLOYEE_NUMBER= C1_REC.OLM_NUMBER
    and to_date (C1_REC.OLM_DATE_OF_CLASS, 'DD-Mon-YY HH24:MI:SS ')
    between to_date(paf.effective_start_date, 'DD-Mon-YY HH24:MI:SS')
    and to_date (paf.effective_end_date, 'DD-Mon-YY HH24:MI:SS');
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('PID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    lv_DATE_BOOKING_PLACED:= C1_REC.OLM_DATE_OF_CLASS;
    BEGIN
    SELECT DISTINCT AOET.EVENT_ID INTO lv_EVENT_ID
    FROM APPS_APPLMGR.ota_events_tl AOET
    WHERE
    AOET.TITLE = C1_REC.OLM_CLASS;
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('EID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    dbms_output.put_line('Event id:'||lv_event_id);
    dbms_output.put_line('Person id:'||lv_person_id);
    dbms_output.put_line('Booking date:'||lv_date_booking_placed);
    dbms_output.put_line('Ovn:'||lv_object_version_number);
    dbms_output.put_line('Finance line id:'||lv_finance_line_id);
    BEGIN
    APPS_APPLMGR.OTA_DELEGATE_BOOKING_API.CREATE_DELEGATE_BOOKING (P_VALIDATE => FALSE,
    P_EFFECTIVE_DATE => trunc(sysdate),
    P_BOOKING_ID => lv_BOOKING_ID,
    P_BOOKING_STATUS_TYPE_ID => '1016',
    p_delegate_person_id => lv_PERSON_ID,
    p_contact_id => NULL,
    P_BUSINESS_GROUP_ID => '0',
    P_EVENT_ID => lv_EVENT_ID,
    P_DATE_BOOKING_PLACED => lv_DATE_BOOKING_PLACED,
    P_INTERNAL_BOOKING_FLAG => 'Y',
    p_number_of_places => '1',
    P_OBJECT_VERSION_NUMBER => lv_OBJECT_VERSION_NUMBER,
    P_SUCCESSFUL_ATTENDANCE_FLAG => 'Y',
    P_FINANCE_LINE_ID => lv_FINANCE_LINE_ID);
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('API Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    END LOOP;
    COMMIT;
    --rollback;
    END;
    and now when I run this procedure,I am getting this error:
    PID Error: 100 - ORA-01403: no data found
    Event id:5684
    Person id:12530
    Booking date:14-DEC-11 00:00:00
    Ovn:
    Finance line id:
    API Error: -942 - ORA-00942: table or view does not exist
    I don't know if it is API which is making problem or my code. Please advice.
    Thanks,

    You are creating the procedure in which schema.
    does this user has permission to access the objects specified in the code.
    the issue must be with your code not the ebs api

  • Creating sandboxes with the admin api

    I'm trying to write some code that creates sandboxes through
    the admin api. For these sandboxes, I want to only enable a
    specific set of functions. Unfortunately, when you create a sandbox
    with getSecuritySandboxes, it enables all functions by default. I
    therefore need to disable all the securable functions before
    enabling the ones I trust. I've run into two problems in doing
    this, and wondered if anyone had any advice.
    1) The api provides a function called
    getSecurableCFFunctions, which is meant to return all the functions
    that can be secured. Unfortunately, the function list returned by
    this function is not complete - it is missing createobject(com),
    createobject(corba), createobject(java), createobject(webservice),
    getgatewayhelper and sendgatewaymessage. There's no way of finding
    out the enabled functions for a sandbox, so I've currently had to
    resort to disabling all the functions returned by
    getSecurableCFFunctions and then adding in the ones that I know are
    missing. This approach is likely to be broken when future releases
    of CF add new securable functions.
    2) I use setDisabledCFFunction to disable functions, but can
    find no way of disabling createobject(com), createobject(corba),
    createobject(java) or createobject(webservice) with this function.
    When I try, it throws an exception with this message: "This
    function can not be added to the restricted function list.". These
    functions are in the function list in the administrator, and I can
    add them there. Is there any way of securing them through the api?
    Any advice appreciated!
    Thanks,
    Max

    Set up a "template" sandbox that has the permissions you
    want, say E:\template. Then I think this will work:
    obSandbox =
    createObject("component","cfide.adminapi.security");
    arDefaultSandbox = obSandbox.getSecuritySandboxes (
    "E:\template" );
    obSandbox.setSecuritySandbox ( directory = SandboxDirectory,
    sandbox = arDefaultSandbox["E:\template"] );

Maybe you are looking for

  • Ipod nano 8g not detected by windows and itunes please help

    ok i recently got an ipod nano and i havent been able to put anything on it cuz it isnt detected by my pc. it just says usb device not recognized when i connect it. BUT i can still charge my ipod so i dont think its the ipod or the usb cable. the onl

  • Items off the stage are showing up in the browser. How do I stop this?

    When learning Flash, I was taught in the beginning that only items that appear on the stage actually show up in the final animation.  Clearly, these people were wrong.  I thought it would be easy to have some text move in from off the right side of t

  • File Renaming not Working

    I am trying to transfer the files directly from the SD card files structure and renameing the files in the new destination. When i try to do this it moves the entire structure of the sd card and doesnt rename the mts files. I have tried removing them

  • Re: Local Partitioning

    Hi, If you intend it on the first time you make a partitioning, just define your client node as Client only on the environment. So the environment visible service objects will automatically be assigned to server nodes. Hope this helps. Daniel Nguyen.

  • [SOLVED] Unable to build package Intel-OpenCL-SDK from the AUR

    Good morning, I am having some issues in regards to building a package from the AUR: https://aur.archlinux.org/packages/intel-opencl-sdk/ If I understand correctly this is a 64 bit package, so I made sure that my processor has the LM flag. Also I hav