Error when creating new XML-Form

Hi everybody!
We are using XML-Forms to create/edit/display FAQs out of the KM-Content. We have created our own XMLForms for that and it worked fine. After our last upgrade (NW 7.0 SP-Stack 16) we have the following problem:
clicking the "new FAQ" link in the portalruntime doesn't start the XML-Form anymore but displays an java error:
java.lang.RuntimeException: Context is unavailable!
     at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:83)
     at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6598)
     at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryList(DMSRMR3FunctionCalls.java:6426)
     at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryDescription(DMSRMR3FunctionCalls.java:6451)
     at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getValueLabel(DMSRMLaboratoryValueProvider.java:47)
     at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:53)
     at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:79)
     at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.getLocalizedPropertyValue(PropertyLocalizer.java:294)
     at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.localize(PropertyLocalizer.java:208)
     at com.sapportals.wcm.service.xmlforms.transformation.TransformationHelper.localizeProperties(TransformationHelper.java:64)
     at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:438)
     at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderTemplate(Transformation.java:318)
     at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:332)
     at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:348)
     at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
I don't have that behaviour when i try to edit an existign FAQ. But I have the same problem with any other XML-form i'm using to create KM-docs.
to me it seems that the creation-context is somehow not valid. But what does that mean? and what can I do about it?
Regrads, Alex

Hi Alexander
I think this thread might help you as it helped me, and it is the exact same error that you get
https://www.sdn.sap.com/irj/sdn/thread?messageID=2943423#2943423
Best regards,
Martin Søgaard

Similar Messages

  • Error when saving large XML Forms - XFBuilder

    When creating large XML Forms (many entry fields, many links when metadata properties), the xfbuilder aborts the operation with an error message stating a networkcommunication failure / server response time-out. When some fields are deleted, the saving takes some time, but will prevail...
    Does anybody have experienced these problems as well and is there a solution so that larger xmlforms can be created?? Currently the xmlforms producing errors have over 100 entry fields.
    Rgds Caspar

    OK, I found it: when editing the Project Options, the server time out can be set. In NW04 edition this is set default to 120; in EP60 SP2 this value is empty. Increasing the value (e.g. 180) does the trick!

  • I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)

    if I try to add a new folder to a sub folder, the program does add the new bookmark folder, but it also renames the next folder in line in the parent of the original "subfolder" to the exact same name...
    maybe I just need to reload the mozilla, maybe I was hacked and that is what they changed...
    I also have a similar problem with microsoft explorer, every time I try to add a new folder it gives it a starting wierd name besides "New Folder"
    I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • 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

  • InfoPath 2013 error when adding new infoPath form

    Hi
    I have created an infoPath form and published it to a SharePoint 2013 site - form library (timerequest).  the form was saved and publish successfully. but when I try to add new document (form),  I got the error below and I hope someone can explain
    to me how each URL in the error is reported by either infoPath or SharePoint as I hope with that information i can trace where my problem is.
    background:
    SharePoint 2013 farm with 2 servers:  spserverfe1 and
    spserverapp1 (not load balancing)
    web application URL is http://spserverfe1
    All managed path site collection I created start with http://spserverfe1/sites/.....
    The correct URL for the form library is http://spserverfe1/sites/spsite/InfoPath/Timerequest  (this showed correctly in the manifest file)
    what I don't understand is when the error occurred,  the error URL showed both the app server spserverapp1 and the wfe server
    spserverfe1
    here is the error:
    The following location is not accessible, because it is in a different site collection: http://spserverapp1/sites/spsite/InfoPath/timerequest/Forms/template.xsn?SaveLocation=http://spserverfe1/sites/spsite/InfoPath/timerequest/&Source=http://spserverfe1/sites/spsite/InfoPath/timerequest/Forms/AllItems.aspx&ClientInstalled=true&OpenIn=Browser&NoRedirect=true&XsnLocation=http://spserverapp1/sites/spsite/InfoPath/timerequest/Forms/template.xsn
    Thanks in advance for your comments and advices
    Swanl

    Hi Swan,
    For troubleshooting your issue, please create an Alternate Access Mapping for the site at 
    http://WFEServerName/ to ensure this site can be resolved by InfoPath.
    For more information, you can have a look at the thread:
    https://social.msdn.microsoft.com/Forums/en-US/a75c3ba8-b41a-4c44-abc4-49a3dde68b1c/the-following-location-is-not-accessible-because-it-is-in-a-different-site-collection?forum=sharepointcustomizationlegacy
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Contact iTunes Store Support error when creating new apple ID

    This is for a business.  We currently have a combination of over 150 ipads and iphones and will be adding another 20+ per month.
    I am currently setting a quantity of ipads up for employees and preconfiguring them with their own itunes account.  In this batch, I was able to set up the first 7 with no problems.  On number 8 I keep hitting a roadblock with the message "Contact iTunes Store Support to complete this transaction". when I try to Create the Apple ID.  I have had this problem before when I hit a limit (although I don't know what that number of ID's was).
    These accounts do not have a credit card associated with them.  To create them I am going through the route of being in iTunes with no user logged in.  I go to the App Store and search for iBooks.  Then try to purchase it which pops up the login/create account screen.  I go through the screens adding the email address, password, security questions on the first data page.  Then add none for payment options and add the address.  When I click Create Apple ID I get that error message in the upper right corner.
    On all of these accounts I am creating them with the same security questions, address and phone number.  These devices are all based out of the same office so the address and phone numbers will be the same.  I keep the security questions the same as it would be a nightmare tracking all of the different variations for hundreds of accounts.  The only thing different between them is the username/email and the password.
    It would be really nice if Apple gave a way to create apple ID's for business purposes in bulk instead of creating them one at a time.  I will be setting up 20 new ipads per month for at least the next year.

    Looks like I may have found a work around solution to this problem.  It appears that there is a flag or something on the computer that is not allowing me to create more ID's on that computer.  As of this morning I was still unable to create any more ID's from that system.
    I tried creating the same ID on another computer and was able to with no problems.
    This does lead to a problem as I am setting up 20+ new ID's a month and typically work from one computer to do so.
    I really wish that Apple provided a way for companies to create new Apple ID's in groups using a batch process instead of creating them one at a time.  Or at least allowed you to create a new Apple ID with no credit card associated during the configuration process of the ipads.

  • Report template error when creating new report via SAP menu

    Hi everybody,
    we have the following error on our system:
    When trying to create a new crystal report on a SAP query, using the entry "Create new report from a SAP query" in the SAP menu an error occurs: An error ocurred while generating a new report template
    The error message appears after the SAP logon and the SAP query selection.
    I think this error is related to the report templates of Crystal...
    Is there any default template for SAP integrated queries?
    We are using Crystal Report 2008 SP2 with SAP Integration Kit.
    Thanks for any helps and comments.
    Sebastian

    The following SAP note might help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363337333633343330%7D.do]
    Regards,
    Raghavednra.G

  • Suddently have compile errors when creates new *.jspx in new project

    I'm creating a new test case.
    I created an applicaiton and a model project without any problems.
    I created the view project and add a jspx document into without anything into. I got no errors when compiling.
    I added a adf table by dropping an iterator from the data control palette. I got these errors when i recompiled.
    A library seem to be missing for the project or something like that. I don't understand why the web project is not correctly setted.
    Project: C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\view.jpr
    C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\public_html\WEB-INF\classes\.jsps\_untitled1_jspx.java
    Error(69,54): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(85,21): method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\public_html\untitled1.jspx
    Error(52,50): method doAfterBody() not found in class javax.faces.webapp.FacetTag
    Error(52,50): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(52,50): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(52,50): method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    Does somebody already have this problem and know how to solve it ?

    I found the problem.
    We added some librairies in the model problem and they was in conflict with the librairies in the view project. Removing unnecesary librairies from the model solve the problem (i think servlet.jar was the problem).

  • Security Network Layer (SNC) error when creating new session

    in SAPGUI 710, suddenly some users are getting a popup message ("Security Network Layer SNC error") when they use the Create New Session toolbar button.
    SSO works fine when they connect from SAP Logon, its only when attempting to open secondary sessions.  Also, its only some users.
    Where would I find log information resulting from the error?  Or any suggestions on steps to troubleshoot?
    Thanks!

    Hello Erik,
    Issue actually belongs to BC-SEC-SNC, not SAPGUI.
    The attached note advises how to run a trace to get more information about the issue
    150104 collecting dev_trace of user session via SM04
    If you recreate the issue again with the active trace, you might have more sucess with a reply.
    Just to advise that 7.10 is out of support and 7.20 should be used as soon as possible.
    Kind Regards,
    Jude

  • Siebel Error when creating new record

    Hi,
    We are getting the below error everytime we are trying to create a new reocrd in the Siebel WebClient Pharma8.0.
    "A Record that contains identical values to the record you have created already exists. If you would like to enter a new record , please ensure that the field values are unique. (SBL-DAT-00381). "
    Everytime I try to create a new Account or contact or new instance of a workflow I am getting this error.
    Also this error only occurs when I login to client as 'server' , if I login as a 'local' it doesn not create any error while creating a new record.
    Could this error be because of the Database or does it have to be with the Siebel Client Installation.
    Please help if anybody has faced such an issue before.
    Thanks :-)

    Hi,
    Turn on a level 4 log and you should be able to figure this out.
    Robert Ponder
    Lead Architect and Director
    Ponder Pro Serve
    cell: 770.490.2767
    fax: 770.412.8259
    email: [email protected]
    web: www.ponderproserve.com

  • Getting internal error when creating new FPMiView

    Hello,
    When I try to create new FPMiView through the Self-Service Administrator role I am getting this error:
    "An internal error occured: String index out of range: -4"
    I don't see anything in the log files and I tried several names and IDs yet keep getting this error.
    Any ideas...?
    Rgds,
    Roy

    Solution:
    Need to set the parameter Use_CustomerExit_ParameterProvider of the portal service com.sap.portal.appintegrator to TRUE and then restart it.
    Roy

  • Error when creating new movie

    When trying to create new movie in iMovie, I get a dialog box saying "The operation could not be completed. No other information is available about the problem." Also, I cannot import media into my iMovie library - problems could be related.

    I believe you get something like a 30-day full-functioning "trial" from the licensed install discs before you're locked out, if you don't activate over the Internet. It used to be a more manual process, but with CS4, it's done during install as long as you do have a live Internet connection. Again, from the information, it's hard to tell what's actually happening (ie. what's the message box that appears say?), but you could try plugging into the Internet and then going to Help > Activate from any of the suite apps.

  • Error when creating new oc4j-instance

    1.
    when i create a new oc4j-instance via EMWeb i get the following:
    The operation failed.. Instance: iasdb.test.xxx.ch Message: Keine Meldung für diese Exception definiert. Base Exception: java.lang.NoClassDefFoundError:nullKeine Meldung für diese Exception definiert.
    the german text means: no message defined for this exception.
    when i then refresh the website the oc4j-instance is created, but down.
    2.
    when i try to deploy an application to any OC4J-instance manually i get the following error:
    Web-Anwendung ee konnte nicht eingesetzt werden Error while parsing oc4j configuration files. Root Cause: D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden). D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden)
    OC4J_AA whas a instance i once created and deleted then. it shoud no more exist.
    where does this error come from?

    Hi Stefan -
    I'm not sure where this error comes from, I've never seen it. Particularly in German! ;-)
    I think the best way to get more information on this is to repost your message to the general 9iAS forum. I believe that there are people monitoring that forum who look afer the management console and who might be able to help you further.
    -steve-

  • SQL syntax error when creating record insertion form

    Good day,
    I was hoping someone could help me.  I am trying to create a record insertion form on a website to insert data into a database table.  When attempting to create the form, I am getting the following error: 
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Organization, Office, Department, Phone, EmailAddress, JobTitle, `OfficialMaili' at line 1
    Not sure what is going on.  I am running windows 8 and DW cs5 w/ MYSQL.  I am testing on a local server prior to pushing to the remote server.
    Thank you for your assistance and please advise any code you would like me to send.

    Here is all the code from this particular webpage.  I apologize, I am too stupid to realize which parts are SQL vice PHP vice HTML:
    <?php require_once('Connections/group4.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
       if (PHP_VERSION < 6) {
         $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
         case "text":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;   
         case "long":
         case "int":
           $theValue = ($theValue != "") ? intval($theValue) : "NULL";
           break;
         case "double":
           $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
           break;
         case "date":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "defined":
           $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
           break;
       return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
       $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
       $insertSQL = sprintf("INSERT INTO individual (Grade, LastName, FirstName, M.I., Organization, Office, Department, Phone, EmailAddress, JobTitle, `OfficialMailing Address`, Citizenship, Designation, IATrainingComplete, IADate) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                            GetSQLValueString($_POST['Grade'], "text"),
                            GetSQLValueString($_POST['LastName'], "text"),
                            GetSQLValueString($_POST['FirstName'], "text"),
                            GetSQLValueString($_POST['MI'], "text"),
                            GetSQLValueString($_POST['Organization'], "text"),
                            GetSQLValueString($_POST['Office'], "text"),
                            GetSQLValueString($_POST['Department'], "text"),
                            GetSQLValueString($_POST['Phone'], "double"),
                            GetSQLValueString($_POST['EmailAddress'], "text"),
                            GetSQLValueString($_POST['JobTitle'], "text"),
                            GetSQLValueString($_POST['OfficialMailing_Address'], "text"),
                            GetSQLValueString($_POST['Citizenship'], "text"),
                            GetSQLValueString($_POST['Designation'], "text"),
                            GetSQLValueString($_POST['IATrainingComplete'], "text"),
                            GetSQLValueString($_POST['IADate'], "text"));
      mysql_select_db($database_group4, $group4);
       $Result1 = mysql_query($insertSQL, $group4) or die(mysql_error());
      $insertGoTo = "index.php";
       if (isset($_SERVER['QUERY_STRING'])) {
         $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
         $insertGoTo .= $_SERVER['QUERY_STRING'];
       header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_group4, $group4);
    $query_rsIndividual = "SELECT * FROM individual ORDER BY IndividualNumber ASC";
    $rsIndividual = mysql_query($query_rsIndividual, $group4) or die(mysql_error());
    $row_rsIndividual = mysql_fetch_assoc($rsIndividual);
    $totalRows_rsIndividual = mysql_num_rows($rsIndividual);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Contact Us</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .header {
      font-size: 36px;
      text-decoration: underline;
    .quote {
      font-size: 18px;
      font-style: italic;
    .tablethisone {
      margin: 5px;
      padding: 25px;
      border: medium none #000;
      text-align: center;
    </style>
    </head>
    <body>
    <p><img src="Images/EGA.png" width="227" height="222" alt="EGA" /><span class="header">SAAR Tracking System
    </span></p>
    <ul id="MenuBar1" class="MenuBarHorizontal">
       <li><a href="index.php">Home</a>  </li>
       <li><a href="search.php">Search</a></li>
       <li><a href="contact.php">Contact Us</a>  </li>
    </ul>
    <p> </p>
    <p>PRIVACY ACT STATEMENT</p>
    <p>Executive Order 10450, 9397; and Public Law 99-474, the Computer Fraud and Abuse Act.
       To record names, signatures, and other identifiers for the purpose of validating the trustworthiness of individuals requesting
       access to Department of Defense (DoD) systems and information. NOTE: Records may be maintained in both electronic
       and/or paper form.</p>
    <p> </p>
    <p> </p>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
       <table align="center">
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Grade:</td>
           <td><input type="text" name="Grade" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">LastName:</td>
           <td><input type="text" name="LastName" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">FirstName:</td>
           <td><input type="text" name="FirstName" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">M.I.:</td>
           <td><input type="text" name="MI" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Organization:</td>
           <td><input type="text" name="Organization" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Office:</td>
           <td><input type="text" name="Office" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Department:</td>
           <td><input type="text" name="Department" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Phone:</td>
           <td><input type="text" name="Phone" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">EmailAddress:</td>
           <td><input type="text" name="EmailAddress" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">JobTitle:</td>
           <td><input type="text" name="JobTitle" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">OfficialMailing Address:</td>
           <td><input type="text" name="OfficialMailing_Address" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Citizenship:</td>
           <td><input type="text" name="Citizenship" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Designation:</td>
           <td><input type="text" name="Designation" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">IATrainingComplete:</td>
           <td><input type="text" name="IATrainingComplete" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">IADate:</td>
           <td><input type="text" name="IADate" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right"> </td>
           <td><input type="submit" value="Insert record" /></td>
         </tr>
       </table>
       <input type="hidden" name="MM_insert" value="form1" />
    </form>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p>Disclosure of this information is voluntary; however, failure to provide the requested information may impede, delay or
    prevent further processing of this request.</p>
    <p class="quote">&quot;Be polite, be professional, but have a plan to kill everybody you meet&quot; General James Mattis</p>
    <p> </p>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsIndividual);
    ?>

  • Error When Creating New User in UME - GRC 5.3, but works via Backend

    All,
    When I try to create a new user in the User Management (UME), I get a very generic error message: "An error occurred; contact your system administrator". However, if I create the new user in the ABAP - backend first then he/she will show up in the UME and I can add Java roles to the user in the UME and he/she can work without issues. Therefore: do you always have to create GRC administrator users in the backend first or should it work when first creating in the UME as well?
    Thanks, Joerg

    Hi,
    Is your system a dual stack (ABAP+JAVA)? In that case the ABAP stack will be the master. You can check if it's an ABAP data source if you go to UME >> Configuration >> Data Sources
    Regards,
    Vit
    More info in thread: How to create Roles in UME (ABAP+JAVA stack)
    Edited by: Vit Vesely on Apr 10, 2010 9:28 PM

Maybe you are looking for

  • Sap CRM 2007 Security related issue

    Hi All, I am working on SAP CRM 2007 security. I have scenario, which we are trying to fix. There are two users A and B. A is assigned to role X B is assigned to role y Business Partner 123 is created for user A Business Partner 456 is created for us

  • Error Message while cretaing a Process Order

    Hi all, While trying to created a Process order I am getting this message. You cannot make an assignment to make-to-order stock Message no. CO684 Diagnosis The component cannot be allocated to an individual stock because make-to-order production and

  • XML in server getInputstream and redirect to another page

    I have written a HttpServlet that accepts XML from the request.getInputStream, does the xml parsing, some DB operations and then the page is supposed to invoke another struts action(.do action) and for that I am using response.sendRedirect("/order.do

  • In Case of Emergency (ICE) access

    I have some ICE, In Case of Emergency numbers in my iPhone for the occasion where I might be incapacitated and first responders need to contact one of them.  How can first responders access these numbers on my phone if it is locked with a passcode. 

  • Invalid state error when using concurrent sessions in Discoverer Viewer

    We are oracle 10g DB for Oracle BI Discoverer Viewer application. We have a problem when a user logs in with the same ID on two different sessions under one machine(1 mac address). The error message is as per below. ==================================