Portal JCo's using SNC

I have configured a Jco in my SLD, configured a system in the portal and the connection test to the backend is successful.
I then changed the System properties in the portal to SNC and the connection still worked.
I then changed the JCo in the SLD but the Pint and Test from the SLD using the SNC Jco now does not work.  The following errors occur
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: connection closed without message (CM_NO_DATA_RECEIVED)
Failed to ping JCo destination 'SAP_R3_HumanResources'
Any clues

Hi Graham,
Please have a look at [JCo Exceptions  |http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm]
Hope it will helps
Regards
Arun

Similar Messages

  • Configure SSO for ITS to R/3 using SNC/Kerberos

    Our R/3 systems had been configured for SSO using SNC and Kerberos for awhile now.  We now have a requirement to configure SSO between ITS and R/3.  Since our R/3 env. has been using kerberos library, we won't be able to use SAP Cryptographic library.  I had modified the registry, environment and services in itsadmin to point to the kerberos library and principal names for agate and r/3 servers as described in SNC User Guide; also, I updated table SNCSYSACL with the Agate SNC name.  That seems to work fine.  From the trace file, it recognized GSS-API library for Kerberos and the SNC name for Agate.  However, when I tried to logon to R/3 from ITS, I still am being prompted with the logon screen to enter my SAP account/password.
    I found several whitepapers and documentations stating that ITS does support Kerberos for SSO but I couldn't find any procedure on how to implement it.  Following is the error I'm getting from the sapbasis.trc file but I can't find any document on this error:
    =====================================================
    [Thr 5284] SncInit(): Initializing Secure Network Communication (SNC)
    [Thr 5284]       PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
    [Thr 5284] SncInit(): Trying environment variable SNC_LIB as a
          gssapi library name: "C:\WINNT\system32\gsskrb5.dll".
    [Thr 5284]   File "C:\WINNT\system32\gsskrb5.dll" dynamically loaded as GSS-API v2 library.
    [Thr 5284]   The internal Adapter for the loaded GSS-API mechanism identifies as:
      Internal SNC-Adapter (Rev 1.0) to Kerberos 5/GSS-API v2
    [Thr 2888] Sun Jan 15 22:44:59 2006
    [Thr 2888] <<- ERROR: SncSetParam()==SNCERR_PARAM_DENIED
    [Thr 2888] *** WARNING => NO Domain! domain==NULL means: No domain at all within the cookie. [sapss1_loctr 333]
    [Thr 2888] Sun Jan 15 22:45:29 2006
    [Thr 2888] *** WARNING => NO Domain! domain==NULL means: No domain at all within the cookie. [sapss1_loctr 333]
    =====================================================
    Does anyone know what am I missing?  Any help is greatly appreciated.
    Thank you!
    Diem

    Hi Markus,
    I also just installed/configured PAS for LDAP authentication using the "PAS for External Authentication Mechanisms" documentation.  I think the domain problem probably due to not having the external authentication mechanism install (in this case - PAS).  Does that sound right to you?
    I tried both options for ~extid_type parameter = "LD" and "UN".  I added the DN information to table USREXTID when ~extid_type="LD" but both options gave me error of "LDAP authentication failed".  I increased the trace level for sapextaut.trc but I don't see enough detail information.  Following are the errors/data from the trace file.  Can you please let me know how I can tell what string is being passed for authentication? 
    I'm quite sure the LDAP host and port data is correct since we've been using the same information for the SAP LDAP connector and we've been using our LDAP connector between MS AD and R/3 for a long time without any problem. 
    To logon to R/3 through ITS, I entered the AD account (CN attribute in AD) when I got the errors.
    Thank you very much for all your help.
    Diem Tran
    Trace:
    =====================================================
    2006-01-18T01:39:30.734 p001688 t4992 s0158B4E8 [sapextauth,  437]: W sapextauth: PAS session begins...
    2006-01-18T01:39:30.734 p001688 t4992 s0158B4E8 [sapextauth,  456]:     sapextauth: SncNameR3 is:    "p:na1adm/[email protected]"
    2006-01-18T01:39:30.734 p001688 t4992 s0158B4E8 [sapextauth,  462]:     sapextauth: SncNameAGate is: "p:[email protected]"
    2006-01-18T01:39:30.750 p001688 t4992 s0158B4E8 [sapextauth,  468]:     sapextauth: SNC_LIB is:      "C:\WINNT\system32\gsskrb5.dll"
    2006-01-18T01:39:30.750 p001688 t4992 s0158B4E8 [sapextauth,  568]:     sapextauth: XGatConnectSession leaving....
    2006-01-18T01:39:30.750 p001688 t4992 s0158B4E8 [sapextauth,  616]:     sapextauth: XGatHandleLogin called....
    2006-01-18T01:39:30.750 p001688 t4992 s0158B4E8 [sapextauth,  976]:     sapextauth: Entering XGatHandleLogin with LDAP...
    2006-01-18T01:39:30.750 p001688 t4992 s0158B4E8 [sapextauth,  993]: W Either ~login or ~password missing, returning XGDKRCloginrequired.
    2006-01-18T01:39:50.281 p001688 t4992 s00000000 [sapextauth,  398]:     sapextauth: XGatEventOpenSession called...
    2006-01-18T01:39:50.281 p001688 t4992 s0158B4E8 [sapextauth,  616]:     sapextauth: XGatHandleLogin called....
    2006-01-18T01:39:50.281 p001688 t4992 s0158B4E8 [sapextauth,  976]:     sapextauth: Entering XGatHandleLogin with LDAP...
    2006-01-18T01:39:50.296 p001688 t4992 s0158B4E8 [sapextauth, 1059]:     sapextauth: LDAP port ist 389
    2006-01-18T01:39:50.296 p001688 t4992 s0158B4E8 [sapextauth, 1261]: E sapextauth: LDAP authentication failed.
    2006-01-18T01:39:50.296 p001688 t4992 s0158B4E8 [sapextauth, 1277]: E sapextauth: Wrong try for user Tran_Diem
    2006-01-18T01:39:59.140 p001688 t4992 s00000000 [sapextauth,  398]:     sapextauth: XGatEventOpenSession called...
    2006-01-18T01:39:59.156 p001688 t4992 s0158B4E8 [sapextauth,  616]:     sapextauth: XGatHandleLogin called....
    2006-01-18T01:39:59.156 p001688 t4992 s0158B4E8 [sapextauth,  976]:     sapextauth: Entering XGatHandleLogin with LDAP...
    2006-01-18T01:39:59.156 p001688 t4992 s0158B4E8 [sapextauth, 1059]:     sapextauth: LDAP port ist 389
    2006-01-18T01:39:59.156 p001688 t4992 s0158B4E8 [sapextauth, 1261]: E sapextauth: LDAP authentication failed.
    2006-01-18T01:39:59.156 p001688 t4992 s0158B4E8 [sapextauth, 1277]: E sapextauth: Wrong try for user Tran_Diem
    =======================================================

  • Scheduling BW Crystal Reports Using SNC?

    Here is the workflow that I am trying to handle:
    I have created a Crystal report against a BW query and published that report to our BOE environment.  That report is currently being scheduled to run in BOE using my BW credentials under Database Configuration.  I do not want to continually maintain the BW credentials under Database Configuration when password changes occur.
    Can I avoid this maintenance by enabling server-side SNC between BW and BOE?

    I don't know the expiration, you'd have to test but if users login with SAP then a token is cached for a pretty long time (even after system reboots) They do eventually expire in some cases and you run into issues if users change their passwords in SAP. You can use SNC to work around those issues if they are even issues. So if your users change their passwords often and you see the logon token expiring then use SNC server trust (KB 1500150 will have all the info you need) else try without.
    Regards,
    Tim

  • Performance Impact When Using SNC Communication

    Hello,
    Does anybody know if and how much performance impact there is if we use SNC for communication between the SAP Server and SAPGUI?
    I think there are two areas that may be impacted; Network and server CPU.
    For network load, I did find a part in "Front-End Network Requirements for SAP Business Solutions" document saying "overhead of roughly 350 bytes per user interaction step" but it does not specify the type of encryption.  I wonder if there is any other info on this?
    For CPU impact, how much overhead should I consider for sapgui access?
    I see no field for this in the quicksizer and I can't seem to find any white papers on this subject.
    Thank you in advance.

    >
    Peter Adams wrote:
    > Ken,
    >
    > if you plan to use SAPcryptlib for SNC between SAP servers, then you should use a SAPcryptolib-compatible solution for the SNC communication between SAPGUI and SAP server, and there is only one vendor who can provide this. Let me know, if you need help finding it. My contact information is in my SDN business card.
    Just so Kan is clear - It is not legal to use the SAP cryptolib provided by SAP for SNC between SAP GUI and SAP servers, so if x.509 is the desired mechanism you need to purchase additional software from the company which Peter works for to provide SAP GUI SNC-based SSO. I think instead, Kan might be using the free SAP supplied SNC Kerberos library, which is why I asked him to confirm this in my last post. I doubt he is interested to buy any third party software.
    > As to the performance discussion: first of all, yes, there will be a small performance impact if SNC is used (no matter which type or implementation), but from our experience with many actual SNC implementations, I can state that this is practically not relevant. It is not noticeable by users. There were never any performance discussions with customers. See also SAP Note 1043694.
    I agree with this - the performance impact is not noticed by users, but the system managers who look after the servers where SAP is installed, and the team responsible for the network need to be aware of any differences (if any) when SNC is turned on and when SNC is turned off. I think this is why Kan is asking these questions, not because he is concerned about users noticing any difference when they logon to SAP.
    > Just a first quick comment on certain statements above: Tim's arguments for proving his overall statement are not conclusive from my perspective. Nor do I think his overall statement itself is correct.
    The facts I mentioned are well known facts, e.g. symmetric crypto is far better from performance point of view than asymmetric. I know the examples I have shown which I found when doing a quick google search were not conclusive, but they were shown as initial examples, not necessarily the best examples. This is why I specifically mentioned that if you search in google yourself you will see many more references where comparisons are done between Kerberos (e.g. symmatric) compared with PKI (e.g. asymmetric).
    > First of all, he only selects one aspect of performance - CPU impact of encryption algorithms.
    No, I didn't. Some of the examples I referred to also discuss other differences. I also mentioend other differences such as memory and what protection level is used when configuring SNC.
    > But for a true comparison, you'd have to look at all relevant aspects (latency, network overhead, ...).
    Yes, I agree. No doubts here.
    >Network performance overhead is usuallly worse with Kerberos than with PKI.
    This is not true. When SAP is using SNC, the GSS-API standard is used and so the only network communication involves SAP software sending a standard GSS token from the workstation to the SAP server, and this GSS token is often about the same size, regardless of which mechanism is used, so any network performance differences are not related to the mechanism, but more related to the complexity of the cryptography used on each end (mostly on the server side).
    >Second, you need to look at the specific usage scenario. For example, the first report referenced by Tim is an analysis about different Token Profile mechanism for WS Security, for one specific implementation. This does not allow to draw any conclusion for the SNC use case in general, and for sure not for a specific implemenation. It does not take the overhead for the encryption of the message content into account. Third, Tim associates PKI exclusively with asymmetric encryption. Yes, it is well known that asymmetric algorithms are slower than symmetric ones, but it is also well known that the encryption of the message content (by far the majority of the data) happens with symmetric encryption algorithms in the PKI scenario. With PKI-based SNC, you can even select a symmetric algorithm and use a more performant one that the ones that Kerberos prescribes.
    Kerberos works with many different symmetric algorithms as well, so mentioning that the alg is selectable is not relavent to any comparison.
    > To summarize, I will try and collect facts that will support the opposite point of view. From our practical experience, the performance overhead is not relevant, and criteria like consistency with SAPcryptolib, strength of security, ease of administration, choice of authentication and encryption mechanism, etc. are much more important.
    >
    > Peter

  • Unable to create a jco destination using remote AS Java system on myjava sy

    Dear SAP Gurus,
                  I had ce 7.1 and nw 2004s based AS java Systems.I want to create a jco destination in my CE 7.1 system using usermapping data of  nw 2004s for jco communication.So i created a AS Java  system of NW2004s in my CE 7.1 SLD .when i try to create a jco destination using the AS JAVA as Nw2004s system it is not creating .Please help me to solve this issue.
    regards,
    vanamaSanthosh.

    Hi vanamaSanthosh
    try this
    1. In your CE1 System where u define your JCO destination, Go to C:\WINDOWS\system32\drivers\etc
    open hosts file and define the  identity of AS System like <IP address> <name of the system>
    for example 159.858.2.45  abcd
    restart the server and then check.
    Best Regards
    Satish Kumar

  • How to search for the list of portal components that use a certain LOV?

    hi,
    does anyone know how to search for all of those portal components which use a certain other component?
    let's make it specific. how can i know which of the portal components (portal reports and forms, content folders, etc) are using any certain LOV?
    will really appreciate any hints.
    naqvi

    Please ask this question in the Oracle Text forum (formerly interMedia text). You will get the experts that work with it every day there.

  • How to confirm if Web Logic Portal Application is using NETUI PageFlow?

    How to confirm if Web Logic Portal Application is using NETUI PageFlow?

    One easy way is:
    View Page Source via Browser and search for Javascript method getNetuiTagName.

  • Saprouter to Saprouter using SNC

    Hi.. we already have a saprouter (routerA) using SNC connected to SAP for the OSS connection.
    Now we were thinking to create anothe snc connection from routerA to another saprouter (routerB).
    Which distinguish name that we should use and how is the process ? found documents on setting up SNC to SAP, and we can get our distinguish name from SAP.
    But for connection to another SAP i could not find any.
    Suggestion and reply really appreciated.. thank you

    Hi,
    First of all,why do you require another router?
    Call up the nearest SAP center for more details.
    Rgs
    vikas

  • JCo Connection using file.properties doesn't work when deployed

    Hello Experts,
    I'm trying to connect to a SAP backend system using the JCo connection.
    I've tyed with the standard connection, crating dinamically the connection and it works fine:
    mConnection = JCO.createClient("001", // SAP client
    "sap.user", // userid
    "********", // password
    "IT", // language
    "ashost.domain.dom", // application server host name
    "06"); // system number
    mConnection.connect();
    Then I tryed to store the login data in a file 'login.properties' put in the same package of my connection classes.
    The code is:
    String[] logonStr = new String[5];
    Properties properties = new Properties();
    try {
    InputStream is = getClass().getResourceAsStream("login.properties");
    properties.load(is);
    } catch (Exception e) {
    e.printStackTrace();
    logonStr[0] = PropertyManager.getProperty(applicationProperties,"jco.client.client");
    logonStr[1] = PropertyManager.getProperty(applicationProperties,"jco.client.user");
    logonStr[2] = PropertyManager.getProperty(applicationProperties,"jco.client.passwd");
    logonStr[3] = PropertyManager.getProperty(applicationProperties,"jco.client.ashost");
    logonStr[4] = PropertyManager.getProperty(applicationProperties,"jco.client.sysnr");
    mConnection = JCO.createClient(logonStr[0],      // SAP client
    logonStr[1],    // userid
    logonStr[2],    // password
    "IT",           // language
    logonStr[3],    // application server host name
    logonStr[4]);   // system number
    If I test locally this code it works fine and the login datas are extracted from the 'login.properties' file.
    But when I deploy my PAR file in the Portal seems that the 'login.properties' file isn't found by my application...
    Which could be the cause??
    Could it be a permission problem??
    Any Ideas?
    Thanks in Advance,
    Best Regards

    Hi Shyam,
    Thanks for your answer!
    I could use the string "ashost.domain.dom" instead to extract it from the 'login.properties' but I need also the others login info as username and password.
    My problem is that the 'login.properties' file is not found by my application when the PAR file is deployed in the portal...
    I need to know if I need to move the 'login.properties' file in another package or something else...
    Any ideas??
    Have I to declare the .properties file in some configuration file (for example portalapp.xml or somthing similar..) ??
    Best Regards...

  • Wrong JCO destination used at Runtime

    hi,
    I created a Model using the following JCO Destinations
    'WD_RFC_METADATA_DEST_HCM'
    When I run the application, it gives me folowing error
    Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD
    Where is it getting this 'WD_RFC_METADATA_DEST'  ? though my JCO destination name is 'WD_RFC_METADATA_DEST_HCM'
    Thanks !
    seventyros

    Hi,
    Make sure you deploying to the SAME server where you have configured and maintained the JCo destination.
    Also check the server name and port when you are running your WD application and server name and port you are using for WD content administration.
    Also What is the version of your NWDS ?
    In NWDS 7.1, we would require a totally different way to maintain the JCo destinations comparing to the past.
    We now have to maintain the JCo destinations not in the JCo Connection Administrator, but in the NWA under u201CConfiguration Managementu201D - > Security -> Destinations.
    This [doc|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09527da-39a7-2b10-9f99-c6a007e516a5?overridelayout=true] explains the same...
    Regards,
    Vijay.

  • Configure WebSphere Portal Server to use LDAP (Oracle Internet Directory)

    I did configuration for WebSphere Portal to use security with LDAP Oracle Internet Directory (OID). The script for configuring works well (WPSConfig.bat action-secure-portal-ldap)
    But when i start Portal Server it cannot start successfully. I did check in log file and found a error on SystemOut.log as attachment log below. I don't know what happen with WebSphere Portal Server.
    If you guys know how to fix it please let me know or point me some documents to configure this again.
    Thanks in advanced.
    Servlet E com.ibm.wps.engine.Servlet init EJPFD0016E: Initialization of service failed.
    com.ibm.wps.ac.DomainAdministratorNotFoundException: EJPSB0107E: Exception occurred while retrieving the identity of the domain adminuser/admingroup uid=wpsadmin,cn=Users,dc=localhost,dc=com.

    There is no clear documentation available to enable custom security but IBM info center has decent documentation for LDAP based security. I would say follow the steps mentioned for IBM directory and then modify the necessary configuration parameters for OID. This should solve your issues. For better help open a PMR with IBM to get necessary quick help.

  • How to prevent a portal user from using the BEx Analyzer ?

    Hi,
    we have different type of users : most users may use the portal as well
    as the analyzer ;
    we have one special user with extended authorizations : this user
    should use the portal , where he has a limited set of queries to run
    with hardcoded filters ==> this user should not be able to use the
    analyzer however, since he then would be able to call all other queries
    by using the find function ;
    how can we make sure this user cannot use the analyzer , using SAP
    authorizations ?
    best regards,
    Erwin Van Giel.

    Hi,
    if I remove the complete S_RFC authorization for the user then the BEx Analyzer cannot connect anymore to the BW system, but neither can the user run reports from the portal : it needs the S_RFC with 'SYST'.
    If I only remove the RRMX from the S_TCODE and from the S_RFC, it does not prevent the user from starting the BEx Analyzer and connecting to the BW system. It only stops the user if he would start the RRMX transaction from within an SAPGUI session.
    Perhaps there should be a value in the S_RFC that allows connections from the portal but not from the BEx Analyzer .... ?
    so not solved yet ....
    best regards,
    Erwin.

  • Portal rendering errors using IE10

    Hi,
    We've recently patched all of our SAP systems (portal and backend) and checked we're at the requisite level for IE10 support in the PAM.
    We're currently in the process of testing all of our applications for IE10 compliance and have identified two issues which someone may have experienced or can advise upon:
    Issue 1) SAP Transaction iView (ITS) raising following error in popup dialog box 'The application was stopped due to a critical rendering error.  The IE compatibility view is not supported (Note 1586993).'
    This iView connects from our portal (EP 7.0 EHP2 SP14) to a backend SAP ERP (ECC) system patched to NW EHP3 (SP09).
    Note 1586993 is not particularly helpful as it simply states 'The administrator must assure, that IE frame content is compatible and correctly configured'.
    Additional research identified note 1970427 which I have applied to the backend system - subsequently I added application parameter 'sap-ie=EmulateIE8' to the iView (both within the iView config and at runtime) but this made no difference to the behaviour.
    I checked the user's framework page and the 'Browser Document Mode' iView is linked in and has it's property set to 'IE=EmulateIE7'.  I tried moving this iView further up the order sequence (i.e. putting it first) as well as changing it's setting to 'IE=EmulateIE8' but once again this had no effect on the behaviour.
    I notice when logging into the portal, at first the F12 console shows Browser Mode = 'IE10', Document Mode = 'IE5 quirks' but when the problematic iView renders, the Document Mode changes to 'Quirks' which I'm assuming is why the error occurs.
    I'm not sure what I can do to make the iView render in 'IE5 quirks' mode?
    This iView is called dynamically at runtime with some URL parameters that are passed to the backend transaction so I cannot follow the advice in note 1590563.
    Issue 2) BSP iView for 'CRM Web Interaction Centre' - all F4 dialog popups are displaying empty with no content, e.g. Inbox search help for classification field
    This iView connects from our portal (EP 7.0 EHP2 SP14) to a backend SAP CRM system patched to NW EHP2 (SP04).
    I tried setting my user parameter CRM_THTMLB_IE_COMP to 'IE8' but this had no effect.
    Note, if I set the IE10 property 'Display intranet sites in Compatibility View' both issues above are resolved.  We're trying to avoid this as we've had this setting in place for a number of years and it affects the correct operation of non-SAP applications.  Given there are numerous ways of making SAP operate by emulating older compatible IE versions, I expected we could work around needing to do this but it may be a last resort.
    Please offer any advice you can as it will be much appreciated.
    Thanks,
    Alan

    Hi Lawrence,
    We have a mixture of custom and SAP standard portal applications developed over the past 10 years.
    UI technologies include: Java Server Pages, Web Dynpro Java, ITS, BSP, Web Dynpro ABAP and BEx.
    Quite honestly, the portal hasn't proved to be the best SAP product in our experience, and we've tried hard to keep it patched up-to-date. OK, it offers integration and navigation but that capability is offered by the Fiori Launchpad, albeit presenting new challenges and possibly some limitations on the integration of existing applications.
    We could have opted to integrate the Fiori Launchpad with the portal but decided it was cleaner to perform a standalone installation on our newly built NetWeaver Gateway server.
    We're starting our Fiori journey by implementing selected SAP delivered apps for the first pilot projects then plan to replace or migrate existing portal applications.
    We'll replace any custom Java apps with UI5 apps built in-house as we need to rationalise UI technologies and this one is a prime candidate given the lack of in-house skills and SAP direction. 
    Our expenses application is currently an SAP ITS transaction iView in the portal but will be replaced with the My Travel and Expenses Fiori app this year.
    CRM Transaction Launch isn't used often so we may kill it off.
    BSP's are solely in the CRM area and I read they're not supported yet in the launchpad - hopefully they will be in a future version (?).
    We have quite a few Web Dynpro ABAP applications so these will take some time to rewrite if required (assuming we cannot port them).
    BEx may be replaced with Business Objects or taken out of the portal in favour of the Excel version we also run (portal offers little value for massive reports so users download to Excel in any case).
    My understanding is that the Fiori Launchpad does support integration of legacy SAP technologies so we'll need to gauge if and when we each a tipping point where any remaining portal applications can either be integrated with the launchpad or replaced with alternative new applications. Obviously all of the above will take time.
    We're working on developing a custom Fiori/UI5 theme and have hit a few snags. We've just patched to SP09 on our development Gateway system but the UI Theme Designer is still a bit flaky (we run the tool there but could also do this on our portal). My colleague is now trying the cloud version to see if that proves a more viable route. In either case we'll be seeking SAP assistance as we really want our UI5 apps to adopt recently developed corporate branding rules. Our portal currently uses a copy of Gold Reflection with simply the SAP logo replaced for our company's logo.
    If you have any further queries just let me know, or similarly advice/experience on the above.
    Hope this helps.
    Alan

  • How do I configure portal desktop to use my own custom tag in template?

    I seem to have tried everything. I want to use a custom tag from a jar file on a template JSP. I keep getting error saying tag library not found. I have the tld in the meta-inf of the jar. I tried putting the jar in the desktop classes, the deployed WEB-INF lib directory for portal, in the web-src directory for the portal. I tried configuring the uri in the web.xml for the portal webapp. None of these have worked. Does someone know how to do this? If someone could help out that would be great. I tries the jar from a web application and it worked fine. I just need to get this working with Portal Server.
    Thanks,
    Frank

    Thank you for the reply Alex. We are using the Dynamics AX 2012 R3 ISO for our installation. In the software requirement documentation for Dynamics AX it says that is able to run on Windows Server 2012 R2. I believe the prerequisites for Dynamics AX and
    Dynamics CRM are different. We received a response from another forum that you can change the .NET version that Sharepoint 2010 uses through IIS in the application pool, but even after setting it to .NET v2.0, we still receive the error in the Dynamics log
    that says it is not compatible with .NET v4.0. So I suppose the question is, where does the Dynamics AX 2012 R3 prerequisite checker look to see which version of .NET Sharepoint is using?
    Thanks again for the reply!

  • URL of the current portal page loaded using Javascript ?

    Hello:
    I am trying to add programmatically the url of the current
    page loaded in the portal to the 'Favorites List'. There
    is a pre-built KM iview to store your 'favorites'.
    I can extract and write to this 'favorites' using KM java
    API. But only challenge is to extract the current loaded
    page URL and title using Javascript.
    I would appreciate any help in this regard.
    Thank you very much,
    Prasad Nutalapati

    Dude i was having the exact same problem. I solved it using the SAP-provided EPCM (javascript client framework).
    Javascript Code
    var pageName = "";
    var URL = "";
    function bookmarkPage()
         /* page url */
         var fullURL = "https://<%=request.getServerName()%>/irj/portal?NavigationTarget=" + URL;
         /* IE bookmark */
         if(EPCM.getUAType() == EPCM.MSIE)
              window.external.AddFavorite(fullURL , pageName);
         else
              var msg = "Sorry. The \"Add To Favorites\" feature only works with Internet Explorer. " +
                          "The URL to this page is " + fullURL;
              alert(msg);
    /* get pagename from eventObject from subscribed event */
    function getPageObject(eventObj) {
        pageName = eventObj.dataObject.title;
        URL = eventObj.dataObject.URL;
    /* subscribe to event in pagetoolbar area */
    EPCM.subscribeEvent("urn:com.sapportals:navigation", "AddNavTargetAllowDuplicate", getPageObject);
    End of code
    Basically, what this does is that everytime a page loads, the innerpage, where the content is, raises an event using  the EPCM.raiseEvent() method. EPCM.subscribeEvent subscribes to an event called AddNavTargetAllowDuplicate which has an object holding the page information (i.e. page title and URL (ROLE://...)). Everytime that it notices an event raised, the function getPageObject gets called to go get data from the event object that is available globally in the framework.
    You should be able to put this code anywhere in any iview and it should work. Thou i have only tried putting it in the masthead. Try and if you still have questions please let me know.

Maybe you are looking for

  • Help on SWE_EVENT_CREATE

    My requirement is to trigger an event from a function module. According to the parameter passed to the workflow there should be a different workflow. Suppose I have passed approve as the parameter it will perform a diff task and when reject is passed

  • SRM 7.0 erp integration

    Hi all, is there a standard integration between SRM 7.0 and ERP? Thanks!

  • Dynamic change of headings in SQL Report

    Can you dynamically change a reports Column Heading Text. I want a selected value from the database to become 1 of the column headings.

  • Installing PHP on FMIS 3.5

    I've recently installed and set up a FMIS 3.5 setup and my web developer wants to have php on the server to create some dynamic content.  Trouble is, I can not for the life of me get PHP to work on the server.  Is there some special instructions that

  • Set cursor position

    Hi gurus,     In the transaction COIB (creation of serialized assemblies).I need to do the following... Program name  (SAPLCOIB - Standard program in module pool)       After i give the material no and serial no (in serialized assembly) by a barcode