J1INCT not running "not authorized"

Hi All,
While running the tcode J1INCT,J1IE,OBWZ,J1INUMBER  we are getting a popup message  "You are not authorized to use this function " SU53 does not show any missing authorization.
I think some object needs to be inserted to resolve this issue.
Pls help.
Regards,
Prashant

If still problem persists after implementing Ravi's suggestions (specially generation and validity check of the role) then please capture your actions by using TCode ST01 , then check and analyze the Return Codes.
Regards,
Dipanjan

Similar Messages

  • I have transferred my iTunes library from a PC to a Mac. Many of the albums will not run (not authorized) The system asks for old email account and passwords I used years ago. I have no idea what they are. How do I get around this?

    Having transferred my iTunes library from my old PC to my new Mac. Many of the albums will not play because they are not authorized. Authorization lists very old email addresses of which I do not have the passwords or, in fact, access to the email websites. Can anyone whelp me with a way to get around this?

    Yes, I believe I did with no success playing some of my "old albums." The remaing albums worked just fine.
    I think I found a workaround by signing in to the old website using "forgot" password and changed it to a new one. Then I signed in using my Apple ID and Passwird. This seems to have worked. 

  • FF not running (not listed in Task Manager) but get message it is (and Profile missing)?

    WIN7 (86). Can't open FF. Get message it's running, but it isn't (not listed in Task Manager showing all processes). Tried to access my Profile, but search was unsuccessful.

    Try to delete the profiles.ini file to force Firefox to create a new default profile.
    *http://kb.mozillazine.org/profiles.ini_file
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    See also:
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • ESB Server: FAILED (Not Run, Not Executed)

    I am novice.
    Installed SOA Suite 10.1.3.1.0 on host1(WinXP Professional2002 SP2):
    Select Basic Install.
    Set the AS Instance Name to soademo.
    Set the AS Administrator Password to welcome1.
    Test http://host1:8888/(esb,em) - Ok.
    -Installed JDeveloper 10.1.3.1.0.3984 on my_host (Win2000 5.00 SP4).
    -created connection App Server "OrderBookingAS" (opmn:ormi://host1:6003:home) - Test-Success
    -create connection Integration Server "OrderBookingIS" (AppServer - OrderBookingAS, port:8888).
    Testing OrderBookingIS:
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: FAILED
    Detail ESB connection: Not Executed.
    Why ESBServer not executed?
    Thank.

    Hi,
    Thanks for your quick answer.
    Let's go with the answers to your questions:
    1.) the connection via browser to http://machine:80/BPELConsole works?
    Yes, i can login with the oc4jadmin user
    2.) which port have you specified for the integration server connection?
    The port is 8888
    3.) your server has multiple network interfaces?
    If you mean network interfaces=network adapters, the answer is yes. I have configured the lookback adapter as written in the installation document and i have three others adapters.
    Thanks again for any help.
    Jorge.

  • Will not run,,not even in safe mode

    i ran pc doctor and all passed but at the end it shows biohd3   I put a new hard drive in but recovery disk  will stop at the start of windows set up. is this going to be a hard fix?,,help if you can,,wesley

    Hi,
    What operating system are you trying to install ( ie Windows 7 32bit )?
    What is the Model No. of your PC?
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • I am trying to install the trial version of Acrobat but the file AdobeDownloadAssistant.exe will not run -it gives an unnumbered error that the file is not configured correctly. "This application cannot be installed...Please contact the application author

    I can't install the trial version of Adobe Acrobat because the AdobeDownloadAssistant.exe will not run. I get this error:
    "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    I completed the trial questionnaire & all seemed well. Can anyone help?

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • AppLocker service issue: AppIDSvc not running, but enforcement working.

    I have a strange problem with AppLocker.  I configured the service (AppIDSvc) and some policies using group policy and deployed it to some computers in my domain.  I logged onto one of the systems and verified that AppIDSvc was running, and that
    enforcement and logging were working correctly.
    Later, I decided to expand that policy to more computers.  I reorganized the policies somewhat, but the RSOP is the same.  I logged onto one of the new machines that I applied the policy to, and noticed that the service was not running and nothing
    audited in the AppLocker logs.  When I try to start the service, I get "System error 31 has occurred.  A device attached to the system is not functioning."
    This is strange, but what is more strange is that on the first set of systems I deployed AppLocker to, I am seeing the same behavior from the service: not starting, and attempts to start result in the same error.  However, AppLocker is still working! 
    It is still enforcing the original policies I created, and is still logging events.
    I did a little more investigation, and I see that the AppID service (which AppIDSvc depends on) is running, and must be the service doing the heavy lifting behind the scenes.  When I prevent the AppID service from starting (by removing it from [HKLM\SYSTEM\CurrentControlSet\services]),
    and restart the system; the enforcement/logging stops.  When I put it back, it restarts.  But, I cannot get it to start on systems other than the original test group, and obviously something is wrong that the AppIDSvc won't start.
    It's as if the enforcement mechanism (provided by AppId.sys?) cannot be called by the AppIDSvc, or AppIDSvc cannot access the resources in use by AppID; or something to that effect.  I have tried auditing the behavior of the system using procmon, but
    haven't made much headway yet.
    Any insight into this issue, or how to better troubleshoot it would be greatly appreciated.

    Despite hours of troubleshooting, just minutes after resorting to posting about this problem I solved it!
    The issue ended up being that when I updated my group policy to ensure that the AppIDSvc was enabled, in my due diligence to ensure that everything was set correctly, I selected the radio button for "Log on as: Local System account."  In fact, this
    service must run under the "NT Authority\Local Service" account, not the Local System account.  Once the account settings were corrected, the service started no problem.
    I have updated my group policy to fix the issue and all seems to be well.

  • Web links in .pdfs inoperable- "Acrob. could not run the browser"

    I keep my Adobe Reader updated often, but I've been experiencing a severe inconsistency with the ability to open a (FFox) web page by clicking a link given by the author of any given .pdf., embedded in it. Sometimes it works and opens up the new FFox page OK. But maybe a little more than half the  time I first get a security warning, "The document is trying to connect to (URL). If you trust this site, choose 'Allow'. If you do not trust this site, choose 'Block' ".   So, I'll click 'allow' and then I get a window saying, "Acrobat could not run the web browser.    Unknown error (740).
    I've tried to find out more about an error 740, but there's no relation online between any error w/ that # and Adobe. It reads kind of contradictory anyway, since it says "unknown error" but then gives you an error #.  Ideas, anyone? Thanks.
    (Message was edited by: Victorious57)

    I'm having the same problem and have found a few suggestions from different places that may help.
    1. Add the site / host to the trusted sites list in Internet explorer. E.G http://hostname or file://hostname or hostname.
    2. In Adobe reader or Acrobat go to START>PREFERENCES>JAVA SCRIPT Untick 'enable Acrobat JavaScript'.
    3. Create the documents from open office and use the export to PDF option.
    The last option seemed to work when adding the hostname to the trusted sites list in IE 8 (IE 6 didn't work)
    One thing I noticed when I created PDF's this way is the link was displayed as file://hostname/share/doc.pdf.
    When I converted a document from MS Word 2007 and used Acrobat standard to convert the document the link was displayed as file://///host/share.doc.pdf.
    I'm not sure why the extra //// were added but it seems that MS word puts the hyperlink in this format.
    As I said creating the document in Open Office worked when I added the host in IE 8's trusted site list but this isn't acceptable for me due our SOE restrictions.
    Our setup is as follows..
    XP Pro SP2
    Internet Explorer 6
    Adobe Acrobat Standard 9.3

  • J2ee server not running

    Hi all,
    I am using EP6 here. My J2ee server is not running. Dispatcher and SDM for that instance are running but not the J2ee server.
    I m getting below pasted error in std_server0 file
    com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_33] Fatal: User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connection data are correct and the backend system is available. Error message: "User not authorized. Session terminated". Connection data (obtained from properties of UME service in section "ume.r3.connection.master.": "{
      passwd=********
      lang=EN
      receiverid=master
      sysnr=00
      client=410
      poolmaxsize=10
      user=SAPJSF_EPP
      receiverid_guest=master
      ashost=192.168.121.188
    Dec 19, 2007 7:25:03 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_33] Fatal: Initialization of UME persistence adapter "R3_USER_DS" failed.
      service com.sap.security.core.ume.service ================= ERROR =================
    Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    com.sap.engine.frame.ServiceException: User not authorized. Session terminated
    I have tried to change password in config tool. But it did not help
    kindly help me in this
    Thanks

    Hi Karthik,
    This is waht the default.trc file shows:-
    1.5#000D6016010E001D000000050000100C000441B1001EB100#1198128373871#com.sap.security.core.persistence##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_8##0#0#Error#1#/System/Security/Usermanagement#Java###User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: #1#Password logon no longer possible - too many failed attempts!#
    #1.5#000D6016010E001D000000070000100C000441B1001EB41C#1198128373871#com.sap.security.core.persistence##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_8##0#0#Fatal#1#/System/Security/Usermanagement#Java###Initialization of UME persistence adapter "" failed.#1#R3_USER_DS#
    #1.5#000D6016010E001D000000080000100C000441B1001EB596#1198128373871#com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance##com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.constructor#######SAPEngine_System_Thread[impl:5]_8##0#0#Error##Java###Initialization of data source class failed
    [EXCEPTION]
    #2#R3_USER_DS#com.sap.security.core.persistence.datasource.PersistenceException: Password logon no longer possible - too many failed attempts!
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:180)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:442)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:302)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:224)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:570)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    - caused by -
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Password logon no longer possible - too many failed attempts!
         at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy$Client640.getAttributes(R3JCo640Proxy.java:408)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.doInitRfc(R3PersistenceBase.java:685)
         at com.sap.security.core.persistence.datasource.imp.R3Persistence.localInitialization(R3Persistence.java:268)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:420)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:302)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:224)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:570)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5#000D6016010E001D0000000A0000100C000441B1001EB7AE#1198128373871#com.sap.security.core.server.ume.service.UMEServiceFrame##com.sap.security.core.server.ume.service.UMEServiceFrame#######SAPEngine_System_Thread[impl:5]_8##0#0#Error#1#/System/Security/Usermanagement#Plain###Initialization of UME persistence failed.#
    #1.5#000D6016010E001D0000000C0000100C000441B1001FC884#1198128373949#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_8##0#0#Error#1#/System/Server#Plain###Service com.sap.security.core.ume.service error. Nested exception is: com.sap.engine.frame.ServiceException: Password logon no longer possible - too many failed attempts!
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:573)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Password logon no longer possible - too many failed attempts!
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:180)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:442)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:302)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:224)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:570)
         ... 6 more
    #1.5#000D6016010E001D0000000E0000100C000441B1001FCD79#1198128373949#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_8##0#0#Error#1#/System/Server#Java###Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    [EXCEPTION]
    #1#com.sap.engine.frame.ServiceException: Password logon no longer possible - too many failed attempts!
    I changed the password of SAPJSF_EPP and it has SAP_ALL assigned to it.
    I tried to change the password in config tool for the following parameter
    ume.r3.connection.master.passwd
    Then i restarted the cluster ..but again got the error showed in trace file above
    I guess i have changed it in a right way
    I clicked on the parameter and typed the new password at the bottom. Then i clicked on set. It prompted me retype the value
    and i did it and clicked on save. Is it right??
    Actually i have been assigned the additional responsibility of EP. I m into Basis otherwise. So please bear with me.
    tell me how can i solve this??
    Thanks

  • Qosmio G10: OS is not running corectly

    hi. my problem is that my windows xp is not running corectly, the mousecursor, sounds, videos, games, programs all is running in a "stop and go". like the cpu slows down every 1 till 2 seconds. i reinstalled windows now 4 times and formated all hds.
    dont know what to do...
    and a second question... maybe this could be the answer for the first one ;-)
    in my hardware-listing from my windows-system are two items i cant find a driver for.
    -PCI-Device
    -videocontroller fuer multimedia (german ;-))
    maybe in english systems its the "multimedia controll device" or "multimedia videocontroller" or anything else...
    does anybody know were i can get the drivers, because theyre not listet on the toshiba-homepage. and my system backup-disk was stolen. (sounds strange... i know :-))
    ok, please give me some tips, if you have any ideas!
    THX a lot, patrick

    Hello Patrick
    First of all it will be interesting to know if the unit is preinstalled by recovery media. The Qosmio installation is pretty complicated and I recommend you to use recovery CD.
    On this way it is not possible to give you precise answer because I dont know which stuff is installed on your unit. I presume that in your case some application (like virus scan) runs in background and your HDD can be stressed.
    If your recovery DVD is stolen you can order one by Authorized service partner in your country.
    Bye

  • Director 11.5 "exe" not running in windows lower version

    hi,
    i have some project made in director mx2004 (d10) and convert it to director 11.5 but when i publish exe it will not run on windows 2000 or windows 98 (basically lower then windows xp2), have any one idea of that
    thanks

    This page shows the authoring and runtime OS requirements. Unfortunately, D 11.5 isn't set up to run on Windows versions earlier than XP. You may want to keep that earlier version of your .exe and make it available to users with 2000 or 98.

  • App is not running on server

    Hi,
    My lccs application is not running on server even server is supporting ssl.
    php version on server is 5.2.14.
    i tried to print lccs RTCAccount object on server its giving some fatal error.
    i got response like .....
    Array
        [wrapper_data] => Array
                [headers] => Array
                        [0] => HTTP/1.1 302 Moved Temporarily
                        [1] => Server: Apache-Coyote/1.1
                        [2] => X-Powered-By: Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5
                        [3] => Expires: Fri, 15 Oct 2010 15:23:37 GMT
                        [4] => Cache-Control: max-age=30
                        [5] => Set-Cookie: Whitcomb-Ident=vatrai:na2-sdk-9b17de0a-2188-4f2e-89b2-9453f6eb6be2; Domain=collaboration.adobelivecycle.com; Path=/vatrai
                        [6] => Location: https://na2.collaboration.adobelivecycle.com/vatrai?mode=xml&accountonly=true&
                        [7] => Content-Language: en-US
                        [8] => Content-Length: 0
                        [9] => Date: Fri, 15 Oct 2010 15:23:06 GMT
                        [10] => HTTP/1.1 200 OK
                        [11] => Server: Apache-Coyote/1.1
                        [12] => Set-Cookie: JSESSIONID=ZubjKocVM3rJinHDTxkN.22; Path=/
                        [13] => Cache-Control: max-age=0
                        [14] => Content-Type: text/xml;charset=UTF-8
                        [15] => Content-Length: 190
                        [16] => Date: Fri, 15 Oct 2010 15:23:08 GMT
                [readbuf] => Resource id #4
        [wrapper_type] => cURL
        [stream_type] => cURL
        [mode] => r
        [unread_bytes] => 0
        [seekable] =>
        [uri] => https://collaboration.adobelivecycle.com/vatrai?mode=xml&accountonly=true&
        [timed_out] =>
        [blocked] => 1
        [eof] =>
    Array
        [0] =>
    Fatal error:  Uncaught exception 'RTCError' in /home/myapp/public_html/videos/lccs.php:707 Stack trace: #0 /home/myapp/public_html/videos/lccs.php(587): RTC->http_get('https://collabo...', Array) #1 /home/myapp/public_html/videos/lccs.php(254): RTCAccount->do_initialize() #2 /home/myapp/public_html/videos/a.php(16): RTCAccount->__construct('https://collabo...') #3 {main}   thrown in
    /home/myapp/public_html/videos/lccs.php on line
    707

    Sorry.... I am pasting here full code of lccs.php...
    <?php
    ** Adobe LiveCycle Collaboration Service Account Management API
    ** Revision
    **   $Revision: #1 $ - $Date: 2010/07/26 $
    ** Author
    **   Raffaele Sena
    ** Copyright
    **   ADOBE SYSTEMS INCORPORATED
    **     Copyright 2007 Adobe Systems Incorporated
    **     All Rights Reserved.
    **   NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the
    **   terms of the Adobe license agreement accompanying it.  If you have received this file from a
    **   source other than Adobe, then your use, modification, or distribution of it requires the prior
    **   written permission of Adobe.
    * error thrown or generated by RTC API
    class RTCError extends Exception {
    * Constants for common user roles
    interface RTCUserRole {
        const NONE = 0;
        const LOBBY = 5;
        const VIEWER = 10;
        const PUBLISHER = 50;
        const OWNER = 100;
    * Constants for node configuration
    interface NodeConfiguration {
        const STORAGE_SCHEME_SINGLE_ITEM = 0;
        const STORAGE_SCHEME_QUEUE       = 1;
        const STORAGE_SCHEME_MANUAL      = 2;
    * a class that generates RTC authentication tokens
    class RTCAuthenticator {
        private $authURL;
        function __construct($url) {
            $this->authURL = $url;
        // Get an RTC authentication token give login and password.
        function login($user, $password, & $retHeaders) {
            $headers = array (
                "Content-Type" => 'text/xml'
            $data = "<request><username>{$user}</username><password>{$password}</password></request>";
            $resp = RTC::http_post($this->authURL, $data, $headers);
            if (RTC::$DEBUG)
                echo "$resp\n";
            try {
                $result = new SimpleXMLElement($resp);
            } catch (Exception $e) {
                throw new RTCError("bad-response");
            if ($result['status'] == "ok") {
                $auth = $result->authtoken;
                if ($auth['type'] == "COOKIE") {
                    $retHeaders["Cookie"] = (string) $auth;
                    return null;
                } else {
                    $gak = base64_encode($auth);
                    return "gak={$gak}";
            } else
                throw new RTCError($resp);
        // Get a guest authentication token.
        function guestLogin($user) {
            $guk = base64_encode("g:{$user}:");
            return "guk={$guk}";
    * a class that deals with meeting sessions and # external collaboration
    class RTCSession {
        private $instance;
        private $account;
        private $room;
        private $secret;
        function __construct($instance, $account, $room) {
            $this->instance = str_replace("#room#", $room, $instance);
            $this->account = $account;
            $this->room = $room;
         * get an external authentication token
        function getAuthenticationToken($accountSecret, $name, $id, $role) {
            $role = (int) $role;
            if ($role < RTCUserRole::NONE || $role > RTCUserRole::OWNER)
                throw new RTCError("invalid-role");
            $utfname = utf8_encode($name);
            $token = "x:{$utfname}::{$this->account}:{$id}:{$this->room}:{$role}";
            $signature = $this->sign($accountSecret, $token);
            $signed = "{$token}:{$signature}";
            // unencoded
            // $ext = "ext={$signed}";
            // encoded
            $encoded = base64_encode($signed);
            $ext = "exx={$encoded}";
            return $ext;
         * get the userId that the server will generate for this user
        function getUserID($id) {
          return strtoupper("EXT-{$this->account}-{$id}");
        function getSecret($baseURL, $authToken, $authHeaders) {
            $data = RTC::http_get("{$baseURL}app/session?instance={$this->instance}&{$authToken}", $authHeaders);
            if (RTC::$DEBUG)
                echo $data;
            $response = new SimpleXMLElement($data);
            $this->secret = (string) $response-> {
                'session-secret' };
        function invalidate($baseURL, $authToken, $authHeaders) {
            $data = "action=delete&instance={$this->instance}&{$authToken}";
            $res = RTC::http_post("${baseURL}app/session", $data, $authHeaders);
            if (RTC::$DEBUG)
                echo $res;
            $this->instance = null;
            $this->account = null;
            $this->room = null;
            $this->secret = null;
        private function sign($acctSecret, $data) {
            $key = "{$acctSecret}:{$this->secret}";
            // Calculate HMAC-SHA1 according to RFC2104
            // http://www.ietf.org/rfc/rfc2104.txt
            $blocksize = 64;
            $hashfunc = 'sha1';
            if (strlen($key) > $blocksize)
                $key = pack('H*', $hashfunc ($key));
            $key = str_pad($key, $blocksize, chr(0x00));
            $ipad = str_repeat(chr(0x36), $blocksize);
            $opad = str_repeat(chr(0x5c), $blocksize);
            $hmac = pack('H*', $hashfunc (($key ^ $opad) .
            pack('H*', $hashfunc (($key ^ $ipad) . $data))));
            return bin2hex($hmac);
    * A class that contains room or template item information.
    class RTCItem {
        public $name;
        public $desc;
        public $created;
        function __construct($name, $desc, $created) {
            $this->name = $name;
            $this->desc = $desc;
            $this->created = date_create($created);
    * a class that deals with account information and provisioning
    class RTCAccount {
        const ROOM_ITEMS = "meetings";
        const TEMPLATE_ITEMS = "templates";
        public $url;
        private $authToken;
        private $uathHeaders;
        private $authenticator;
        private $baseURL;
        private $contentPath;
        function contentURL() {
            return "{$this->baseURL}app/content{$this->contentPath}";
        function __construct($url) {
            $this->url = $url;
            $this->authToken = null;
            $this->authHeaders = array ();
            $this->authenticator = null;
            $this->baseURL = null;
            $this->contentPath = null;
            $this->roomInstance = null;
            if (RTC::$DEBUG)
                echo RTC::$VERSION . "\n";
            $this->do_initialize();
        // Return the node configuration
        function getNodeConfiguration($room, $coll, $node) {
            $instance = str_replace("#room#", $room, $this->roomInstance);
            $path = "/{$coll}/nodes/{$node}/configuration";
            return RTC::http_get("{$this->baseURL}app/rtc?instance={$instance}&path={$path}&{$this->authToke n}", $this->authHeaders);
        // Return the RTC items given collection and node
        function fetchItems($room, $coll, $node, $items = null) {
            $instance = str_replace("#room#", $room, $this->roomInstance);
            $params = "instance={$instance}&collection=${coll}&node={$node}";
            if ($items != null) {
                if (!is_array($items))
                    $items = array (
                        $items
                while (list ($i, $it) = each($items)) {
                    $params .= "&item={$it}";
            $params .= "&{$this->authToken}";
            return RTC::http_get("{$this->baseURL}app/rtc?{$params}", $this->authHeaders);
        // Publish an item
        function publishItem($room, $collection, $node, $item, $overwrite = false) {
            $headers = array_merge($this->authHeaders, array ( "Content-Type" => 'text/xml' ));
            $instance = str_replace("#room#", $room, $this->roomInstance);
            $params = "instance={$instance}&action=publish&collection={$collection}&node={$node}";
            if ($overwrite) $params .= "&overwrite={$overwrite}";
            $params .= "&{$this->authToken}";
            $data = "<request>" . RTC::array_toXML($item, "item") . "</request>";
            return RTC::http_post("{$this->baseURL}app/rtc?{$params}", $data, $headers);
        // Retract an item
        function retractItem($room, $collection, $node, $itemID) {
            $instance = str_replace("#room#", $room, $this->roomInstance);
            $data = "instance={$instance}&collection={$collection}&node={$node}&item={$itemID}&{$this->authTo ken}";
            return RTC::http_post("{$this->baseURL}app/rtc", $data, $this->authHeaders);
        // Set user role
        function setUserRole($room, $userID, $role, $coll = null, $node = null) {
            $instance = str_replace("#room#", $room, $this->roomInstance);
        $data = "instance={$instance}&action=setrole&user={$userID}&role={$role}";
        if ($coll != null)
            $data .= "&collection={$coll}";
        if ($coll != null)
            $data .= "&node={$node}";
        $data .= "&{$this->authToken}";
            return RTC::http_post("{$this->baseURL}app/rtc", $data, $this->authHeaders);
        // Returns information about the account, if active
        function getAccountInfo() {
            $acctid = explode('/', $this->roomInstance);
            $acctid = $acctid[0];
            $data = RTC::http_get("{$this->baseURL}app/account?account={$acctid}&{$this->authToken}", $this->authHeaders);
            return $data;
        // Returns information about the room/instance, if active
        function getRoomInfo($room) {
            $instance = str_replace("#room#", $room, $this->roomInstance);
            $data = RTC::http_get("{$this->baseURL}app/account?instance={$instance}&{$this->authToken}", $this->authHeaders);
            return $data;
        private function do_initialize() {
            if ($this->contentPath)
                return true;
            $data = RTC::http_get("{$this->url}?mode=xml&accountonly=true&{$this->authToken}", $this->authHeaders);
            if (RTC::$DEBUG)
                echo $data;
            try {
                $xml = new SimpleXMLElement($data);
            } catch (Exception $e) {
                throw new RTCError("bad-response");
            if ($xml->getName() == "meeting-info") {
                $this->baseURL = '' . $xml->baseURL['href'];
                $this->url = rtrim($this->baseURL, '/') . parse_url($this->url, PHP_URL_PATH);
                $this->contentPath = '' . $xml->accountPath['href'];
                if ($xml->room)
                    $this->roomInstance = '' . $xml->room['instance'];
                return true;
            if ($xml->getName() == "result") {
                if ($xml['code'] == "unauthorized") {
                    if ($xml->baseURL) {
                $this->baseURL = '' . $xml->baseURL['href'];
                $this->url = rtrim($this->baseURL, '/') . parse_url($this->url, PHP_URL_PATH);
                    $authURL = '' . $xml->authentication['href'];
                    if (substr($authURL, 0, 1) == '/') {
                        $authURL = $this->baseURL . $authURL;
                    $this->authenticator = new RTCAuthenticator($authURL);
                    return false;
            throw new RTCError($data);
    class RTC {
        public static $DEBUG = false;
        public static $USE_CURL = false;
        public static $VERSION = '$Revision: #1 $ - $Date: 2010/07/26 $';
        function http_get($url, $headers = null) {
            if (RTC::$DEBUG) {
                echo "http_get: {$url}\n";
                if ($headers != null)
                    print_r($headers);
            if (RTC::$USE_CURL) {
                 * use curl library
                $req = curl_init($url);
                //if (RTC::$DEBUG) curl_setopt($req, CURLOPT_VERBOSE, true);
                curl_setopt($req, CURLOPT_RETURNTRANSFER, true);
                curl_setopt($req, CURLOPT_FOLLOWLOCATION, true);
                curl_setopt($req, CURLOPT_SSL_VERIFYPEER, false);
                if ($headers)
                    curl_setopt($req, CURLOPT_HTTPHEADER, $headers);
                $resp = curl_exec($req);
                $error = curl_error($req);
                if ($error == "")
                    $status = curl_getinfo($req, CURLINFO_HTTP_CODE);
                else
                    $status = $error;
                curl_close($req);
                if ($error != "" && $status != 200)
                    throw new RTCError($error);
                else
                    return $resp;
            } else {
                 * use streams
                if ($headers == null)
                    $header = '';
                else {
                    $header = "";
                    foreach ($headers as $name => $value) {
                        if ($header != "")
                            $header .= "\r\n";
                        $header = $header . $name . ": " . $value;
                $opts = array (
                    'http' => array (
                        'method' => 'GET',
                        'header' => $header
                $context = stream_context_create($opts);
                $fp = fopen($url, 'r', false, $context);
                if (!$fp)
                    throw new RTCError("connection-failed");
                $meta = stream_get_meta_data($fp);
                $statusLine = explode(' ', $meta['wrapper_data'][0], 3);
                $resp = stream_get_contents($fp);
                fclose($fp);
               // printf("<pre>%s</pre>", print_r($meta, TRUE));
                //printf("<pre>%s</pre>", print_r($resp, TRUE));
                //printf("<pre>%s</pre>", print_r($statusLine, TRUE));
                if ($statusLine[1] == "200" | $statusLine[1] == "302")
                    return $resp;
                else
                    throw new RTCError($statusLine[1]);
        function http_post($url, $params, $headers = null) {
            if (is_array($params))
                $data = http_build_query($params);
            else
                $data = $params;
            if (RTC::$DEBUG) {
                echo "http_post: {$url} {$data}\n";
                if ($headers != null)
                    print_r($headers);
                if ($root == 'configuration')
                    $result .= '</field>';
                else
                    $result .= '</property>';
            if ($root != null)
                $result .= "</{$root}>";
            return $result;
    if (!isset($_SERVER['QUERY_STRING'])) {
      function usage($progname) {
        echo "usage: {$progname} [--debug] [--host=url] account user password command parameters...\n";
        echo "\n";
        echo "where <command> is:\n";
        echo "    --list\n";
        echo "    --create room [template]\n";
        echo "    --delete room\n";
        echo "    --delete-template template\n";
        echo "    --ext-auth secret room username userid role\n";
        echo "    --invalidate room\n";
        echo "\n";
        echo "    --get-node-configuration room collection node\n";
        echo "    --fetch-items room collection node\n";
        echo "    --register-hook endpoint [token]\n";
        echo "    --unregister-hook\n";
        echo "    --hook-info\n";
        echo "    --subscribe-collection room collection\n";
        echo "    --unsubscribe-collection room collection\n";
        echo "    --create-node room collection [node]\n";
        echo "    --remove-node room collection [node]\n";
        echo "    --set-user-role room userID role [collection [node]]\n";
        echo "    --publish-item room collection node itemID body\n";
        echo "    --retract-item room collection node itemID\n";
        exit(1);
      function getRole($role) {
        $role = strtolower($role);
        if ($role == "none")
          return RTCUserRole::NONE;
        else if ($role == "lobby")
          return RTCUserRole::LOBBY;
        else if ($role == "viewer")
          return RTCUserRole::VIEWER;
        else if ($role == "publisher")
          return RTCUserRole::PUBLISHER;
        else if ($role == "owner")
          return RTCUserRole::OWNER;
        else if (is_numeric($role))
          return intval($role);
        else
          throw new RTCError("invalid-role");
      // running from the command line
      $args = $_SERVER['argv'];
      $progname = array_shift($args);
      $host = "http://connectnow.acrobat.com";
      $accountName = "<YOUR DEVELOPER ACCOUNT NAME>";
      $username = "sdkuser";
      $password = "sdkpassword";
      while (count($args) > 0) {
        $arg = $args[0];
        if ($arg == "--debug")
          RTC::$DEBUG = true;
        else if (strncmp($arg, "--host=", 7) == 0)
          $host = substr($arg, 7);
        else if (strncmp($arg, "-", 1) == 0) {
          echo "invalid option: $arg\n";
          $args = array();
        else
          break;
        array_shift($args);
      if (count($args) < 3) {
        usage($progname);
      $accountName = array_shift($args);
      $username = array_shift($args);
      $password = array_shift($args);
      $host = rtrim($host, '/');
      $accountURL = "{$host}/${accountName}";
      try {
        $am = new RTCAccount($accountURL);
        $am->login($username, $password);
        if (count($args) == 0 || $args[0] == "--list") {
          echo "==== template list for {$accountName} ====\n";
          foreach ($am->listTemplates() as $t) {
            echo "{$t->name}:{$t->created->format(DATE_RFC822)}\n";
          echo "==== room list for {$accountName} ====\n";
          foreach ($am->listRooms() as $r) {
            echo "{$r->name}:{$r->desc}:{$r->created->format(DATE_RFC822)}\n";
        else if ($args[0] == "--create") {
          $am->createRoom($args[1], count($args) > 2 ? $args[2] : null);
        else if ($args[0] == "--delete") {
          $am->deleteRoom($args[1]);
        else if ($args[0] == "--delete-template") {
          $am->deleteTemplate($args[1]);
        else if ($args[0] == "--ext-auth") {
          if (count($args) >= 6)
            $role = getRole($args[5]);
          else
            $role = RTCUserRole::LOBBY;
          $session = $am->getSession($args[2]);
          $token = $session->getAuthenticationToken($args[1], $args[3], $args[4], $role);
          echo $token . "\n";
        else if ($args[0] == "--info") {
          if (count($args) == 1) {
            echo $am->getAccountInfo();
          } else {
            echo $am->getRoomInfo($args[1]);
        else if ($args[0] == "--get-node-configuration") {
          echo $am->getNodeConfiguration($args[1], $args[2], $args[3]);
        else if ($args[0] == "--fetch-items") {
          echo $am->fetchItems($args[1], $args[2], $args[3]);
        else if ($args[0] == "--register-hook") {
          if (count($args) > 2)
            echo $am->registerHook($args[1], $args[2]);
          else
            echo $am->registerHook($args[1]);
        else if ($args[0] == "--unregister-hook") {
          echo $am->unregisterHook();
        else if ($args[0] == "--hook-info") {
          echo $am->getHookInfo();
        else if ($args[0] == "--subscribe-collection") {
          if (count($args) > 3)
            echo $am->subscribeCollection($args[1], $args[2], $args[3]);
          else
            echo $am->subscribeCollection($args[1], $args[2]);
        else if ($args[0] == "--unsubscribe-collection") {
          if (count($args) > 3)
            echo $am->unsubscribeCollection($args[1], $args[2], $args[3]);
          else
            echo $am->unsubscribeCollection($args[1], $args[2]);
        else if ($args[0] == "--publish-item") {
          echo $am->publishItem($args[1], $args[2], $args[3],
            array( 'itemID' => $args[4], 'body' => $args[5] ));
        else if ($args[0] == "--retract-item") {
          echo $am->retractItem($args[1], $args[2], $args[3], $args[4]);
        else if ($args[0] == "--create-node") {
          echo $am->createNode($args[1], $args[2], $args[3]);
        else if ($args[0] == "--remove-node") {
          if (count($args) > 3)
            echo $am->removeNode($args[1], $args[2], $args[3]);
          else
            echo $am->removeNode($args[1], $args[2]);
        else if ($args[0] == "--set-user-role") {
          $role = getRole($args[3]);
          if (count($args) > 5)
            echo $am->setUserRole($args[1], $args[2], $role, $args[4], $args[5]);
          else if (count($args) > 4)
            echo $am->setUserRole($args[1], $args[2], $role, $args[4]);
          else
            echo $am->setUserRole($args[1], $args[2], $role);
        else {
          usage($progname);
      } catch(RTCError $e) {
        echo "Error: {$e}";
    ?>
    Thanks,
    Vishnu

  • Published report will not run; works fine in VS2010 debug mode.

    Have 64bit Visual Studio Ultimate installed, CRv13_1 and MSSQL 2008 R2.
    The issue I am having is the report work like a champ when I run the web application in debug mode. IE I hit the run button in Visual Studio, However when I publish the application the report will not run. I get various errors depending on how I have connected to report to MSSQL. I have tried ODBC and OLE DB connections. I have tried Windows authentication and MSSQL user login. The results are the same. the report works fine in debug mode but will not work when published. The most common error message is :
    Error
    Database logon failed.
    or
    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
    Depending on how I am authenticating. I have Google this issue and there are tons of posts about it but no solutions. Any help would be appreciated.

    See if the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de] helps.
    I'd settle on the prefered connection method and troubleshoot that. Use the search box in the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Also, search these forums. There is lots of info here and lots of answers.
    - Ludek

  • MAB status is "NOT RUN" on the IP-PHONE

    Hi
    I have ISE 1.1 and cisco 2960
    I configured MAB in the ISE for the IP phone and the printer
    It work because user can print and use IP phone for call
    But log is not good for the IP phone
    PRINTER use MAB but The  IP phone use dot1x instead of MAB (log below)
    There is no computer connected behind the IP phone
    I am planning to connect computer on some IP phone in the future, so your helps and suggestion should take care of it
    Why MAB is not work on the IP PHONE
    Thanks in advance for your help
    PRINTER PORT
    ISESWITCH#show auth sessions int f0/2  
                Interface:  FastEthernet0/2
              MAC Address:  a0b3.cc9d.6ebb
               IP Address:  192.168.1.150
                User-Name:  A0-B3-CC-9D-6E-BB
                   Status:  Authz Success
                   Domain:  DATA
          Security Policy:  Should Secure
          Security Status:  Unsecure
           Oper host mode:  multi-auth
         Oper control dir:  both
            Authorized By:  Authentication Server
              Vlan Policy:  10
                  ACS ACL:  xACSACLx-IP-PERMIT_ALL-52179aa0
          Session timeout:  N/A
             Idle timeout:  N/A
        Common Session ID:  0AFD190A00000B4E11F6003A
          Acct Session ID:  0x000013FF
                   Handle:  0x27000B4E
    Runnable methods list:
           Method   State
           dot1x    Failed over
           mab      Authc Success
    IP PHONE PORT
    ISESWITCH#show auth sessions int f0/3
                Interface:  FastEthernet0/3
              MAC Address:  001a.7ea7.4a3f
               IP Address:  192.168.2.16
                   Status:  Running
                   Domain:  UNKNOWN
          Security Policy:  Should Secure
          Security Status:  Unsecure
          Oper host mode:  multi-auth
         Oper control dir:  both
          Session timeout:  N/A
             Idle timeout:  N/A
        Common Session ID:  0AFD190A00000B5011F7919A
          Acct Session ID:  0x0000140D
                   Handle:  0xC3000B50
    Runnable methods list:
           Method   State
           dot1x    Running
           mab      Not run
    ISESWITCH#
    configuration of each switch port
    interface fastEthernet0/x
    switchport access vlan 2
    switchport mode access
    ip access-group ACL-DEFAULT in
    authentication host-mode multi-auth
    authentication open
    authentication order dot1x mab
    authentication priority dot1x mab
    authentication port-control auto
    mab
    dot1x pae authenticator
    spanning-tree portfast

    Sample configuration on interface for MAB
    interface range g0/x
    switchport mode access
    authentication port-control auto
    dot1x pae authenticator
    mab
    authentication open
    authentication host-mode multi-auth
    switchport access vlan x
    switchport voice vlan x
    authentication order mab dot1x
    authentication priority dot1x mab
    no shutdown

  • [svn] 3739: Fixing recent change to prelink to not run more than once for compc.

    Revision: 3739
    Author: [email protected]
    Date: 2008-10-19 09:54:37 -0700 (Sun, 19 Oct 2008)
    Log Message:
    Fixing recent change to prelink to not run more than once for compc.
    QE: Yes
    Doc: No
    Checkintests: Pass
    Reviewer: Gaurav
    Bugs:
    SDK-17411 - Font embedding not working for mxml class
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17411
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java

    Revision: 3739
    Author: [email protected]
    Date: 2008-10-19 09:54:37 -0700 (Sun, 19 Oct 2008)
    Log Message:
    Fixing recent change to prelink to not run more than once for compc.
    QE: Yes
    Doc: No
    Checkintests: Pass
    Reviewer: Gaurav
    Bugs:
    SDK-17411 - Font embedding not working for mxml class
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17411
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java

Maybe you are looking for