Error: HTML content does not allow it to be displayed in a frame.

Hi,
We migrated our site from MOSS 2010 to 2013.system prevents html pages on other domains from hosting our site in a frame
because system assumes that external links have security threat.Please find the below error details.I got from different source that there is a workaround like: adding
<meta http-equiv="X-Frame-Options" content="ALLOW"> to the html file but it didn't work.Can you please guide me if I am missing anything .I am using IE-9.I think the line
<meta http-equiv="X-Frame-Options" content="ALLOW">
will help to resolve but I am missing something here.
<o:p></o:p>
Knowledge is power.

Hi,
Please try FormDigest control in your master page as
<asp:ContentPlaceHolderID="PlaceHolderFormDigest"runat="server">
                <SharePoint:FormDigestID="Formdigest1"runat="server"/>
</asp:ContentPlaceHolder>
Thanks! Best Regards, Prasham Sabadra http://prashamsabadra.blogspot.in

Similar Messages

  • Error : RFC Partner does not allow to start the Program.

    Hello Guys,
         I have a requirement where in  BAPI_DOCUMENT_CHECKOUTVIEW2  need to be  called from the front end (JAVA).
         When i run this BAPI in SAP it works fine ,when i run the same form front end it throws the error saying
              "RFC Partner does not allow to start the Program."( I have checked the error in debug mode).
             SAPGUI is installed at the JAVA developers desktop,still am facing this error.
            The error is thrown at the below code:
                      CALL FUNCTION 'RFC_PING'
                                                    DESTINATION 'SAPGUI'
                     EXCEPTIONS: communication_failure = 1 MESSAGE lf_msg_text
                                                  system_failure        = 2 MESSAGE lf_msg_text.
    Please suggest.
    Regards,
    Najam

    HI,
    You need a RFC path in this case.You can check SM59 and contact your basis team regarding this.

  • Iphone  4s error sending email does not allow relaying

    I am having problems sending emails on my new 4s iphone.  I have an account thru qwestoffice.net and Yahoo.  Both receive but will not send. Keep getting error message that says "recipient was rejected by the server because it does not allow relaying".  This happens with both email addresses.  I have set the accounts up with the same settings as I previously had on my Iphone 3g

    When you checked the information, did you check the outgoing server settings?
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • SSI Validation Error: doc type does not allow styles element in body of page

    When I validate my index page with wc.org, I get 2 errors regarding having styles elements h1-h6 in the body vs the head of the page.  My Nav and Footer are SSIs and I have used styles h1-h6 on them.
    Q.  Should I delete the h1-h6 styles from the beginning code of the Nav.htm and Footer.htm?
    Q.  If I delete that code, will they use the styles.css inserted in the head code of each pate?
    Thanks.

    The problem is this block of code belongs in the Head of yoru page, not in a TD  in the Body!  And you also have it below in the Footer.  So now I understand better yoru 2 original quesitons.  Yes, but htis code only in the Head of the page and it will work for the entire page, even for html inserted via Includes.  So remove this style block from all yoru Includes unless some fo them are designed to write into the Head of the page only.
    <style type="text/css">
    <!--
    h1 {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 16px;
         font-weight: bold;
         color: #008000;
    h2 {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 16px;
         font-style: italic;
         font-weight: bold;
         color: #E3372E;
    h3 {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 16px;
         font-weight: bold;
         color: #AB003C;
    h4 {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 16px;
         font-style: italic;
         font-weight: bold;
         color: #E62B86;
    h5 {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 14px;
         font-style: italic;
         font-weight: bolder;
         color: #E3372E;
    h6 {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 18px;
         font-weight: bold;
         color: #AB003C;
    -->
    </style>
    Or even better would be to put this into an external style sheet that
    all your pages can call (not the Includes, just the "real" pages!
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Error message, "server does not allow relaying".  Resolution?

    After I updated to iOS 7, my iPad stopped sending email from my primary account.  The Error message indicated an incorrect address, which was my email address@the IMAP server.  I deleted the account and re-entered the information.  Now the error message says, "Server doesn't allow for relaying".  Seeing as it did before, I assume this is correctable.  Couldn't find any info on how to do so.  Help?

    When you checked the information, did you check the outgoing server settings?
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • Content is not allowed in Prolog error while configuring File to Mail

    Hi Expert,
    I have a scenario where I have to pick up a file from FTP using sender File adapter and send this file as an attachment using Receiver Mail adapter.
    There are 3 requirements :
    1) File name of the attachment in the Mail should be same as the File picked from FTP.
    2) The Mail content should be "Please find attached the <Filename> for your reference.
         i.e The content has to be dynamic
    3) Subject of the Mail should be dynamic e.g : Apple_<Filename>
    I am facing the following issues :
    1. Since single File is picked up,the file is going as an payload and not as an attachment.As a result when i am doing message mapping,i am getting the error saying "Content is not allowed in prolog" in SXMB_MONI or Runtime workbench.
    2. Since we have dynamic requirements, i have to Use "Use Mail Package" option.It implies that i have to use Message Mapping.But if i use Message Mapping,i get the error "Content is not allowed in prolog".
    I understand that most of the experts would ask me to write UDF's, but if i use UDF i am getting the "Content is not allowed in prolog" error.
    Thanks
    Saurabh

    Hi Saurabh
    Try using PayloadSwapBean:
    http://help.sap.com/saphelp_nw70/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm
    "Content is not allowed in prolog" could be caused by some encoding issue.
    Regards,
    Giuseppe

  • Acrobat does not allow connection to

    Need help with this error message please.  Using Win7, saved a Word 2010 table of contents with multiple links to pdf files across internal servers as a PDF.  Also created the word doc w/multiple pdf links as a PDF file using acrobat9 standard and have same problems.   when a user with Adobe Reader 8+ clicks on a pdf link in the PDF table of contents file, they get an error message Acrobat does not allow connection to:   and they cannot open the linked file.  However, I am able to open the files using the same links with both reader and acrobat.   
    This worked previously until we upgraded to these versions of software... the error message shows a number of % signs and multiple ////.  However, i can open the fiile but others cannot.
    anyone have any ideas or is this a fix that i need to download?  

    not sure where my previous reply went; however, there are numerous machines at varuious sites that will be accessing this server/folder.  I am not sure if it is a trusted sites issue as the file lists numerous PDF links and some of them open to the respective pdf file and others recieve the mssage.  All the files reside on the same server within the same main folder and within subfolders.  never had the problem before.  the users can open some of the linked files and others the connection msg appears.  I however, am able to open the same links they get the error on.  I am totally baffled by this and have been troubleshooting for weeks now.  I just had acrobat X installed to see if that would help but still problem.  I also saved the word doc (2010) as pdf (which lists the links to the other pdfs) but users still have same problem.  there are approx 75 links within this doc and I truly hope we don't have to relink everything..

  • BAPI_DOCUMENT_CHECKIN2-Status does not allow you to change certain data

    Hi Gurus,
    I am uploading the DIR attached files for the Documents in PLM. We have a custom program written to upload the attached files. When I tried to upload the file I am getting the BAPI Return error as "Status does not allow you to change certain data". The status of all the documents is "RL"
    File format is
    Doc type  Document No   Rev           File Name
    JPS          0021581PS,     X,       /in/PLM/JAPAN/Files/0021581PS.xls
    Please help me I need to upload the data.
    Thanks,
    Deepthi

    Check the status network for your doc type in config. You may find that the current status may not allow you to make changes. You may need to change the current status to another status before you can make the changes you would like.
    The config settings will tell you the status you may set in order to make your changes, if they are allowed.

  • System setting does not allow changes to be object CLAS /1SEM/CL_FACTORY_30

    hi,
    Recently we upgraded our BW system from BW 3.0B to BW 3.5.In BW 3.5,we created a planning area to which we
    assigned a transactional cube.Now when we are going for creating variables or planning levels for the planning area it
    gives the following error:
    System setting does not allow changes to be object CLAS /1SEM/CL_FACTORY_300ZPLAN
    Our support packages are as following:
    SAP_BASIS       640                   0009
    SAP_ABA         640                   0009
    ST-PI           2005_1_640            0000
    PI_BASIS        2004_1_640            0006
    SAP_BW          350                   0009
    BI_CONT         353                   0000
    Could you please suggest or help us in resolving the issue ?
    thanks and regards,
    Yogesh

    Hello,
    the above mentioned note is too old. Please check note 781371.
    Please also check in transaction SM30 view V_TRNSPACE
    the record for /1SEM/:
    Namespace:     /1SEM/
    Namespace role C
    Repair License
    SSCR Popup     X
    SAP Standard   X
    Gen Objs Only  X
    Regards,
    Gregor

  • System setting does not allow... With implementing a SAPNOTE

    Hi all,
    I try to implement a manual activity of a SAPNOTE.
    But, when I want to modify a Source Program with SE38, I obtain the error :
    System setting does not allowe changes to be made to
    object PROG RFUMSV25
    The properties of client is which is open to modify of customizing from SCC4.
    thank a lot
    Davide

    Yes ther is:
    KE1K919403       BRUNODAVI2   Note Assistant - Nota n° 1150463
    |
    KE1K919404   BRUNODAVI2   Repair
    - Documentation
    - Single Message
    - Report Source Code
    -  Report Texts
               |----- RFUMSV25
    and this cr is transported into quality..!

  • TS4291 I can't send mail from my iPad apps, I just get the error message, 'The recipient- was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    I can't send mail from my iPad apps, I just get the error message, 'The recipient… was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Pplsft compIntf adapter: "XML Error: 1:1: Content is not allowed in prolog"

    Hi All,
    I am using the peoplesoft component interface adapter in IDM 5.5 and IDM 6.0.
    I configured the adapter, tested it successfully and enterred the details to create and provision a user to peoplesoft.
    But whenever I click on the save button in the end of the creation wizard I get this error:
    com.waveset.util.WavesetException: An error occurred adding user 'FX600859' to resource 'PeopleSoft Component Interface'. com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.I know the prolog is something about the first two lines and BOM and all - but this is like a really fresh install of IDM ( I tried and experienced the same error on both v 5.5 and 6.0) and have checked almost all the files which might be related to the user creation process.......... the error does not say which object has the defective prolog if at all..
    I have also enabled trace for a lot of classes (incrementally of course since I failed to get any info from the earlier traces..) Here are the classes/ methods that I have set show trace on:
    com.waveset.adapter.ResourceAdapterBase#createAccounts
    com.waveset.util.XmlParseException
    com.waveset.util.XmlUtil
    com.waveset.util.XmlParser
    com.waveset.adapter.PeopleSoftCompIntfcAdapter
    com.waveset.object.GenericObject
    com.waveset.adapter.ResourceAdapterBase
    All have a level of 4..... (the most verbose)
    here is the trace output:
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getFeatures() Info
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Object PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Object>
      <Attribute name='account'>
        <Object>
          <Attribute name='CASE_INSENSITIVE_IDS' value='account.CASE_INSENSITIVE_IDS'/>
          <Attribute name='CREATE' value='account.CREATE'/>
          <Attribute name='DELETE' value='account.DELETE'/>
          <Attribute name='DISABLE' value='account.DISABLE'/>
          <Attribute name='ENABLE' value='account.ENABLE'/>
          <Attribute name='EXCLUDE' value='account.EXCLUDE'/>
          <Attribute name='ITERATOR' value='account.ITERATOR'/>
          <Attribute name='LIST' value='account.LIST'/>
          <Attribute name='LOGIN' value='account.LOGIN'/>
          <Attribute name='PASSWORD' value='account.PASSWORD'/>
          <Attribute name='UPDATE' value='account.UPDATE'/>
        </Object>
      </Attribute>
    </Object>
    20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getFeatures() Exit returned= { account={ DISABLE=account.DISABLE, DELETE=account.DELETE, CASE_INSENSITIVE_IDS=account.CASE_INSENSITIVE_IDS, UPDATE=account.UPDATE, EXCLUDE=account.EXCLUDE, PASSWORD=account.PASSWORD, ENABLE=account.ENABLE, LIST=account.LIST, LOGIN=account.LOGIN, ITERATOR=account.ITERATOR, CREATE=account.CREATE } }
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Entry no args
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Info Getting identity FX600859
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Entry no args
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data host== com.waveset.object.ResourceAttribute@1d6fad7
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data host== chslx07.corp.fedex.com
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getOptionalStringResAttrVal() Data port== 18100
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data User== com.waveset.object.ResourceAttribute@ee5d13
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data User== IBCMGR
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Password== com.waveset.object.ResourceAttribute@1209d56
    20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Password== 88AF52E54FD71942:549D63D0:1098ECAEC1A:-7FFD|QS8v8QpqGTI=
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Successful connection with ISession psft.pt8.joa.Session@30380
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Exit void
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Fetching compIntfcName 'USER_PROFILE'
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Successfully got compIntfcName 'USER_PROFILE
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {UserID,FX600859}
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.invokeMethod {Get, {} }
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: [java.lang.Boolean] = false
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.invokeMethod
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Disconnecting from ISession psft.pt8.joa.Session@30380
    20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Exit void
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Entry no args
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Info
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Object PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Object>
      <Attribute name='account'>
        <Object>
          <Attribute name='CASE_INSENSITIVE_IDS' value='account.CASE_INSENSITIVE_IDS'/>
          <Attribute name='CREATE' value='account.CREATE'/>
          <Attribute name='DELETE' value='account.DELETE'/>
          <Attribute name='DISABLE' value='account.DISABLE'/>
          <Attribute name='ENABLE' value='account.ENABLE'/>
          <Attribute name='EXCLUDE' value='account.EXCLUDE'/>
          <Attribute name='ITERATOR' value='account.ITERATOR'/>
          <Attribute name='LIST' value='account.LIST'/>
          <Attribute name='LOGIN' value='account.LOGIN'/>
          <Attribute name='PASSWORD' value='account.PASSWORD'/>
          <Attribute name='UPDATE' value='account.UPDATE'/>
        </Object>
      </Attribute>
    </Object>
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Exit returned= { account={ DISABLE=account.DISABLE, DELETE=account.DELETE, CASE_INSENSITIVE_IDS=account.CASE_INSENSITIVE_IDS, UPDATE=account.UPDATE, EXCLUDE=account.EXCLUDE, PASSWORD=account.PASSWORD, ENABLE=account.ENABLE, LIST=account.LIST, LOGIN=account.LOGIN, ITERATOR=account.ITERATOR, CREATE=account.CREATE } }
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Entry arg1=num users: 1
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#startConnectionWrapper() Entry no args
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Entry no args
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data host== com.waveset.object.ResourceAttribute@1d6fad7
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data host== chslx07.corp.fedex.com
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getOptionalStringResAttrVal() Data port== 18100
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data User== com.waveset.object.ResourceAttribute@ee5d13
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data User== IBCMGR
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Password== com.waveset.object.ResourceAttribute@1209d56
    20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Password== 88AF52E54FD71942:549D63D0:1098ECAEC1A:-7FFD|QS8v8QpqGTI=
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Successful connection with ISession psft.pt8.joa.Session@158473e
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Exit void
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#startConnectionWrapper() Exit void
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Entry no args
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Info Creating identity FX600859
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Fetching compIntfcName 'USER_PROFILE'
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Successfully got compIntfcName 'USER_PROFILE
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {UserID,FX600859}
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.invokeMethod {Create, {} }
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: [java.lang.Boolean] = true
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.invokeMethod
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#setCIFromWSUSer() Entry arg1=600859
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#setCIFromWSUSer() Info Setting user 'User:600859'
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {EmailAddress,[email protected]}
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
    Begin JOA method USER_PROFILE.setProperty {SymbolicID,COEDEV}
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
    20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Exit void
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
    20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Info
    ==> com.waveset.util.WavesetException:
    ==> com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.
    20060302 15:53:59.638 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Disconnecting from ISession psft.pt8.joa.Session@158473e
    20060302 15:53:59.638 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Exit voidNow what I see is that the error is generated as an exception in the class/method: ResourceAdapterBase#createAccounts()
    but I have not been able to get any deeper than that....
    Can someoe please help me in resolving this issue.. or is there someway I can dig deeper.. to maybe understand which file / object is causing the error??
    Thanks and best regards,
    Anoop

    Hi Anoop / Ilayarajan,
    Could you please post the solution for this error. When I provision a user to PeopleSoft, I am getting similar error: com.waveset.util.WavesetException: An error occurred adding user "userID' to resource 'PeopleSoft Component Interface'. com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.
    Thanks
    User_idm

  • "Content is not allowed in trailing section" error in JAXP 1.1

    Hi All,
    I'm trying to write parse XML using JAXP 1.1. I've given input to parser as shown in below code.
    SAXParserFactory factory = SAXParserFactory.newInstance();
    SAXParser parser = factory.newSAXParser();
    parser.parse(new File(args[0], handler);this worked for me. But I've tried to pass java.io.InputStream reference to the overloaded parse() method of SAXParser class, it throwed the following exception
    org.xml.sax.SAXParseException: Content is not allowed in trailing section.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
    at CMMCompareHelper.main(CMMCompareHelper.java:234)I'm using JAXP 1.1 with J2SE 1..4.2. My requirement is that I get the XML as a String and I've tried to convert it to java.io.ByteArrayInputStream and passed to the SAXParser. It din't work. Code I've written to do this is shown below:
    FileInputStream in = new FileInputStream(new File(args[0]));
    byte[] buf = new byte[512];
    ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
    while(in.read(buf) != -1){
        byteOut.write(buf);                    
    InputStream newCMMStream = new ByteArrayInputStream(byteOut.toByteArray());               
    SAXParser parser = factory.newSAXParser();               
    parser.parse(newCMMStream, handler);          Am I doing something wrong?
    Thanks in advance for any help in this regard.
    Satya

    Hi Satya,
    XML file is suppose to be read as text. Instead of using Byte Streams, use Character Streams or String store
    Eventually, the XML data must be processed as text. If it is fed to parser as a binary-stream, parser will try to interpret bytes with default-runtime character-set. This may lead to corruption of data if the bytes are interpreted in incorrect charcter-set (ex UNICODE, ASCII) or were decoded ( UTF-8, UTF-16) incorrectly from file at the first place.
    Also, we need to ensure that the character-array/stream being fed does not have any garbage due to overallocation of store (array size). The "Content not allowed in the trailing section" error most probably comes due to this.
    If the underlying file to be read is normal ASCII text file, allocating a character array/buffer to the size of the file is good enough. You may also specify UTF-8 as the character-set as UTF-8 subsumes ASCII. Considering the3 file is a simple ASCII text file, here is a code that might provide a valid feed to the parser.
    File file = new File(args[0]);
    Reader fileReader = new BufferedReader(new FileReader(file));
    char[] buffer = new char[file.length()]; \\the length of buffer should be exactly equal to number of bytes in the ASCII text file
    fileReader.read(buffer);
    CharArrayReader characterStream = new CharArrayReader(xmlstring.toCharArray());
    InputSource is = new InputSource(characterStream);
    //feed this input source to the parser.
    In-case the file is not ASCII and the number bytes != number of characters, you cannot just allocate a character buffer of size file-length. You may have to employ some scheme to allocate just accurate size buffer and read everything into it.. A quick dirty scheme could be
    char[] buffer = new char[very-large]; \\the length of buffer should be exactly equal to number of bytes in the ASCII text file
    fileReader.read(buffer);
    buffer = (new String(buffer).trim()).toCharArray();
    Hope this helps !! :)
    Regards,
    Simar SIngh

  • [Fatal Error] jstl::1:1: Content is not allowed in prolog.

    I use Tomcat 5.5, Eclipse 3.0, JSTL 1.1 and the following jsp doesnt work on my system, it comes the error:
    [Fatal Error] jstl::1:1: Content is not allowed in prolog.
    farben.jsp:
    <%@ page language="java" contentType="text/html" %>
    <%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld" %>
    <%@ taglib prefix="x" uri="/WEB-INF/tld/x.tld" %>
    <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
    <%
         System.out.println("farben 0");
         try { String seite = request.getAttribute("seite").toString();
         //String seite = session.getAttribute("seite");
    %>     
    <% if(seite.length() > 0) { %>
         <c:set var="hnr"><%=seite.substring(0,3)%></c:set>
         <% System.out.println("farben 1"); %>
         <c:set var="mnr"><%=seite.substring(3,6)%></c:set>
    <% System.out.println("farben 2"); %>
         <c:set var="snr"><%=seite.substring(6,9)%></c:set>
    <% System.out.println("farben 3"); %>
         <c:set var="stufe"><%=session.getAttribute("stufeID")%></c:set>
         <% System.out.println("farben 4"); %>
         <c:set var="rolle"><%=session.getAttribute("rolleID")%></c:set>
         <% System.out.println("farben 5"); %>
         <c:import url="/xml/Menue.xml" var="xmlmenue">
         </c:import>
         <% System.out.println("farben 6"); %>
         <x:parse varDom="farben" doc="$(xmlmenue)" />
         <% System.out.println("farben 7"); %>
         <c:set var="name"><x:out select="$farben//hauptmenue[@hnr=$hnr]/@hnr"/></c:set>
         <c:set var="farbe1"><x:out select="$farben//hauptmenue[@hnr=$hnr]/farbe[@nummer='f1']"/></c:set>
         <c:set var="farbe2"><x:out select="$farben//hauptmenue[@hnr=$hnr]/farbe[@nummer='f2']"/></c:set>
         <c:set var="farbe3"><x:out select="$farben//hauptmenue[@hnr=$hnr]/farbe[@nummer='f3']"/></c:set>
    #menue , #${name} {
         background-color: ${farbe1};
         color: #ffffff;
    .aktiv1 , #untermenue {
         background-color: ${farbe2};
    .aktiv2 , #menue a:hover{
         color: #000000;
         background-color: ${farbe3};
         <x:forEach select="$farben//hauptmenue[contains(@stufe,$stufe)and contains(@rolle,$rolle)]">
              .hmenue #<x:out select="@hnr"/>:hover { background-color: <x:out select="farbe[@nummer='f1']"/> }
         </x:forEach>
    <%           }
              } catch (Exception ex) {%>
    #menue {
         background-color: #ffffff;
    <% } %>
    if i change <x:parse varDom="farben" doc="$(xmlmenue)" /> in <x:parse varDom="farben" doc="<test>test</test>" /> it works without error, what can i do ?

    It may be that your source includes some XML that is escaped during parsing. Try this (it worked for me)
    <x:parse varDom="farben" ><c:out value="$(xmlmenue)" escapeXml="false"/></x:parse>c:out is from java.sun.com/jstl/core

  • [Fatal Error] :1:1: Content is not allowed in prolog. ..XML READ ERROR

    Hi I am developing an application where it will read xml elements from the http site (http://www.w3schools.com/Xml/note.xml) and display in my program using DOM. while executing its giving CONTENT IS NOT ALLOWED IN PROGRAM below error. but when i am use coded xml in program itself as comment as shown in program its giving correct value. I need to read from http not from coded xml in the program. its immediate please help me out.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at SimpleXML1.main(SimpleXML1.java:34)
    import javax.xml.parsers.*;
    import org.xml.sax.InputSource;
    import org.w3c.dom.*;
    import java.io.*;
    public class SimpleXML1 {
    public static void main(String arg[]) {
    String xmlRecords = "http://www.w3schools.com/Xml/note.xml";
    /* String xmlRecords =
    " <note>" +
    " <to>John</to>" +
    " <from>Manager</from>" +
    " <heading>XML Program</heading>" +
    " <body>Simple XML</body>" +
    "</note>";*/
    try {
    DocumentBuilderFactory dbf =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    InputSource is = new InputSource();
    is.setCharacterStream(new StringReader(xmlRecords));
    Document doc = db.parse(is);
    NodeList nodes = doc.getElementsByTagName("note");
    for (int i = 0; i < nodes.getLength(); i++) {
    Element element = (Element) nodes.item(i);
    NodeList from = element.getElementsByTagName("from");
    Element line = (Element) from.item(0);
    Node child1 = line.getFirstChild();
    CharacterData cd = (CharacterData) child1;
    System.out.println(cd.getData());
    catch (Exception e) {
    e.printStackTrace();
    }

    chrisacess wrote:String xmlRecords = "http://www.w3schools.com/Xml/note.xml";
    /* snip */
    is.setCharacterStream(new StringReader(xmlRecords));
    Is that really how you're trying to read the online XML document? Because I don't see anything that makes a connection to the site. All you're doing is trying to parse the string "http://www.w3schools.com/Xml/note.xml" is if it were XML.
    ps, That "Content not allowed in prolog" error message is worse than useless IMO. They might as well say "It didn't work" for all the good does.

Maybe you are looking for