Error inserting new Document DI_API Java

I was using DI_API of PL8 for inserting SalesOrder via JAVA. Everything worked fine until PL32 was installed. Now i get this error when i try to insert a new document, no matter what kind of:
<b>Exception in thread "main" com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:
At Invoke of: GetBusinessObject</b>
Is there a solution for this API error?
Code:
<i>IDocuments doc = SBOCOMUtil.newDocuments(company, SBOCOMConstants.BoObjectTypes_Document_oOrders);</i>
Tks

Elcio,
Hmmm ... well I have not heard this issue, but SAP released PL39 for SAP Business One 2005A SP01 today.  You may want to download and try with the new patch.  If still you have an issue you will want to create and SAP Support message.
Eddy

Similar Messages

  • Document panel not opening in Office due to error in new document libraries

    Hi,
    all our new document libraries have the same issues when opening office documents with standard document panel.
    The form contains schema validation errors.
    Content for element 'documentManagement' is incomplete according to the DTD/Schema.
    Expecting: {fa742bdc-a2be-4b36-877c-a90d9817da44}_dlc_DocIdPersistId.
    It is a standard sharepoint info path form, no custom form? What can be the issue?
    regards
    Martin

    I have been seeing the same thing.  I can go to library settings and change the advanced setting to "Open in the browser" and the document panel opens fine after clicking "edit in Word".  If it is set to "Open in the client
    application", then the same error you state above is given.
    Our environment is SharePoint 2013/O365.

  • Help! Error when new AWConnection in java!

    this is the code:
    try
         System.out.println("Connecting to " + connection + ".");
         awConnection = new AWConnection(user, password, connection);
    catch(Exception e)
    System.out.println("Error connecting to " + connection + ".\n" + e);
    However, when compiling, there is an exception:
    oracle.AWXML.AWException: oracle.express.idl.util.OlapiException
    I have no idea where is the problem.

    More detail:
    I am running the example program for the Oracle OLAP Analytic Workspace Java API in Release 1 (10.1.0.4) with version (10.2.0.1, both db and client).
    But there comes an error:
    Exception in thread "main" oracle.AWXML.AWException: oracle.express.idl.util.Ola
    piException
    at oracle.AWXML.AWConnection.<init>(AWConnection.java:213)
    at J_Olap.main(J_Olap.java:67)
    Caused by: oracle.express.idl.util.OlapiException
    at oracle.express.idl.util.OlapiExceptionHelper.SQL2Java(OlapiExceptionH
    elper.java:71)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
    sorImpl.java:48)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at oracle.express.idl.util.OlapiExceptionHelper.SQL2JavaHelper(OlapiExce
    ptionHelper.java:54)
    at oracle.express.idl.ExpressConnectionModule.ConnectionInterfaceStub.ex
    ecuteCommand(ConnectionInterfaceStub.java:839)
    at oracle.express.spl.SPLExecutor.executeCommand(SPLExecutor.java:151)
    at oracle.AWXML.AWConnection.<init>(AWConnection.java:209)
    I have read a similar issue in this forum, and then I add "olap_user" the the user.
    However it does not work!
    I am in a hurry! Please help me!

  • Get error when unzipping document using Java Class

    I am using an applet to unzip a compressed docuement. The document is compressed by a Java Rich client into a database and is going to be opened by a web application. So in order to decompress we are using an applet with the same unzip code. The rich client is working fine, but the applet is giving an error. Can anyone tell me what the following error means?? I have found no documentation on it and it is not giving me any real information.
    java.util.zip.DataFormatException: oversubscribed dynamic bit lengths tree
    I am using the Inflater class to unzip the doc.
    thanks,

    Can you be any more specifc about what you are doing?
    It may be a security issue as you are running the code in an applet.
    The other thing to look into would be the content type you are using to send the zipped data over http. When writing the zipped object into the HttpServletResponse on the server you must call
    setContentType("application/zip");
    For a quickish example see
    http://java.sun.com/developer/technicalArticles/Networking/Webserver/WebServercode.html
    This sets the content type based on the file to be returned extension.
    Hope this is helpful.

  • Error in inserting XML document

    I'm trying to insert into a table from an HTML form.
    Here's the table I'm trying to insert into
    TABLE employee
    name VARCHAR2(40),
    ssnum NUMBER NOT NULL
    Note: even though SSNUM is number I take it as a string and I
    have a before insert trigger that converts it to number. Works
    from SQL plus if entry is number.
    Here's the testxsql.html
    <html>
    <body>
    Input your name and ssnumber ..
    <form action="testxsql.xsql" method="post">
    Name<input type="text" name="name_field" size="30">
    SSNUM<input type = "text" name="ssnum_field" size="10">
    <input type="submit">
    </form>
    </body>
    </html>
    it calls testxsql.xsql which is
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="employee.xsl"?>
    <page connection="demo">
    <insert table="employee" transform="testxsql.xsl"/>
    <content>
    <query tag-case="lower" max-rows="5" rowset-element=""
    row-element="emp" >
    select *
    from employee
    order by ssnum desc
    </query>
    </content>
    </page>
    and testxsql.xsl is
    <?xml version = '1.0'?>
    <ROWSET xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:for-each select="request">
    <ROW>
    <NAME><xsl:value-of select="name_field"/></NAME>
    <SSNUM><xsl:value-of select="ssnum_field"/></SSNUM>
    <SOURCE>User-Submitted</SOURCE>
    </ROW>
    </xsl:for-each>
    </ROWSET>
    I get the following error while trying to insert
    XSQL-015: Error inserting XML Document
    invalid LABEL name in XML doc-
    If I remove the insert tag, the query portion works fine.
    I'm new to XML so I've already pulled all the hair that I can
    muster. Thanks
    null

    Kumar Pandey (guest) wrote:
    : I'm trying to insert into a table from an HTML form.
    : Here's the table I'm trying to insert into
    : TABLE employee
    : name VARCHAR2(40),
    : ssnum NUMBER NOT NULL
    : Note: even though SSNUM is number I take it as a string and I
    : have a before insert trigger that converts it to number. Works
    : from SQL plus if entry is number.
    : Here's the testxsql.html
    : <html>
    : <body>
    : Input your name and ssnumber ..
    : <form action="testxsql.xsql" method="post">
    : Name<input type="text" name="name_field"
    size="30">
    : SSNUM<input type = "text" name="ssnum_field"
    size="10">
    I'm using apache web and JServ and 8i as db
    : <input type="submit">
    : </form>
    : </body>
    : </html>
    : it calls testxsql.xsql which is
    : <?xml version="1.0"?>
    : <?xml-stylesheet type="text/xsl" href="employee.xsl"?>
    : <page connection="demo">
    : <insert table="employee" transform="testxsql.xsl"/>
    : <content>
    : <query tag-case="lower" max-rows="5" rowset-element=""
    : row-element="emp" >
    : select *
    : from employee
    : order by ssnum desc
    : </query>
    : </content>
    : </page>
    : and testxsql.xsl is
    : <?xml version = '1.0'?>
    : <ROWSET xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    : <xsl:for-each select="request">
    : <ROW>
    : <NAME><xsl:value-of select="name_field"/></NAME>
    : <SSNUM><xsl:value-of select="ssnum_field"/></SSNUM>
    : <SOURCE>User-Submitted</SOURCE>
    : </ROW>
    : </xsl:for-each>
    : </ROWSET>
    : I get the following error while trying to insert
    : XSQL-015: Error inserting XML Document
    : invalid LABEL name in XML doc-
    : If I remove the insert tag, the query portion works fine.
    : I'm new to XML so I've already pulled all the hair that I can
    : muster. Thanks
    null

  • How to insert new record into altered table

    I am using JDBC with MySQL. I altered existing table and want to insert new record using java class. But it is not possible.How to do?

    How is it "not possible"?
    Either modify the Class for the new fields, or give the new fields default values (if applicable). If the type of an existing column has changed, then only the first option is available.
    Where's the problem?

  • Receiver JDBC: Error while doing the Deleting and Inserting new records

    Hi All,
              I am doing Idoc to JDBC scenario. In this I am collecting & bundling different type of Idocs and then sending to the JDBC receiver. My requirement is to delete the existing records in the database and insert the new records. I have configures as mentioned in the link
    Re: Combining DELETE and INSERT statements in JDBC receiver
    In the above link its shows for single mapping. In my scenario I am using multi mapping for collecting idocs in BPM. If I configured for normal mapping then it is working fine(Deleting existing records and Inserting new record). Whenever I am using multi mapping then I am getting following error in the receiver JDBC communication channel u201CError while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)u201D . Can you please tell me what might be the problem.
    Thanks & Regards,
    T.Purushotham

    Hi !
    check this out:
    JDBC - No 'action' attribute found in XML document - error
    JDBC receiver adapter: No 'action' attribute found in XML document
    It appears that the inbound payload (the one that is going from XI to the JDBC adapter) does not have the requiered tag to specify which SQL action to execute in the receiver system. Maybe the multimapping is not creating the desired output message format.
    Regards,
    Matias.

  • Error processing WSDL document: java.lang.ClassCastException: java.util.Ar

    Hi
    Program is giving unpredictable behaviour.
    Am trying to consume webservice using Axis Client.
    When running as stand alone Java programs its working fine.
    But when deployed on OC4J its giving problem
    Error processing WSDL document: java.lang.ClassCastException: java.util.ArrayList
    Could you please give some hint
    Regards
    Bajarang

    Here is the program
    QName serviceQN = new QName(targetNamespace,serviceName );
    System.out.println("After serviceQN "+ serviceQN);
    QName portQN = new QName( targetNamespace, portName );
    System.out.println("After port "+ portQN);
    // This Call object will be used the invocation
    Service service = new Service(implURI,serviceQN);
    System.out.println("After service "+ service);
    Call call = (Call) service.createCall();
    System.out.println("After call "+ call);
    // Now make the call...
    System.out.println("Invoking service>> " + serviceName + " <<...");
    call.setOperation(portQN,operationName);
    call.invoke( inputParams );
    System.out.println("Result returned from call to "+ serviceName+" ");
    Error while execution
    javax.xml.rpc.ServiceException: Error processing WSDL document:
    java.lang.ClassCastException: java.util.ArrayList

  • Error inserting document

    Hi,
    I have the following error when you insert any document in Content Server
    IdcServer-1980     !csUserEventMessage,monitor,pre.contenidos.icex.es!$ intradoc.common.ServiceException: !csUnableToExecMethod,doCodeEx
    services/3     07.02 17:45:29.970     IdcServer-1980     *ScriptStack CHECKIN_NEW_SUB
    services/3     07.02 17:45:29.970     IdcServer-1980     3:doSubService,**no captured values**CHECKIN_NEW_SUB,**no captured values**3:addFiles,dID=44097,dDocName=NEW2012043705
    services/3     07.02 17:45:29.970     IdcServer-1980     at sitestudio.SSClassHelper.invoke(Unknown Source)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sitestudio.SSStandardServiceHandler.callStandardMethod(Unknown Source)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sitestudio.SSStandardDocServiceHandler.addFiles(Unknown Source)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3     07.02 17:45:29.970     IdcServer-1980     at java.lang.reflect.Method.invoke(Method.java:597)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doCodeEx(Service.java:533)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doCode(Service.java:506)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doAction(Service.java:477)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doActions(Service.java:473)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1323)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.executeSubServiceCode(Service.java:3867)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.executeServiceEx(Service.java:3862)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.executeService(Service.java:3846)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doSubService(Service.java:3761)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3     07.02 17:45:29.970     IdcServer-1980     at java.lang.reflect.Method.invoke(Method.java:597)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doCodeEx(Service.java:551)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doCode(Service.java:506)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doAction(Service.java:477)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doActions(Service.java:473)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.executeActions(Service.java:458)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doRequest(Service.java:1890)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1346)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3     07.02 17:45:29.970     IdcServer-1980     at java.lang.reflect.Method.invoke(Method.java:597)
    services/3     07.02 17:45:29.970     IdcServer-1980     at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
    services/3     07.02 17:45:29.970     IdcServer-1980     at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    services/3     07.02 17:45:29.970     IdcServer-1980     at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    services/3     07.02 17:45:29.970     IdcServer-1980     at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
    services/3     07.02 17:45:29.970     IdcServer-1980     at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    services/3     07.02 17:45:29.970     IdcServer-1980     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    services/3     07.02 17:45:29.970     IdcServer-1980     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    services/3     07.02 17:45:29.970     IdcServer-1980     Caused by: intradoc.data.DataException: !csFsStorageRuleMissing,BD
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.filestore.filesystem.FileSystemDescriptorImplementor.createDescriptor(FileSystemDescriptorImplementor.java:57)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.filestore.BaseFileStore.createDescriptor(BaseFileStore.java:310)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.DocServiceHandler.addFileToFileStore(DocServiceHandler.java:3587)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.DocServiceHandler.addFile(DocServiceHandler.java:3532)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.DocServiceHandler.addFiles(DocServiceHandler.java:500)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3     07.02 17:45:29.970     IdcServer-1980     at java.lang.reflect.Method.invoke(Method.java:597)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    services/3     07.02 17:45:29.970     IdcServer-1980     at intradoc.server.Service.doCodeEx(Service.java:533)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3     07.02 17:45:29.970     IdcServer-1980     at java.lang.reflect.Method.invoke(Method.java:597)
    services/3     07.02 17:45:29.970     IdcServer-1980     at sitestudio.SSClassHelper.invokeRaw(Unknown Source)
    any suggestions

    services/3 07.02 17:45:29.970 IdcServer-1980 Caused by: intradoc.data.DataException: !csFsStorageRuleMissing,BDLooks like you are missing the file store provider rule named "BD" in the system. Try correcting that issue first.

  • Refresh document error when creating new document.

    I want to refresh document when create new document , but I meet the error.
    Output in Console
    http://10.173.1.153:6405/biprws/logon/long/
    http://10.173.1.153:6405/biprws/raylight/v1/documents
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders/DP0/specification
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/parameters
    Exception in thread "main" java.lang.RuntimeException: Failed : HTTP error code : 500
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.getContentJson(CreateWebiReport40Sample.java:323)
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.refreshDocument(CreateWebiReport40Sample.java:186)
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.main(CreateWebiReport40Sample.java:54)
    The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
    The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
    |D55BC38155E54B03B55B81F16912890373|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.YR
    |D55BC38155E54B03B55B81F16912890374|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.QUANTITY_SOLD
    |D55BC38155E54B03B55B81F16912890375|2015 01 30 07:18:32.356|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
    |D55BC38155E54B03B55B81F16912890376|2015 01 30 07:18:32.517|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Query generation failed
    com.businessobjects.semanticlayer.qt.internal.QTInternalException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    |D55BC38155E54B03B55B81F16912890377|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Failed query spec: Query (MAIN_QUERY)
    Results: [ [uniqueName=YR] [Identifier=DP0.YR],  [uniqueName=QUANTITY SOLD] [Identifier=DP0.QUANTITY_SOLD]]
    DrillScope: []
    Sorts: []
    Condition: DEF: null
    |D55BC38155E54B03B55B81F16912890378|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
    |D55BC38155E54B03B55B81F16912890379|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.dsl.services.query.impl.QueryServiceImpl||[ERROR] [QueryService::getQueryExecutionPlan]
    com.businessobjects.semanticlayer.qt.QTException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    |D55BC38155E54B03B55B81F1691289037a|2015 01 30 07:18:32.519|+0000|Error|Error|>>|E| |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||||Exception caught in SL Service: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
    com.businessobjects.dsl.services.query.QueryServiceException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:292)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    Java Source code
    Java Source Code
    package com.sap.oem.restfulws.test;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.text.ParseException;
    import org.json.JSONException;
    import org.json.JSONObject;
    public class CreateWebiReport40Sample {
      /** CMS System */
      private static final String CMS_LOG_HOST = "10.173.1.153:6405";
      /** User name used to log in to the CMS */
      private static final String CMS_LOG_USER = "Administrator";
      /** User password */
      private static final String CMS_LOG_PASS = "******";
      /** Authentication mode used to log in to the CMS. Here: Enterprise */
      private static final String CMS_AUTH_MODE = "secEnterprise";
      private static final String WEBI_URL = "/biprws/raylight/v1";
      private String logonToken;
      private boolean isLogon = false;
      private String folderID = "5652";
      private String fileName = "eFashioin_IQ_Auto";
      private String documentID = "23547";
      private String reportID = "1";
      private String dataSourceID = "5650";
      private String dataProviderID = "DP0";
      private String elementID = "8";
      private String elementParentID = "2";
      private String elementName = "Block 1";
      private String axisID = "1";
      public static void main(String[] args) throws JSONException,
      ParseException, IOException {
      CreateWebiReport40Sample webiRep = new CreateWebiReport40Sample();
      JSONObject json = null;
      String resultStr = null;
      webiRep.getLogonToken();
      json = webiRep.createDoc();
      json = webiRep.addDataSourceInReport();
      json = webiRep.refreshDocument();
    // json = webiRep.addTableInReport();
    // json = webiRep.updateExpressionInAxis();
      webiRep.saveDocument();
      System.out.println(resultStr);
      if (json != null) {
      System.out.println(json.toString());
      public JSONObject createDoc() throws IOException, ParseException,
      JSONException {
      String body = "<document>" + "<name>" + this.fileName + "</name>"
      + "<folderId>" + this.folderID + "</folderId>" + "</document>";
      JSONObject json = postContentJson("http://" + CMS_LOG_HOST + WEBI_URL
      + "/documents", body);
      this.documentID = json.getJSONObject("success").getString("id");
      return json;
      public JSONObject saveDocument() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID;
      String body = "<document>" + "    <name>" + this.fileName + "</name>"
      + "    <folderId>" + this.folderID + "</folderId>"
      + "</document>";
      // System.out.println(urlStr);
      JSONObject json = postContentJson(urlStr, body);
      return json;
      public JSONObject addDataSourceInReport() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/dataproviders";
      String body = "<dataprovider>" + "<name>Query 1</name>"
      + "<dataSourceId>" + this.dataSourceID + "</dataSourceId>"
    // + "<dataSourceType>unx</dataSourceType>"
      + "</dataprovider>";
      JSONObject json = postContentJson(urlStr, body);
      this.dataProviderID = json.getJSONObject("success").getString("id");
      json = addQueryInDataProvider();
      return json;
      public JSONObject addTableInReport() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/reports/" + this.reportID + "/elements";
      String body = "<element type=\"VTable\">"
      + "    <reference>1.B</reference>" + "    <name>"
      + this.elementName
      + "</name>"
      + "    <parentId>"
      + this.elementParentID
      + "</parentId>"
      + "    <position newVerticalPage=\"false\" oneVerticalPage=\"false\" repeatOnEveryVerticalPage=\"false\" newHorizontalPage=\"false\" oneHorizontalPage=\"false\" verticalAnchorId=\"4\" verticalAnchorType=\"End\" horizontalAnchorType=\"None\" y=\"900.0\" x=\"450.0\"/>"
      + "    <hide always=\"false\"/>"
      + "    <style>"
      + "        <border>"
      + "            <top style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <bottom style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <left style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <right style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "        </border>"
      + "        <background height=\"0.0\" width=\"0.0\"/>"
      + "        <alternateColor rgb=\"#f8fbfc\" frequency=\"2\"/>"
      + "    </style>"
      + "    <content>"
      + "        <axes duplicateRowAggregation=\"true\">"
      + "            <axis role=\"Column\">"
      + "                <id>1</id>"
      + "                <expressions>"
      // + "                    <formula dataObjectId=\""
      // + this.dataProviderID
      // + ".YR"
      // + "\" dataType=\"String\">=[YR]"
      // + "</formula>"
      // + "                    <formula dataObjectId=\""
      // + this.dataProviderID
      // + ".QUANTITY_SOLD"
      // + "\" dataType=\"Numeric\">"
      // + "=[QUANTITY SOLD]"
      // + "</formula>"
      + "                </expressions>"
      + "            </axis>"
      + "        </axes>"
      + "        <layout>"
      + "            <zone verticalType=\"Body\" horizontalType=\"Body\">"
      + "                <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"5\"/>"
      + "                <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"6\"/>"
      + "            </zone>"
      + "            <zone verticalType=\"Header\" horizontalType=\"Body\">"
      + "                <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"8\"/>"
      + "                <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"9\"/>"
      + "            </zone>"
      + "        </layout>"
      + "    </content>" + "</element>";
      JSONObject json = postContentJson(urlStr, body);
      this.elementID = json.getJSONObject("success").getString("id");
      return json;
      public JSONObject updateExpressionInAxis() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/reports/" + this.reportID + "/elements/"
      + this.elementID + "/axes/" + this.axisID + "/expressions";
      // int i = 0;
      String body = "<expressions>"
      + "    <formula  dataType=\"String\">=[YR]</formula>"
      + "    <formula  dataType=\"Numeric\">=[QUANTITY SOLD]</formula>"
      + "</expressions>";
      JSONObject json = putXmlContentJson(urlStr, body);
      return json;
      public JSONObject refreshDocument() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      // + this.documentID + "/parameters?refresh=true";
      + this.documentID + "/parameters";
      // JSONObject json = this.putXmlContentJson(urlStr, "");
      JSONObject json = this.getContentJson(urlStr);
      return json;
      public JSONObject addQueryInDataProvider() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/dataproviders/" + this.dataProviderID
      + "/specification";
      // int i = 0;
      String body = "<queryspec:QuerySpec xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
      + "    xmlns:queryspec=\"http://com.sap.sl.queryspec\" dataProviderId=\""
      + this.dataProviderID
      + "\">"
      + "  <queryParameters>"
      + "    <duplicatedRowsProperty activated=\"true\" value=\"true\"/>"
      + "    <maxRetrievalTimeInSecondsProperty value=\"0\"/>"
      + "    <maxRowsRetrievedProperty value=\"0\"/>"
      + "    <removeEmptyRowsProperty activated=\"true\" value=\"true\"/>"
      + "    <allowOtherUserToEditQueryProperty activated=\"true\" value=\"true\"/>"
      + "    <resetContextOnRefreshProperty activated=\"true\" value=\"true\"/>"
      + "    <stripQueryProperty/>"
      + "    <useBexQueryDefaultValue activated=\"true\" value=\"true\"/>"
      + "  </queryParameters>"
      + "  <queriesTree xsi:type=\"queryspec:QueryDataNode\">"
      + "    <bOQuery name=\"Query\" identifier=\"_"
      + this.documentID
      + "_"
      + this.dataProviderID
      + "_"
      + "query\">"
      + "      <resultObjects identifier=\""
      + this.dataProviderID
      + ".YR"
      + "\" name=\"YR\"/>"
      + "      <resultObjects identifier=\""
      + this.dataProviderID
      + ".QUANTITY_SOLD"
      + "\" name=\"QUANTITY SOLD\"/>"
      + "      <conditionPart/>"
      + "    </bOQuery>"
      + "  </queriesTree>" + "</queryspec:QuerySpec>";
      JSONObject json = putTextContentJson(urlStr, body);
      return json;
      public String getLogonToken() throws ParseException, IOException,
      JSONException {
      String body = "<attrs xmlns=\"http://www.sap.com/rws/bip\">"
      + "<attr name=\"userName\" type=\"string\">"
      + CMS_LOG_USER
      + "</attr>"
      + "<attr name=\"password\" type=\"string\">"
      + CMS_LOG_PASS
      + "</attr>"
      + "<attr name=\"auth\" type=\"string\" possibilities=\"secEnterprise,secLDAP,secWinAD\">"
      + CMS_AUTH_MODE + "</attr>" + "</attrs>";
      JSONObject json = postContentJson("http://" + CMS_LOG_HOST
      + "/biprws/logon/long/", body);
      logonToken = (String) json.get("logonToken");
      isLogon = true;
      return logonToken;
      private JSONObject postContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "POST",
      "application/xml; charset=utf-8");
      private JSONObject putTextContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "PUT",
      "text/xml; charset=utf-8");
      private JSONObject putXmlContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "PUT",
      "application/xml; charset=utf-8");
      private JSONObject postAndPutContentJson(String urlStr, String body,
      String method, String contentType) throws IOException,
      JSONException {
      System.out.println(urlStr);
      URL url = new URL(urlStr);
      HttpURLConnection conn = (HttpURLConnection) url.openConnection();
      conn.setRequestMethod(method);
      if (this.isLogon) {
      conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
      + "\"");
      conn.setRequestProperty("Accept", "application/json");
      conn.setRequestProperty("Content-Type", contentType);
      conn.setDoInput(true);
      conn.setDoOutput(true);
      int len = body.length();
      conn.setRequestProperty("Content-Length", Integer.toString(len));
      conn.connect();
      OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
      out.write(body, 0, len);
      out.flush();
      if (conn.getResponseCode() != 200) {
      throw new RuntimeException("Failed : HTTP error code : "
      + conn.getResponseCode());
      BufferedReader br = new BufferedReader(new InputStreamReader((conn
      .getInputStream())));
      String jsontxt = br.readLine();
      br.close();
      conn.disconnect();
      JSONObject json = new JSONObject(jsontxt);
      return json;
      private JSONObject getContentJson(String urlStr) throws IOException,
      JSONException {
      System.out.println(urlStr);
      URL url = new URL(urlStr);
      HttpURLConnection conn = (HttpURLConnection) url.openConnection();
      conn.setRequestMethod("GET");
      if (this.isLogon) {
      conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
      + "\"");
      conn.setRequestProperty("Accept", "application/json");
      conn.setRequestProperty("Content-Type",
      "application/xml; charset=utf-8");
      conn.setDoOutput(true);
      conn.setDoInput(true);
      conn.connect();
      if (conn.getResponseCode() != 200) {
      throw new RuntimeException("Failed : HTTP error code : "
      + conn.getResponseCode());
      BufferedReader br = new BufferedReader(new InputStreamReader((conn
      .getInputStream())));
      String jsontxt = br.readLine();
      br.close();
      JSONObject json = new JSONObject(jsontxt);
      conn.disconnect();
      return json;
    Welcome your advice

    Hi Kevin,
    I think you have to set the query specification for the data provider you created. If you don't, no object is available (that'w why you received a such error).
    Best regards,
    Anthony

  • Error: Unable to insert new audit record for auditee 21 in repository UPA..

    Hi,
    I've got the error message below. Have you ever got this?
    DEBUG [ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.DATABASE - insert into UPA (UPA_KEY,usr_key,EFF_FROM_DATE,SRC,SNAPSHOT,DELTAS) values (?,?,?,?,?,?)
    DEBUG [ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.DATABASE - select UPA_seq.nextval from dual
    ERROR [ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.DATABASE - Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01461: can bind a LONG value only for insert into a LONG column
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
         at com.thortech.xl.audit.genericauditor.utils.AuditDataHandler.write(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.updateAuditRecords(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.genericauditor.GenericAuditor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processSingleAudJmsEntry(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processOfflineNew(Unknown Source)
         at com.thortech.xl.audit.engine.jms.XLAuditMessageHandler.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.AuditMessageHandlerMDB.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR [ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.AUDITOR - Failed to process audit message
    com.thortech.xl.audit.exceptions.AuditMsgProcessingFailedException: Unable to insert new audit record for auditee 21 in repository UPA
    sert statement failed is: insert into UPA (UPA_KEY,usr_key,EFF_FROM_DATE,SRC,SNAPSHOT,DELTAS) values (?,?,?,?,?,?)
    auditRepository=UPA_KEY; auditeeID=21
    auditEpoch=2009-09-05 15:58:37.284; source=User: USER.TEST, API: com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean, Method: updateTask
         at com.thortech.xl.audit.genericauditor.utils.AuditDataHandler.write(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.updateAuditRecords(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.genericauditor.GenericAuditor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processSingleAudJmsEntry(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processOfflineNew(Unknown Source)
         at com.thortech.xl.audit.engine.jms.XLAuditMessageHandler.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.AuditMessageHandlerMDB.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by [Nested Exception]:
    com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
         at com.thortech.xl.audit.genericauditor.utils.AuditDataHandler.write(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.updateAuditRecords(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.genericauditor.GenericAuditor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processSingleAudJmsEntry(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processOfflineNew(Unknown Source)
         at com.thortech.xl.audit.engine.jms.XLAuditMessageHandler.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.AuditMessageHandlerMDB.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by [Nested Exception]:
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
         at com.thortech.xl.audit.genericauditor.utils.AuditDataHandler.write(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.updateAuditRecords(Unknown Source)
         at com.thortech.xl.audit.genericauditor.AuditMessageProcessor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.genericauditor.GenericAuditor.processAuditMessage(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processSingleAudJmsEntry(Unknown Source)
         at com.thortech.xl.audit.engine.AuditEngine.processOfflineNew(Unknown Source)
         at com.thortech.xl.audit.engine.jms.XLAuditMessageHandler.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.AuditMessageHandlerMDB.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hello Peter:
    Thanks! I tried to input two detail records and still get only one error.
    I don't have pre/post trigger in my form. I use WHEN_BUTTON_PRESSED trigger with the following code:
    if get_block_property('PARENT_DATA',status) = 'CHANGED' or
    get_block_property('DETAIL_DATA',status) in ('CHANGED') then
    COMMIT;
    I also try File -> Save. It does not work either.
    Do I need to pre/and post trigger to check for it? If so, please show me how.
    Thanks again,
    TD

  • ODI - SCD Type 2 - Insert new row error

    Hi All,
    For Dimension I have a surrogate key, a natural key, and a column with "overwrite on change", start_date, end_date, current_record_ind. When I run the interface with the default SCD Type 2 for SQl server, this runs fine. But when I change that one column from "overwrite on change" to "insert new row", it fails on the update step. What should I be looking for anf fixing.
    Thanks for your time and help.

    DB: SQL Server 2008.
    IKM = IKM MSSQL Slowly Changing Dimension
    Error Message: ODI-1228 - Incorrect syntax near the keyword from.
    Code: update T
    set
    from database.dbo.Dim_type as T,
    database.dbo.I$_Dim_type as S
    where T.Cd = S.Cd
    and T.Current_rec_ind = 1
    and IND_UPDATE = 'U'
    To overcome the issue, I have commented the update code in the Knowledge module and the insert works, but for this one it is ok, but I have requirements where one column needs to be overwritten and other column changes will require to add a new record. How to handle both?
    Thanks for your time.

  • Error message when creating new document

    I am using Photoshop CS5 on OSX 10.6.8. When I try to create a new file or copy and paste within an open file, I receive this error message: "This is not a valid Portable Document File (PDF) document. It cannot be opened." This does not occur when opening files, only when creating a new document or working within an open document. I have tried deleting preferences and resetting all warning messages but nothing has worked. Help!

    My first guess would be that something is busted with your global PDF handling, meaning OSX' own Preview and printer stuff. I believe there's an option to turn off this behavior that Apple introduced with OSX 10.6.x, but as a non-Mac person I can't be more specific than that....
    Mylenium

  • Error opening documents office web apps or creating new document

    I have installed SharePoint 2013 with Office Web Apps 2013 using http.
    Everything appears to be ok, but when I try to create a new document I get a an error: Microsoft ... Web App. Sorry, we ran into a problem. Please try again. However, the document is created.
    When I try to open or preview an existing document I get an error: Microsoft ... Web App. Sorry, we couldn't open this ...
    I only see one error on the WAC server. Error 8115
    Could not contact WOPI End Point. Error details - 'Unauthorized url -
    http://sharepoint.mydomain.local/_vti_bin/wopi.ashx/files/c40fa192cb8b46d08a94af5a2259a263?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTA4Mjk4NiIsImV4cCI6IjEzNzUxMTE3ODYiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImM0MGZhMTkyY2I4YjQ2ZDA4YTk0YWY1YTIyNTlhMjYzO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252EZg9uSpZ0OV6sl%252DqBKTUjJzwgZdrcjiP28Z%255FmmE4zcQm8K57QgQWktVyffC4tUtyhjDf9zoYhbMuHVaguzYWKxz6Luv83mrRmWsJIomqoUa9zN8Uexqlvt4U1IpJOfTpA774e4mbdPDD90agR33uZDQ2Je2c%255Fzu1UrL9EskqAp5niSFwvK838WLV%255FFlb8tL0cCuKNp8ZSeAxGmh4LVHI2T4ZyY0dEIoOMx1xRVXKu%255FdVl8cAlrxe4qcDRVfRwbeMUCDBWrepPaNDgEJfbAM1MhmKASqpAlsUlRv9XMTeDNtFRMfk49MicSYjBBdCa7bOYXxMa44O4UWoBvy%255FV0h3Few&access_token_ttl=1375111786325'.
    Can somebody help me out?
    Thanks. Frank.

    Hi Henrik,
    Did this. From the client tried to preview an existing Word document. Again I got the error. Looked up the ULS log for that particular moment.
    Please see below the result of the log at that time.
    Regards,
    Frank
    07/31/2013 09:19:39.01 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:38.96, Original Level: Verbose] SQL connection time: 0.0734730252029238 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.01 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.01 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' Channel: 'Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:119444a4-5ade-44a2-bb71-243d755a71e0' 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.04 w3wp.exe (0x1A28) 0x1570 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation). Parent No
    07/31/2013 09:19:39.04 w3wp.exe (0x1A28) 0x1570 SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'net.pipe://sharepoint.mydomain.local/SecurityTokenServiceApplication/appsts.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:119444a4-5ade-44a2-bb71-243d755a71e0' 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.06 w3wp.exe (0x1A28) 0x1570 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=7.76327717628917 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.06 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Application Authentication aiv3e High Self-issued token request for 'wopi/sharepoint.mydomain.local@c824f0b6-3030-475c-b673-f0ff1feed440' succeeded. 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.12 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:38.98, Original Level: Verbose] SQL connection time: 0.0709587391693637 585c349c-fd5b-0044-6a70-507059bed6c2
    07/31/2013 09:19:39.12 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=153.4379369445 585c349c-fd5b-0044-6a70-507059bed6c2
    07/31/2013 09:19:39.15 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:39.06, Original Level: Verbose] SQL connection time: 0.0662095322170835 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.15 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=101.429650975194 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.18 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:39.15, Original Level: Verbose] SQL connection time: 0.0659301671022434 585c349c-fd5b-0044-6a70-507059bed6c2
    07/31/2013 09:19:39.18 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation General g3ql High [Forced due to logging gap, Original Level: Verbose] GetUriScheme(/Shared Documents/TEST DOCUMENT.docx) 585c349c-fd5b-0044-6a70-507059bed6c2
    07/31/2013 09:19:39.20 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint.mydomain.local:80/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FTEST%20DOCUMENT%2Edocx&action=interactivepreview&wdSmallView=1)). Execution Time=331.520346859727 585c349c-ad68-0044-6a70-50f379362daf
    07/31/2013 09:19:39.23 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Microsoft.SharePoint.SPObjectSharingInformation.GetListItemSharingInformation). Execution Time=313.289258830382 585c349c-fd5b-0044-6a70-507059bed6c2
    07/31/2013 09:19:39.24 w3wp.exe (0x19C4) 0x0D04 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://sharepoint.mydomain.local:80/_vti_bin/client.svc/ProcessQuery)). Execution Time=557.430343800679 585c349c-fd5b-0044-6a70-507059bed6c2
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4...
    07/31/2013 09:19:39.32* w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium ...uNWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)). Parent No
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4uNWiWQ4QDw96lCQXDilzh 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Application Authentication Pipeline). Parent Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07... 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32* w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium ...RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4uNWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046) 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Application Authentication ajez0 High SPApplicationAuthenticationModule: Invalid token or signature. Exception: System.IdentityModel.Tokens.SecurityTokenException: Unsupported security token. at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken) at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.TryExtractAndValidateToken(HttpContext httpContext, SPIncomingTokenContext& tokenContext) 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Application Authentication Pipeline). Execution Time=0.647847701313994 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Application Authentication ajezq High SPApplicationAuthenticationModule: Error authenticating request, Error details { Header: {0}, Body: {1} }. Available parameters: 3000006;reason="Token contains invalid signature.";category="invalid_client" {"error_description":"Unsupported security token."} . 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation General 8nca Medium Application error when access /_vti_bin/wopi.ashx, Error=Unsupported security token. at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken) at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.TryExtractAndValidateToken(HttpContext httpContext, SPIncomingTokenContext& tokenContext) 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4u... 585c349c-0d84-0044-6a70-54627881dac8
    07/31/2013 09:19:39.32* w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring b4ly Medium ...NWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)). Execution Time=6.40668017862605 585c349c-0d84-0044-6a70-54627881dac8

  • User getting error when creating a new Document Library

    The user is getting the following error when trying to create a new Document Library in SharePoint 2010:
    Error
    Cannot complete this action.
    Please try again.
    Correlation ID: 37ecd5eb-6129-4fa3-84bd-c6f0ad8115d5
    Has anyone come across this error and know how to resolve it?

    Hi,
    According to your post, my understanding is that the user could not create a document library.
    To narrow down whether the issue is related to the user permission, you can check which permission the user has.
    You can also assign the user full control to check whether it works.
    What’s more, did the issue occur in other sites? You can check with other sites or create a new site to check whether it works. Maybe the site has been corrupted.
    To quickly and accurately find the issue, I recommend you can check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • Cannot copy and paste descriptions in PDF Portfolio

    I am using Adobe Acrobat Pro 9.5.1 on a Windows 7 laptop.  Since a recent update I am unable to copy the description in a PDF Portfolio and paste it back.  I used to be able to copy the description; delete the file; add an updated file and then paste

  • AMD Athlon XP 2800 (Barton Core) will not post at FSB 166 MHz.

    Per top of the board “stickys” I have read a great number of the post on this board and done my homework to provide as much technical info to help you help me. This should explain some of it’s lengthy nature. Aside from Memory, HDD and Video card eve

  • Can't open another window in firefox and add-on icons won't show

    I had to do a system restore after downloading malware which avast stopped from activating. I downloaded Spybot and scanned/fixed various things it had identified but then my laptop wouldn't start in anything but safe mode. After I did the system res

  • How to edit email residing in iPad Mail Outbox?

    I tried to send an email from my iPad, but one of the recipients was invalid, so Mail put the email in my Outbox. When I attempted to correct the invalid address, I could find no way to edit the email from the Outbox, nor could I find a way to move t

  • Contact Photos in iPad and iPhone but not on Outlook 2011

    Hi, If I create a contact on my my iPhone or iPad the contact photos are seen in either device but cannot be seen in Outlook 2011 or in the Contacts app (v9) of my mac. The opposite is also true: if I create the contact in my computer (Outlook 2011 o