Permission to set variable LOGLEVEL  by user

Is anybody who knows which privileges I have to grant to user to avoid error:
[SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 13015] You do not have the permission to set the value of the variable 'LOGLEVEL'.Please have your System Administrator look at the log for more details on this error. (HY000) SQL Issued: {call NQSGetQueryColumnInfo('SET VARIABLE LOGLEVEL=5; SELECT "Project history"."ID" FROM "Projekty VDP"')}
User isn't administrator and he shouldn't be.
I need to debug sth from user perpective.
I was loking in documentation but without success.

Hi,
If the LOGLEVEL variable is overriden in RPD, then you need to check the option 'Enable any user to set the value' to set the variable by SET VARIABLE LOGLEVEL = 2; in Answers. If this option is not checked you will receive the above error if anyone besides Administrator tries to set loglevel at answers.
Thanks

Similar Messages

  • Saving SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report

    Hi Experts,
    The scenario is:
    When I open a report and set the prefix to 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' then I save it. Then I close that specific report then open that report again. The 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' is not saved in the report in the prefix section in Advanced tab.
    Is there a way to save the SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report to get the Query log?
    Thanks,

    OBIEE/BIP Forumer wrote:
    Hi A.Y,
    Thanks for your answer, but I the Variable I set in the Prefix section is not saved even if I saved the report with the Variable.
    Below is the steps I do:
    1. I open Report XYZ
    2. Click to Advanced tab then I enter 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' or ' SET VARIABLE DISABLE_CACHE_HIT=1, LOGLEVEL=2;' in the prefix section
    3. I saved the report
    4. Open Report ABC then
    5. I re-open again Report XYZ hoping that my prefix variable is saved
    6. I go to the ADvancec tab for Report XYZ, but I didnt see the variable I just saved
    Thanks,That is strange. Can you try adding the code to the XML instead of adding it to the prefix section and click on SET XML and save the report?
    I have highlighted the line of code in bold.
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" cacheControl="bypassCache">
    <saw:criteria subjectArea="&quot;Financials - GL Budget and Expenses&quot;">
    <saw:columns>
    <saw:column formula="Ledger.&quot;Ledger Name&quot;" columnID="c0"/></saw:columns>
    <saw:columnOrder/>
    *<saw:prefix>SET VARIABLE DISABLE_CACHE_HIT=1, LOGLEVEL=2; </saw:prefix>*
         </saw:criteria>
    <saw:views xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="titleView!1">
    <saw:displayFormat/></saw:cvCell></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="tableView!1">
    <saw:displayFormat/></saw:cvCell></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010"/></saw:views></saw:report>

  • CFCs setting variables

    I am getting a bit confused with cfcs using cfreturn and
    cfinvoke please be patient!
    1.Setting variables in cfc
    In this example cfc I make a query. The cfreturn tag does
    <cfreturn expression /> as I understand it. I don´t
    understand how you define the expression - can you return
    arguments, any column I like in variables? How do I do that?
    <cfcomponent><cffunction><cfargument
    name="user">
    <cfquery name="checkuser">
    select col1, col2, col3, col4, col5, col6
    from user
    where .....=....
    </cfquery>
    <cfreturn checkuser.col1>
    2. Calling cfc:
    In cfinvoke you call a variable using returnvariable="". Is
    it true that the variable doesn´t have to have the same name
    as in the method that the cfinvoke tag is calling? What does return
    variable call? How do I define what it calls?

    In any cffunction, inside or outside a cfc, if you are going
    to return a value, you use the cfreturn tag. You can return
    constants like true, 1, "Dan is so smart", or variables. What you
    return has to be consistent with the returntype attribute of your
    cffunction tag.
    When you invoke a variable, you can use any name you want as
    the return variable. In theory, you don't even know any variable
    names inside the function. The return variable does not call
    anything. It accepts what the function returns.
    It is the cfinvoke tag that calls something. You control what
    it calls with it's attributes.
    Further details are in the cfml reference manual.

  • Calling functions / setting variables in loaded SWF

    You know how you can create a Movieclip object, add a
    function or variable to it, then call that function or change that
    variable from within the SWF that includes it? I wanna be able to
    do that, only with SWFs that are loaded at run time.
    My "main" SWF is simply a menu-type thing. The user clicks a
    button in my MAIN.SWF, and the MAIN.SWF then loads the SWF that's
    associated with that button, using the AS 3.0 prescribed
    Loader()-URLRequest()-addChild() method that everyone always asks
    about.
    This works great. But now I've got some custom objects and
    such (ie., not just strings) within my MAIN.SWF that I'd like to be
    able to share with the loaded SWFs. Preferably, I'd like to use an
    accessor-type function (ie.,
    LoadedSWF.GiveMeTheCoolObject(MyCoolObject);), though at this point
    I'm willing to hack into the object itself (ie.,
    LoadedSWF.CoolObject.CoolField = MyCoolObject.CoolField;) if that's
    what it takes.
    I've tried just calling the functions and setting the fields,
    but the AS 3.0 compiler doesn't care for that sort of nonsense on
    it's generically-defined objects. Notice also that, at run time, a
    call to LoadedSWF.hasOwnObject("GiveMeTheCoolObject") returns true.
    So my big-brained colleagues, what's the magic?
    In advance, thanks for the help!
    Scott

    Kglad,
    quote:
    Originally posted by:
    kglad
    from that error message it appears your function is expecting
    a member of the MyCoolObject class, correct?
    and MyCoolObject is not an instance of that class. so, you
    need to fix that. ie, create a member of that class and use that
    class member as the function parameter.
    Heh, that's what the error message says all right. But the
    object actually IS a MyCoolObject class object. I stared at this
    thing for hours, and MyCoolObject IS an instance of that class. I
    tried various casting combinations (including casting it to an
    Object and passing that) but had no luck whatsoever.
    So I googled this particular runtime error message ("Error
    #1034: Type Coercion failed: cannot convert ") and found a ton of
    links to other people having a similar issue. Typically, the
    problem was just as you said, someone passing a button as a string,
    that kinda thing. But one guy had a problem with an object he
    derived from the Event class. After hours spent trying to get it to
    work, he tried overriding the base class' clone() method and got it
    to work:
    http://www.asserttrue.com/articles/2006/10/14/custom-events-in-actionscript-3-0
    As for my project, I took a long hard look at the overall
    architecture of my project and decided that it was best if all the
    "real work" took place in the MAIN.SWF file. This approach would
    solve a couple of other problems, and it just makes sense in a
    "separate the display from the data" mentality.
    So (and this is the interesting part) I changed the API for
    the LOADED.SWF to accept String pairs (ie.,
    LoadedSWF.AddToDisplay(Name:String, Data:String) ) instead of
    accepting MyCoolObj. Ran it, and Viola, now we're working without
    any run time exceptions. After that glorious moment, I created a
    couple of other APIs that just accepted base classes (one an int
    type, the other a function type) and was happily on my way.
    From this, I gather that passing non-base class (ie, derived
    class) objects to loaded MovieClips via custom function APIs is...
    maybe not as straightforward as we'd expect. In the grand scheme of
    things though, not a big deal: As far as I'm concerned AS3 rocks.
    Again Kglad, thanks for all the help: Your input on how to do
    this was the big push that I needed to get over the last technical
    hurdle of this project.
    To those who are reading this topic for the "how do I call
    functions and/or set variables in a loaded SWF?"
    The short answer is to cast the loaded SWF's content object
    as a MovieClip and then call the function or alter the variable:
    //Load the SWF (you've seen this code a million times)
    var LoadedSWFObj:Loader = new Loader();
    var MyURL:URLRequest = new URLRequest("LoadThisSWF.SWF");
    LoadedSWFObj.load(MyURL);
    //This is within your Event.COMPLETE handler:
    //Cast it as a MovieClip object and work with that.
    var LoadedSWF:MovieClip = LoadedSWFObj.content as MovieClip;
    // or another way to cast it is:
    var LoadedSWF:MovieClip = MovieClip(LoadedSWFObj.content);
    //Call yer function:
    LoadedSWF.CallMe();

  • Set variables leads to dump error in SEM 4.0

    Hi,
    I am on SEM 4.0 system.In BPS, i am not able to use set variables feature.whenever i hit this button the system does the process for couple of minutes and finally gives a dump error.
    I applied this note 806362.No success.
    Any one to my rescue?

    ravi,
    the variable is of type user-defined values and input allowed by user.
    "If the replacment type is user speficic values, then you can go to BPS0 - area - variable and set the values here also".- How i would do it here? Inorder to set the variable with a value i will choose SET VARIABLES option.
    Whenever i choose this the system creates a dump.
    Message was edited by:
            ragav

  • Reading locale system properties like set-variables of a windows Client

    Hello,
    is there a possibility to read locale system properties like set-variables of a windows Client?
    We want to read path-Info and user-info. Can I perhaps user javascript?
    Best regards
    Oliver Prodinger

    Hi Oliver,
    This code will work (assuming the client approves running of ActiveX)
    <html>
    <script>
      var shell = new ActiveXObject("WScript.Shell");
      var env = shell.Environment("process");
      alert(env("COMPUTERNAME"));
      alert(env("USERNAME"));
    </script>
    </html> 
    You can't really run it from WD, but what you can do is run this code from a portal component (DynPage/JspDynPage) that is running in the same page as your WD application and pass data by using portal eventing.
    The portal component iview can have size of 1 pixel so it won't be seen...
    Regards,
    Omri

  • System PATH environment variable issue when user log off and log in or switch from admin to non-admin account

    Hi,
    Problem Description:
    After installing my new product version, when user does log-off and log in again into admin account
    or switch from admin account to non-admin account, PATH environment variable shows incorrect path of my product (previous product version’s path) using command prompt.
    It seems windows refresh issue during session changes (log off and log in / switch from Admin to
    Non-admin account).
    Why PATH environment variable is not refresh immediately after log off and log in again or Switch
    from admin to non-admin mode?. 
    Please see my thread for more details http://social.msdn.microsoft.com/Forums/vstudio/en-US/445ab42c-bdff-405a-8d53-558e1b6c7d34/path-environment-variable-issue-when-user-logoff-and-login-or-switch-from-admin-to-nonadmin?forum=windowsgeneraldevelopmentissues
    Also submitted bug for this in connect.microsoft.com portal.In that it has lots of information
    like problem statement, Reproduction steps and Expected Results.
    Bug ID: 871782
    Could you please any body help me for this?. your support will be appreciated.
    Thanks,
    Marichamy

    Why PATH environment variable is not refresh immediately after log off and log in again or Switch
    from admin to non-admin mode?. 
    I wouldn't have any expectation of what you are doing to work the way you expect.  E.g. why is the %ABC% being replaced at all?  There is some help about this ambiguous scenario in the cmd help...
    /V:ON Enable delayed environment variable expansion using ! as the
    delimiter. For example, /V:ON would allow !var! to expand the
    variable var at execution time. The var syntax expands variables
    at input time, which is quite a different thing when inside of a FOR
    loop.
    /V:OFF Disable delayed environment expansion.
    So, what's the setting for the /V:  switch that your users would be using?  Perhaps you should be using the ! instead of the % for your ABC variable?
    Oh.  There's more below where I found that...
    Delayed environment variable expansion is NOT enabled by default. You
    can enable or disable delayed environment variable expansion for a
    particular invocation of CMD.EXE with the /V:ON or /V:OFF switch. You
    can enable or disable delayed expansion for all invocations of CMD.EXE on a
    machine and/or user logon session by setting either or both of the
    following REG_DWORD values in the registry using REGEDIT.EXE:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\DelayedExpansion
    and/or
    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\DelayedExpansion
    to either 0x1 or 0x0. The user specific setting takes precedence over
    the machine setting. The command line switches take precedence over the
    registry settings.
    In a batch file the SETLOCAL ENABLEDELAYEDEXPANSION or DISABLEDELAYEDEXPANSION
    arguments takes precedence over the /V:ON or /V:OFF switch. See SETLOCAL /?
    for details.
    If delayed environment variable expansion is enabled, then the exclamation
    character can be used to substitute the value of an environment variable
    at execution time.
     So, I guess the essence of your "bug" will boil down to whether you
    need the feature to get the result you want and the
    truth of that first sentence but it certainly looks like a "can of worms" to me.   ; )
    HTH
    Robert Aldwinckle

  • I am looking to "move out" of my computer and into my wife's, is there an easy way to accomplish this task, keeping all my files and setting up a second user?

    I just bought a new external 3TB hard drive for this task and want to keep my items seperate from hers for both our sanity.
    I figured that I would do a time machine back up and use that to do the move part of things.
    But as to setting up the new user on her computer I am just not sure if I can "tell" the computer to only use the new drive for my stuff and only acces the new drive for all things related to that new profile.
    More then anything else I want to be able to say that all things that are hers have not been touched/acccesed/deleted by any of my actions. And that I am "confined" to the new drive.
    I hope this makes sence.
    Mr Geef

    I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts
    AFIK there isn't an easy way of linking up to a lot of dead tracks and retaining play counts etc, except by finding the dead tracks and repairing each link individually. The only exception to this is if there is a simple error in the path that can be fixed by a search and replace on the xml library file, then rebuilding the library. However it doesn't sound as though that would be a solution for you.
    This MacMuse tip has a way of finding dead tracks if that helps.
    http://discussions.apple.com/thread.jspa?threadID=121967
    It is much simpler to sacrifice the playcount information and just reimport your iTunes Music folder. Then you can eliminate the dead tracks with a script. One of the forum members has written one that you can find here:
    http://home.comcast.net/~teridon73/itunesscripts/

  • Setting Up a New User Account - iTunes issue

    My wife and I were both using our Mac as a single user, but logging into iTunes under separate iTunes accounts to download our own music and apps.
    This week I set up a new User Account in her name, and transferred all music and apps to her User Account so she would be able to access and sync on her own account, just by fast switching, rather than logging into iTunes each visit.
    When she plugs her phone into the iMac to sync via iTunes, she gets the following message:
    *iTunes could not sync information to the iPhone " " because another sync client is already running*.
    Anyone had this problem and found a solution ?

    I recently had this same error message problem with my 3GS. Here's everything I did, one of the steps solved the problem...
    1. Restarted with the phone unattached.
    2. Repaired permissions using Disk Utility.
    3. Restarted the phone. Here's where I had some difficulty: After swiping to confirm the shutdown, the screen went black, and I had the spinning icon that wouldn't go away. I ended up having to hold the lock and home buttons down to force shutdown the phone. I powered it back up, and it took forever to start, but it eventually did. I then power-cycled it one more time, and everything was back to normal.
    4. Started up iTunes. Go into the preferences, and under the "Devices" tab, I found my previous backup. I deleted it.
    5. Plugged in the phone, and everything was normal. iTunes made a new backup, so the sync took awhile, but it was successful.
    Good luck!

  • How do I set up a new user account that can use all my software?

    I set up a new user account on my 3 year old BTO iMac running OS 10.8.5. Unfortunately, when I tried to use it, the computer thought none of my software was registered, activated, licensed, etc. With 26 GB of applications on this machine, it will be a colossal chore to re-do everything. Is there any way around this?
    Thanks for your time,
    Larry

    Is your regular user an Admin?
    Yes. So is the new account I tried to set up.
    Are these apps installed in the main /Applications folder?
    Yes.
    Are they App Store apps or installs from disc/download?
    Both, but App Store purchases are a clear minority, and aren't much of a problem, due to the ease of re-downloading and activating. The downloaded programs are the ones that present the problems. I have not been good about archiving serial numbers and the like, mostly because I've never had a problem like this before.
    What specific apps are you having trouble with? For instance, I know that MS Office and Adobe CS5 for perfectly well for all users on my MBP.
    This is a very long list. Let me give you some of it, and if you really need all of them, I'll add to the list later.
    1Password 4
    ABBYY FineReader for ScanSnap
    Adobe Acrobat 8 Professional
    Adobe Photoshop Elements 8 plus On ONE add-on filters
    Burn
    calibre
    DiskTracker
    Dragon Dictate
    Flv Crunch 1.5.0
    GraphicConverter
    Harmony Assistant
    iBank
    iSkysoft iMedia Converter Deluxe
    MacX Video Converter Pro
    QMidi
    Screenium
    Unison
    WireTap Studio
    Also, what troubleshooting steps have you taken so far?
    Not much, since I have no idea where the problem is. I looked for some central repository of software serial numbers or activations, but didn't find one.

  • Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

  • New iMac 21.5". How can I set up a new user account with access to all the files of the original user account?

    Running Mavericks on a 2013 iMac 21.5". I want to set up a second user account with different settings that meet the requirements of specific software. I need the files to be accessible by both users. I have made both the main and secondary accounts administrators. I have also enabled file sharing for both. Neither account can see the other's files in Finder.
    How can I make all files accessible to both accounts? I read that administrator accounts automatically can see all files on the computer, but it is not working out that way. I have restarted the computer, to no avail.

    Comcast only offers POP accounts, and one way to set up the account and enter all the settings before it connects to the mail server, might be to do it Offline:
    https://support.mozilla.org/en-US/questions/991539#answer-547878
    The server settings are given [http://customer.comcast.com/help-and-support/internet/setting-up-thunderbird/ here], but the method is for Online account setup.

  • I've tried to set up a new user on a mac book pro and i restarted it to create the new account but now all i can get is a white screen with the apple logo and the loading symbol what can i do ?

    i've tried to set up a new user on a mac book pro and i restarted it to create the new account but now all i can get is a white screen with the apple logo and the loading symbol what can i do ?

    Look at this support article:
    http://support.apple.com/kb/ts2570
    Ciao.

  • How can I set up a new user account that has access to iPhoto data on Admin account?

    I have set up a new user account for my son.  I have set up his parental controls but I would like him to have access to the data in iPhoto and iTunes from the Admin account.  I do allow him access to the applications with the parental controls, but they are empty.  Thanks for your help!

    Is your regular user an Admin?
    Yes. So is the new account I tried to set up.
    Are these apps installed in the main /Applications folder?
    Yes.
    Are they App Store apps or installs from disc/download?
    Both, but App Store purchases are a clear minority, and aren't much of a problem, due to the ease of re-downloading and activating. The downloaded programs are the ones that present the problems. I have not been good about archiving serial numbers and the like, mostly because I've never had a problem like this before.
    What specific apps are you having trouble with? For instance, I know that MS Office and Adobe CS5 for perfectly well for all users on my MBP.
    This is a very long list. Let me give you some of it, and if you really need all of them, I'll add to the list later.
    1Password 4
    ABBYY FineReader for ScanSnap
    Adobe Acrobat 8 Professional
    Adobe Photoshop Elements 8 plus On ONE add-on filters
    Burn
    calibre
    DiskTracker
    Dragon Dictate
    Flv Crunch 1.5.0
    GraphicConverter
    Harmony Assistant
    iBank
    iSkysoft iMedia Converter Deluxe
    MacX Video Converter Pro
    QMidi
    Screenium
    Unison
    WireTap Studio
    Also, what troubleshooting steps have you taken so far?
    Not much, since I have no idea where the problem is. I looked for some central repository of software serial numbers or activations, but didn't find one.

  • Can you set up multiple Facebook users on 1 IPad 4?

    Can you set up multiple Facebook users(2) on one IPad 4?

    I think maybe on different users on one computer - but not on the same one.

Maybe you are looking for