When creating new records in any entity getiing error in mscrm 2011

Dear all;
when i try to create new record in any entity for example opportunity i am getting this error 
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Server was unable to process request.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147023878</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
/>
  <Message>Server was unable to process request.</Message>
  <Timestamp>2013-09-04T12:10:21.3522306Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>
please help

Hi Anwar,
As suggested above enable the trace, This would help you get the exact and detailed error.
Steps:-
1. Start the trace
2. Reproduce the Error
3. Stop the trace.
4. Look in the log file and search for error.
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

Similar Messages

  • How to clear the previous  filter text when creating new record??

    Dear All,
    my question is i i created table having filter and sorting.
    when i m searching data through filter text data is coming but i want to clear that text(filter text) when i am creating new record.
    for my case when i am creating new record all blank field is coming but in that filter text box previous data is coming which one i was searching.
    but i need when i will create a new record tat filter text should be clear.
    Thanks
    Damby

    Damby, please tell us your jdev version.
    Check my blog http://tompeez.wordpress.com/2011/10/29/jdev-how-to-reset-a-filter-on-an-aftable/ you can add this to the button you use to create the new record.
    Timo

  • Creating new record in Results Table giving Error

    Hi All,
    On update page there is a Results Table with Add button to create a new row.
    While creating a new record on Results Table gives error
    Attribute set for AccessId in view object XXLCUpdVariablesVO1 failed
    I have checked EO and VO attributes, everything seems to be right.
    Also Updatable is set to 'Always'.
    Still don't know why this error is coming up.
    Plz help to resolve this error.
    Thanks,
    SK

    Ajay,
    XML code
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <Entity
    Name="XXLCVarAssignmentsEO"
    DBObjectType="table"
    DBObjectName="XXLCOKC_VARIABLE_ASSIGNMENTS"
    AliasName="XXLCVarAssignmentsEO"
    BindingStyle="OracleName"
    UseGlueCode="false"
    RowClass="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEOImpl"
    DefClass="oracle.apps.fnd.framework.server.OAEntityDefImpl"
    CollClass="oracle.apps.fnd.framework.server.OAEntityCache" >
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="10.1.3.41.57" />
    <AttrArray Name="_publishEvents">
    </AttrArray>
    <Attr Name="_panelSchema" Value="table|alias" />
    <Attr Name="_codeGenFlag2" Value="Init|Delete|Access|Val" />
    </DesignTime>
    <Attribute
    Name="AssignmentId"
    IsNotNull="true"
    ColumnName="ASSIGNMENT_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS"
    PrimaryKey="true" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AssignmentAccess"
    IsNotNull="true"
    Precision="30"
    ColumnName="ASSIGNMENT_ACCESS"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="VariableId"
    IsNotNull="true"
    ColumnName="VARIABLE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="ListValueId"
    IsNotNull="true"
    ColumnName="LIST_VALUE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="OrganizationId"
    IsNotNull="true"
    Precision="15"
    Scale="0"
    ColumnName="ORGANIZATION_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="TemplateId"
    IsNotNull="true"
    ColumnName="TEMPLATE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AuctionHeaderId"
    IsNotNull="true"
    ColumnName="AUCTION_HEADER_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="PoHeaderId"
    IsNotNull="true"
    ColumnName="PO_HEADER_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreatedBy"
    IsNotNull="true"
    ColumnName="CREATED_BY"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreationDate"
    IsNotNull="true"
    ColumnName="CREATION_DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateDate"
    IsNotNull="true"
    ColumnName="LAST_UPDATE_DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdatedBy"
    IsNotNull="true"
    ColumnName="LAST_UPDATED_BY"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateLogin"
    IsNotNull="true"
    ColumnName="LAST_UPDATE_LOGIN"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AccessId"
    ColumnName="ACCESS_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Key
    Name="SysC00329905" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentAccess" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;ASSIGNMENT_ACCESS&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329905" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329906" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.VariableId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;VARIABLE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329906" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329907" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.ListValueId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LIST_VALUE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329907" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329908" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.OrganizationId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;ORGANIZATION_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329908" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329909" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.TemplateId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;TEMPLATE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329909" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329910" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AuctionHeaderId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;AUCTION_HEADER_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329910" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329911" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.PoHeaderId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;PO_HEADER_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329911" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329912" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreatedBy" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;CREATED_BY&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329912" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329913" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreationDate" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;CREATION_DATE&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329913" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329914" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateDate" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATE_DATE&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329914" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329915" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdatedBy" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATED_BY&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329915" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329916" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateLogin" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATE_LOGIN&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329916" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329917" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_isPrimary" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329917" />
    </DesignTime>
    </Key>
    </Entity>
    XXLCVarAssignmentsEOImpl Code
    package xxlc.oracle.apps.okc.schema.articles.variables.server;
    import oracle.apps.fnd.framework.OAAttrValException;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAEntityDefImpl;
    import oracle.apps.fnd.framework.server.OAEntityImpl;
    import oracle.jbo.AttributeList;
    import oracle.jbo.Key;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.server.EntityDefImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class XXLCVarAssignmentsEOImpl extends OAEntityImpl
    public static final int ASSIGNMENTID = 0;
    public static final int ASSIGNMENTACCESS = 1;
    public static final int VARIABLEID = 2;
    public static final int LISTVALUEID = 3;
    public static final int ORGANIZATIONID = 4;
    public static final int TEMPLATEID = 5;
    public static final int AUCTIONHEADERID = 6;
    public static final int POHEADERID = 7;
    public static final int CREATEDBY = 8;
    public static final int CREATIONDATE = 9;
    public static final int LASTUPDATEDATE = 10;
    public static final int LASTUPDATEDBY = 11;
    public static final int LASTUPDATELOGIN = 12;
    public static final int ACCESSID = 13;
    private static OAEntityDefImpl mDefinitionObject;
    /**This is the default constructor (do not remove)
    public XXLCVarAssignmentsEOImpl()
    /**Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject()
    if (mDefinitionObject == null)
    mDefinitionObject =
    (OAEntityDefImpl)EntityDefImpl.findDefObject("xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO");
    return mDefinitionObject;
    /**Add attribute defaulting logic in this method.
    public void create(AttributeList attributeList)
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number asgId = transaction.getSequenceValue("XXLC_VAR_ASG_SEQ");
    setAssignmentId(asgId);
    /**Add entity remove logic in this method.
    public void remove()
    super.remove();
    /**Add Entity validation code in this method.
    protected void validateEntity()
    super.validateEntity();
    /**Gets the attribute value for AssignmentId, using the alias name AssignmentId
    public Number getAssignmentId()
    return (Number)getAttributeInternal(ASSIGNMENTID);
    /**Sets <code>value</code> as the attribute value for AssignmentId
    public void setAssignmentId(Number value)
    if (value != null)
    OADBTransaction transaction = getOADBTransaction();
    Object[] varKey = {value};
    EntityDefImpl varDefinition = XXLCVarAssignmentsEOImpl.getDefinitionObject();
    XXLCVarAssignmentsEOImpl variable =
    (XXLCVarAssignmentsEOImpl)varDefinition.findByPrimaryKey(transaction, new Key(varKey));
    if (variable != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AssignmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    setAttributeInternal(ASSIGNMENTID, value);
    /**Gets the attribute value for AssignmentAccess, using the alias name AssignmentAccess
    public String getAssignmentAccess()
    return (String)getAttributeInternal(ASSIGNMENTACCESS);
    /**Sets <code>value</code> as the attribute value for AssignmentAccess
    public void setAssignmentAccess(String value)
    setAttributeInternal(ASSIGNMENTACCESS, value);
    /**Gets the attribute value for VariableId, using the alias name VariableId
    public Number getVariableId()
    return (Number)getAttributeInternal(VARIABLEID);
    /**Sets <code>value</code> as the attribute value for VariableId
    public void setVariableId(Number value)
    setAttributeInternal(VARIABLEID, value);
    /**Gets the attribute value for ListValueId, using the alias name ListValueId
    public Number getListValueId()
    return (Number)getAttributeInternal(LISTVALUEID);
    /**Sets <code>value</code> as the attribute value for ListValueId
    public void setListValueId(Number value)
    setAttributeInternal(LISTVALUEID, value);
    /**Gets the attribute value for OrganizationId, using the alias name OrganizationId
    public Number getOrganizationId()
    return (Number)getAttributeInternal(ORGANIZATIONID);
    /**Sets <code>value</code> as the attribute value for OrganizationId
    public void setOrganizationId(Number value)
    setAttributeInternal(ORGANIZATIONID, value);
    /**Gets the attribute value for TemplateId, using the alias name TemplateId
    public Number getTemplateId()
    return (Number)getAttributeInternal(TEMPLATEID);
    /**Sets <code>value</code> as the attribute value for TemplateId
    public void setTemplateId(Number value)
    setAttributeInternal(TEMPLATEID, value);
    /**Gets the attribute value for AuctionHeaderId, using the alias name AuctionHeaderId
    public Number getAuctionHeaderId()
    return (Number)getAttributeInternal(AUCTIONHEADERID);
    /**Sets <code>value</code> as the attribute value for AuctionHeaderId
    public void setAuctionHeaderId(Number value)
    setAttributeInternal(AUCTIONHEADERID, value);
    /**Gets the attribute value for PoHeaderId, using the alias name PoHeaderId
    public Number getPoHeaderId()
    return (Number)getAttributeInternal(POHEADERID);
    /**Sets <code>value</code> as the attribute value for PoHeaderId
    public void setPoHeaderId(Number value)
    setAttributeInternal(POHEADERID, value);
    /**Gets the attribute value for CreatedBy, using the alias name CreatedBy
    public Number getCreatedBy()
    return (Number)getAttributeInternal(CREATEDBY);
    /**Sets <code>value</code> as the attribute value for CreatedBy
    public void setCreatedBy(Number value)
    setAttributeInternal(CREATEDBY, value);
    /**Gets the attribute value for CreationDate, using the alias name CreationDate
    public Date getCreationDate()
    return (Date)getAttributeInternal(CREATIONDATE);
    /**Sets <code>value</code> as the attribute value for CreationDate
    public void setCreationDate(Date value)
    setAttributeInternal(CREATIONDATE, value);
    /**Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate
    public Date getLastUpdateDate()
    return (Date)getAttributeInternal(LASTUPDATEDATE);
    /**Sets <code>value</code> as the attribute value for LastUpdateDate
    public void setLastUpdateDate(Date value)
    setAttributeInternal(LASTUPDATEDATE, value);
    /**Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy
    public Number getLastUpdatedBy()
    return (Number)getAttributeInternal(LASTUPDATEDBY);
    /**Sets <code>value</code> as the attribute value for LastUpdatedBy
    public void setLastUpdatedBy(Number value)
    setAttributeInternal(LASTUPDATEDBY, value);
    /**Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin
    public Number getLastUpdateLogin()
    return (Number)getAttributeInternal(LASTUPDATELOGIN);
    /**Sets <code>value</code> as the attribute value for LastUpdateLogin
    public void setLastUpdateLogin(Number value)
    setAttributeInternal(LASTUPDATELOGIN, value);
    /**getAttrInvokeAccessor: generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index,
    AttributeDefImpl attrDef) throws Exception
    switch (index)
    case ASSIGNMENTID:
    return getAssignmentId();
    case ASSIGNMENTACCESS:
    return getAssignmentAccess();
    case VARIABLEID:
    return getVariableId();
    case LISTVALUEID:
    return getListValueId();
    case ORGANIZATIONID:
    return getOrganizationId();
    case TEMPLATEID:
    return getTemplateId();
    case AUCTIONHEADERID:
    return getAuctionHeaderId();
    case POHEADERID:
    return getPoHeaderId();
    case CREATEDBY:
    return getCreatedBy();
    case CREATIONDATE:
    return getCreationDate();
    case LASTUPDATEDATE:
    return getLastUpdateDate();
    case LASTUPDATEDBY:
    return getLastUpdatedBy();
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    case ACCESSID:
    return getAccessId();
    default:
    return super.getAttrInvokeAccessor(index, attrDef);
    /**setAttrInvokeAccessor: generated method. Do not modify.
    protected void setAttrInvokeAccessor(int index, Object value,
    AttributeDefImpl attrDef) throws Exception
    switch (index)
    case ASSIGNMENTID:
    setAssignmentId((Number)value);
    return;
    case ASSIGNMENTACCESS:
    setAssignmentAccess((String)value);
    return;
    case VARIABLEID:
    setVariableId((Number)value);
    return;
    case LISTVALUEID:
    setListValueId((Number)value);
    return;
    case ORGANIZATIONID:
    setOrganizationId((Number)value);
    return;
    case TEMPLATEID:
    setTemplateId((Number)value);
    return;
    case AUCTIONHEADERID:
    setAuctionHeaderId((Number)value);
    return;
    case POHEADERID:
    setPoHeaderId((Number)value);
    return;
    case CREATEDBY:
    setCreatedBy((Number)value);
    return;
    case CREATIONDATE:
    setCreationDate((Date)value);
    return;
    case LASTUPDATEDATE:
    setLastUpdateDate((Date)value);
    return;
    case LASTUPDATEDBY:
    setLastUpdatedBy((Number)value);
    return;
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    case ACCESSID:
    setAccessId((Number)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    /**Gets the attribute value for AccessId, using the alias name AccessId
    public Number getAccessId()
    return (Number)getAttributeInternal(ACCESSID);
    /**Sets <code>value</code> as the attribute value for AccessId
    public void setAccessId(Number value)
    setAttributeInternal(ACCESSID, value);
    /**Creates a Key object based on given key constituents
    public static Key createPrimaryKey(Number assignmentId)
    return new Key(new Object[]{assignmentId});
    Thanks,
    SK

  • Slow standalone oc4j when creating new record

    Hi
    I have the following scenario:
    An ADF BC application against a Oracle10g DB, aprox 30.000 rows in the DB.
    The client is using uix.
    The server is a standalone OC4J on linux. It has 512M RAM.
    When I want to create a new record via the browser, it is very very slow (20-40 sec.) I'm using the 'immidiate' update mode. However the search facility is fast, even if I lookup all the (30.000)rows. I use the same view object for both.
    Any ideas why the create function is slow, please.

    Hi, John!
    The code of inputText is:
    <af:inputText value="#{bindings.AIpasibasPk.inputValue}"
                                    label="#{bindings.AIpasibasPk.hints.label}"
                                    required="#{bindings.AIpasibasPk.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.AIpasibasPk.hints.precision}"
                                    shortDesc="#{bindings.AIpasibasPk.hints.tooltip}"
                                    id="it12">
                        <f:validator binding="#{bindings.AIpasibasPk.validator}"/>
                      </af:inputText>I need to put converter? If Yes, how I can do this correctly?
    Best regards, Debuger!

  • 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

  • When create new projec "An unexpected severe error has occurred"

    I've update to JDeveloper when create new project i get the following error
    Sep 11, 2010 8:33:43 AM oracle.jdevimpl.rescat2.hook.DTExtensionLoader loadAdapters()
    WARNING: error while registering resource catalog adapter factory [oracle.webcenter.content.internal.model.rc.ContentInitialContextFactory] for connection type [oracle.webcenter.content.internal.model.rc.ContentConnectionType]
    oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.webcenter.content.internal.model.rc.ContentConnectionType
         Dependent class: oracle.jdevimpl.rescat2.hook.DTExtensionLoader
         Loader: ide-global:11.1.1.0.0
         Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.jdevimpl.rescat2.jar
         Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions
    This load was initiated at ide-global:11.1.1.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.

    Did anyone find out why this is happening?I just installed Jdeveloper and I am facing the same problem
    Cheers
    Sridhar

  • 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

  • Recurring CacheFullException when creating new Entity Bean

    Normally I can create new instances of my Entity Bean just fine. However, at some point (whether it's after a rollback or not, I don't yet know), I get a CacheFullException when trying to create a new Entity Bean.
    The CacheFullException exception shows a size that increments by one each time this error occurs. The reported size in the exception continually increases way past the max-beans-in-cache amount of 1000. Yet, the Administrator console reports the "Cached beans current count" as zero. So, the cache appears empty, yet every attempt to create a new entity bean fails with a CacheFullException!
    I am using Weblogic Server 8.1 SP3, database concurrency strategy, BMP, and Oracle 9i. The Entity Bean's primary key class was generated by EJBGen (primary key is a java long).
    Stopping and restarting the Weblogic server fixes the problem temporarily.
    Any help would be greatly appreciated.
    Jim

    Yes, but if objects are equal they should have same
    hashCode. If it is not happening, you have a problem.Yes, and equal objects do have the same hash code. Please see below for primary key class implementation as generated by EJBGen 2.16.
    There can be a bug in reporting number of beans.OK, are you saying there is a bug that sometimes shows 0 beans in the cache when the cache is actually full? And even if the cache were full, all the beans would have to be involved in transactions for there not to be room for one more new bean in the cache. And I know that there are no other transactions going on, because this is an isolated system that only I am using. Again, Weblogic Server 8.1 SP3.
    It is possible if your PKs don't implement
    equals/hashCode correctly.They look correct to me. Here is the primary key class implementation as generated by EJBGen 2.16. The primary key is a java long, and I am using CMP (not BMP as I mistakenly reported earlier).
    public class StatusPK implements Serializable {
    public long statusID;
    public StatusPK() {}
    public StatusPK(long statusID) {
    this.statusID = statusID;
    private int m_hashCode = 0;
    public int hashCode() {
    if(0==m_hashCode) {
    m_hashCode = ((int) statusID);
    return m_hashCode;
    public boolean equals(Object other) {
    if(other==this) return true;
    if(null==other) return false;
    if(other.hashCode() != hashCode()) return false;
    try {
    StatusPK other2 = (StatusPK) other;
    return (this.statusID==other2.statusID)
    catch(ClassCastException ex) {
    return false;
    The only problem I see with this class is if the default constructor (no args) would be called, then the primary key and hashCode would always be zero. However, I'm assuming here that EJBGen knows what it is doing and that the default constructor is never actually used. In addition, I know that all of the beans in the database have valid primary keys, and they were created the same way that eventually continually fails later on.
    Thanks...
    jereitz

  • Imported Form and sub-form from another database. Sub-form not creating new records tied to parent form's data.

    I have imported all objects from an old access db (.adp file) into a new db (.accdb).  All of my data lives in sql server so I have added all the tables and views to the .accdb as linked tables.  My forms all connect to data, but I am having issues
    with a sub form.  The sub form does not allow for creation of children records tied to the parent record the way the old db did/does.
    Correct - old format .adp file (notice the empty second record in sub-form with the defaulted date of today's date):
    Incorrect - new .accdb file (notice the lack of empty second record in sub-form like above):
    If I click the create new record icon in the bottom of the subform, it creates a completely blank record not tied to the parent record (fields blacked out in screen shots above).  When using this button all parent record fields are blank.  
    I have also verified the child table used in the sub-form has a valid Fky relationship to parent table used in the parent form.
     

    Have you checked each forms 'Filter' property (in Design view) to make sure they are blank and that each forms 'Filter On Load' property to make sure it is set to 'No'? Also, you might try inserting the following commands in each forms On
    Open event:
    DoCmd.RunCommand acCmdRemoveAllFilters
    DoCmd.ShowAllRecords
    If you can open each forms Record Source and they are showing that new records are able to be entered (the new record * is showing at the bottom of the recordset), then check each forms On Load and On Open events to make sure there is no filtering.
    In addition, check any macro or VBA commands behind the button that opens the main form to make sure there is no SQL filtering in the DoCmd.OpenForm command.
    If one of the forms Record Source does NOT allow new records, then you will need to change that Record Source so the new record * indicator shows.
    Out of ideas at this point.

  • Creates new record in the Qualifier Table while importing.

    Hi Guys,
    When sending new bank details to MDM, then MDM creates a new record in the Bank Detail qualified lookup table. This is OK. But when sending exactly same bank details again to MDM, then MDM creates again a new record in the Bank Detail qualified lookup table. I would expect that it
    first performs the Automap and only if it cannot find a value, it will add a new record!
    Can you guys help me out from this?
    Best Regards
    Devaraj PK

    Hi Devaraj,
    Please check these configuration options of Import Manager
    1. Default Qualified Update - The default setting for whether incoming source subrecords either are appended to, completely replace,or update the set of existing qualified links of a qualified lookup field when updating existing records.
    2. Default Matching Qualifiers - The default setting for which qualifiers to use as matching qualifiers when matching existing qualified links when updating existing records.
    Any operation on the qualified tables will depend on the above two options.
    Reward if found useful
    Regards,
    Jitesh Talreja

  • How to create new record with old values

    Dear all
    i have creation page with 45 fields are there
    user will enter all the fields and save it will call to non editable mode
    if user will click on change button it will call to editable mode
    in that my requirement is user wont change among those ites(45 items)clcik on save again it will call to view mode
    in that user will change any one of the value among 45 items and click on save button i need to create one more record in database
    if user wont edit any one of the field out of 45 items i dont want to create new record in database
    how can we achieve thsi functionality
    Regards
    Sreekanth

    Hi Srikant,
    When user may edit the record, the same row may get updated in vo. Thus over writing existing row instead of creating new row.
    Approach1..
    On the page where user may edit records, instead of presenting records of existing row, present copy of existing row. So
    In AM... (Later on you can put vo logic to its proper place, i.e. vo java file)
    public void viewPageCallSetup()
    Row originalRow=vo.createRow();
    Row dummyRowForEdit=vo.createRow();
    //COPY THE ORIGINAL ROW TO DUMMY ROW. IF THERE IS DIRECT METHOD TO CREATE COPY OF EXISTING ROW, THAT MAY BE MUCH BETTER.
    for(int i=0;i<vo.getAttributeCount()-1; i++)
    dummyRowForEdit.setAttribute(i, originalRow.getAttribute(i));
    vo.insertRow(dummyRowForEdit);
    vo.setNewRowState(Row.STATUS_INITIALIZED);
    vo.setCurrentRow(dummyRowForEdit);
    call this method in contoller's processRequest..
    string oid=pagecontext.getparameter("oid");
    if(pageContext.getparameter("Purpose").equals("Edit")) //Means user clickED the edit button so we need to replicate the row
    am. viewPageCallSetup(oid); //calling this method in am
    else
    In PFR...
    if(pageContext.getparameter("Purpose").equals("Edit"))
    am.xxcostedit(oid); //calling this method in am
    in case user selects "Cancel" on edit form,we need to remove the duplicate row. So in AM write a method to remove the duplicate rowd on click of "Cancel" button on edit form.
    Rest of the logic is same for "Save" button. Just say commit.
    Abdul Wahid

  • When creating new track in stereo... track opens in mono in arrange window

    Since upgrading to 8.0.2...weird things are happening to previously saved projects. Stereo tracks are opening up mono and affecting following track. When creating new tracks in stereo.... tracks open mono. I don't know if this is due to 8.0.2 but all these freaky things have happening since. Also, when previewing Apple Loops, I can only hear it on one side, but Loops sounds fine once dragged to arrange window. Is this common or is my computer haunted ? Should I call Ghost Busters ? HELP !!! lol

    Hi there,
    I'm having the same problem as well: creating new tracks results in a mono software instrument, not the usual stereo software instrument. BUT... "Universal Track Mode" is already checked in my Audio prefs. I unchecked & rechecked it, but to no avail... I'm still only getting mono software instruments.
    Any other ideas? No changes have been made to my system, and I'm running the latest version of Logic Pro.
    Kirby

  • SSMS crash when creating new database diagram

    For several years I have been unable to create database diagrams from within SSMS.  I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
    I have installed, uninstalled, and repaired many dozens of times.  I am currently using VS2013 ultimate with SQL2014 express.
    I have tried every related 'workaround' that I can find on the internet.  Still the problem persists.
    Any help would be deeply appreciated.
    Here are the relevant details with file versions:
    In SSMS, I right-click on a database and choose New Database Diagram.  A Blank diagram window appears with the SSMS error dialog:
    ===================================
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    Program Location:
       at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
       at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
       at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
       at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
    con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
    Version info taken from Sql Server  Management Studio/Help/About dialog:
    Microsoft SQL Server Management Studio      12.0.2000.8
    Microsoft Analysis Services Client Tools    12.0.2000.8
    Microsoft Data Access Components (MDAC)     6.1.7601.17514
    Microsoft MSXML                             3.0 4.0 5.0 6.0
    Microsoft Internet Explorer                 9.11.9600.17358
    Microsoft .NET Framework                    4.0.30319.18444
    Operating System                            6.1.7601
    DLL versions
    c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
    dsref80.dll  version 12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
    msdds.dll    12.0.21005.1
    msddsf.dll   12.0.21005.1
    msddslm.dll  12.0.21005.1
    msdds.mp.dll 12.0.21005.1
    msddsp.dll   12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
    msddsui.dll 12.0.21005.1

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Creating new records while querying existing record

    Hi,
    I have one master - detail form.
    First i created 1 record. Request ID is the primary key. Now request id generated. For ex.: 10
    Request Id, date, requestor , location, status fields are in header block.
    In lines block, i hv some other fields.. and one field called 'Activity'.
    While creating first record, the activity will be 'New'.
    Then i'll query the record '10'.
    when i'm changing the activity 'New' into 'Upgrade', it should create new record with new request ID.
    How to do this?
    I hv written procedure that, i'm taking field values to local variables. Then assigning the local variable values to field values.
    It is not creating as new record. It overwriting the existing record with new values. Existing record is missing.
    Pl. give steps.
    Thanks
    Kavi

    Hi,
    Okk, you will have to do two things. Create two trigger on block level on which you want to do your changes.
    1. First trigger. (PRE-UPDATE)
    In pre-update trigger u will have to write the complete insert statement into the same table with new req id. like
    DECLARE
    vReqNo DATA_TYPE;
    BEGIN
    SELECT MAX(REQ_ID)
    INTO vReqNo
    FROM your_table;
    INSERT INTO your_table
    (req_no, fields....)
    VALUES
    (vReqNo, :forms_values);
    END;
    2. Create 2nd trigger on block level (ON-UPDATE)
    write in this trigger
    NULL;
    for viewing the inserted record. What u have to do is in ON-UPDATE after null; create one timer NO_REAPEAT.
    and in timer u will have to set the block property to req_id = generated_req_id_from_pre_update_trigger and
    execute_query;
    hope it will work...
    -Ammad

  • Cannot select name when creating new DC

    Hi all,
    It seems I encounter this kind of problems over and over again when dealing with NWDI )-:
    In this thread Cannot select vendor when creating new DC I couldn't select vendor.
    I installed a new NWDI system (version is 7.18), did all the post installation steps including the configuration of a name server on the SLD but I cannot select "name" and the vendor I entered is not shown (even if enter it manually I cannot select name so it doesn't help - see snapshot).
    [snapshot|http://img134.imageshack.us/i/nwdi.jpg/]
    Snapshot: http://img134.imageshack.us/i/nwdi.jpg/
    I did name server config on : http://server:port/dtr/system-tools/administration/NameServerConfiguration
    Name prefixes are defined under 'Name Reservation -> Development Component Name' - I used <x.y>/* and <x.y>/tst (x.y is namespace like com.omri).
    I updated CMS after setting the name server, restart J2EE and did all kind of voodoo without success.
    I use local SLD which is part of the J2EE.
    I don't get any error messages (from NWDI/SLD/NWDS).
    I don't remember this kind of problem with NWDI on 6.40 versions.
    Moreover I installed and configured several systems on 7.12 & 7.13 versions without any problems but with 7.14 & 7.18 I've problem with setting the name server...
    Please help,
    Thanks,
    Omri

    Solved it on my own by deleting and creating the track again (with the same settings!!!)

Maybe you are looking for

  • Error while posting FB50

    Hi, While posting a journal entry as below i am getting error (soft error) "Do not Assign any objects in cost accounting to account 100001" Acct No   C/D     Amt        Cost Center 100001   credit   100.11 ;    5000001 (balance sheet account) 700499 

  • Need help with Intel Mac mini... potential logic board failure...

    Hey everyone! For the past couple years, I've been using an Intel Mac mini which I was able to afford before rough times hit for me. It has been a champ for a long time, until recently. In the past week, the clock would lose time ever so often, and l

  • Internet Explorer Tool Bar

    I'm a RH X5 user, and somehow when I promote a new release of my project, I have lost the Internet Explorer tool bar that is at the top of the screen (File/Edit/View/Favorites/etc.). I have two other projects, and they are just fine. I am at a loss a

  • Printout always sent to default printer

    Hi All, Every time I select 'LOCL' and send a print.. irrespective of what printer I select the printout is always sent to the windows DEFAULT printer. Can someone plz help me understand the situation? Thanks in Advance.. -Muktar

  • FM for recalculating pricing on document

    Hi Does anybody knows function module that will recalculate prices on document? I look for FM CRM_PRIDOC*, but I can not find any appropriate. Regards