Error while creating customer account sites

I am creating Customer Account Sites using the TCA API from Toad.
I am getting the following error
The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
The Operating unit has been defined.
I am using the following code:
DECLARE
p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
x_return_status VARCHAR2(2000);
x_msg_count NUMBER;
x_msg_data VARCHAR2(2000);
x_cust_acct_site_id NUMBER;
BEGIN
p_cust_acct_site_rec.cust_account_id := 9462;
p_cust_acct_site_rec.party_site_id := 5473;
--p_cust_acct_site_rec.language := 'US';
p_cust_acct_site_rec.org_id := 126;
p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
hz_cust_account_site_v2pub.create_cust_acct_site(
'T',
p_cust_acct_site_rec,
x_cust_acct_site_id,
x_return_status,
x_msg_count,
x_msg_data);
dbms_output.put_line(SubStr('x_return_status =
'||x_return_status,1,255));
dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
IF x_msg_count >1 THEN
FOR I IN 1..x_msg_count
LOOP
dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
FND_API.G_FALSE ), 1, 255));
END LOOP;
END IF;
END;
Thanks and Regards,
K tanna

Hi,
Please mention the application release along with the database version and OS.
Please see if ('Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly [ID 732671.1]) helps.
More details about setting the application context can be found in these docs.
Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
Note: 462383.1 - SQL Queries and Multi-Org Architecture in Release 12
Note: 165042.1 - FAQ - Multiple Organizations Architechure (Multi-Org)
Thanks,
Hussein

Similar Messages

  • Error while creating customer account sites from backend

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Duplicate post.
    Error while creating customer account sites
    Error while creating customer account sites

  • Error While Creating Customer Account Site.

    Hi ,
    I am creating a customer thru API's.
    I am succesffuly creating location,party,party site,party site use,customer account.But unable to create customer account site. I am getting the below error:
    Unable to process your transaction. The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    Could anyone help me to resolve out this issue.

    Hi,
    What is the application release?
    Did you set the Application/Multi-org context properly before using this API?
    Note: 732671.1 - 'Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly
    Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
    Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
    Regards,
    Hussein

  • Create Customer Account Site fail ORA-01400

    When creating customer account site in Oracle EBS r12.0.4, Error occur:
    The following SQL error occurred: ORA-01400: cannot insert NULL into ("AR"."HZ_CUST_ACCOUNTS_M"."CUSTOMER_MERGE_HEADER_ID").
    Can anyone help me solve this problem?
    Thanks in advanced!

    How do you create the customer account? From the application (if yes, mention the Navigation Path) or using an API (mention the API)?
    The following SQL error occurred: ORA-01400: cannot insert NULL into ("AR"."HZ_CUST_ACCOUNTS_M"."CUSTOMER_MERGE_HEADER_ID").Does this happen when creating any customer account or with specific ones only?
    Are you passing all the mandatory fields when creating the custom account?
    Obtain the FRD log for details about the error.
    Thanks,
    Hussein

  • Error while creating subsite from site template

    Hi,
    I am getting below error while creating subsite from existing site template .
    Sachin Bhosale

    There must be a duplicate Email field created in any list/library. The cause can be identified by renaming the site template to sitename.cab > extact the cab file > open the manifest file search for email and see where it is associated. Refer
    to the following blog post for more information
    http://sharepointserved.blogspot.com/2012/11/a-duplicate-name-was-found.html
    http://sharepoint.stackexchange.com/questions/11944/error-when-creating-a-site-from-custom-template-a-duplicate-field-name-name
    Cheers,

  • Error while creating customer

    While creating customer from AR responsibility, I am getting an error while clicking "details" tab for "Ship to"
    error I am getting are
    1. The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    2. Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Operating unit -1 does not exist in the target database. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.GL_GLOBAL", line 65 ORA-06512: at line 1 ;
    any idea why is it coming, I checked Operating unit profile option i.e MO: Op Unit and MO: Sec. , all are fine.

    The error is occuring because Oracle is trying to validate/set a DFF.
    Check the DFF attached to the customer entity, address entity or site use entity.
    Especially look at the value sets attached to the DFF.
    Look at the value set definition and the default value for the field.
    Hope this helps,
    Sandeep Gandhi

  • Error while creating reconciliation account

    Hi,
    While creating reconciliation account in FS00 , after clicking on create ,
    system shows message"No PICICL statement  account  type is defined in chart of account ICIC.
    How to get over it.Pl suggest.
    Regards,
    Abhijeet

    Hi Abhijeet,
    Please refer any configuration book for step by step Configuration and clarifications Eg
    http://electronicsandbooks.com/eab1/manual/Publisher/S/SAP/SAP%20HandBook%20on%20FICO%20Module%20for%20Beginners%20Learn…
    http://www.sapficoconsultant.com/pdf/GL%20configuration%20free%20e-book.pdf

  • Error while creating customer master data

    dear sir,
    i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
      again while creating one with same name showing error while maintaing sales level data
    Check: Table KNA1 does not exist, table KNVI does
    Message no. F2061
    plz help how do i rectify this problem and maintain the same cutomer no (external) again.
    regards,
    Debesh

    Hi,
    you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
    XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
    Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
    If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM

  • Error while creating customer master XD01

    i have created own account group and assigned external number range when am creating customer in xd01 am getting error in partner tab the SP,SH,BP,PY the no is blank and when am trying to save its gives error document is incomplete the  error   Message no. F2643
    Diagnosis
    The account group of the current customer is not defined for the required partner usage.
    where as when am assining internal number range its working fine kindly help
    Thanx

    Hi Mukesh
    Please check the following again,
    IMG > Logistic > SD > Basic functions > Partner determination > Customer master
    Define the Partner functions. If you are defining new then specify the "PARTNER TYPE" for each Partner function.
    - Define Account group. You can use existing one (0001-sod-to-party) or you can copy it or create new.
    - Define your Partner determination procedure.
    - Assign the required Partner functions (SP,SH,PY and BP are mandatory) to your Account group, so that they will be permitted for your Account group.
    - Assign the "Partner functions" to your new "Procedure ". Here you specify which are "mandatory" and which are "not changeable".
    - Assign the "Account group" to your new "Procedure".
    Now, go to XD01,enter your Account group,External number,company code,Sale area and proceed.
    If you are finding problem then,fill up all your data (general data, company code data), go to sales area data, fill up sales ,shipping and billing document tab and save it.
    Next, go to XD02, sales area data >partner function tab, here fill up the places for respective Partner functions.

  • Error while creating a new site for a supplier associated with an Employee

    Hi
    We create suppliers for all the employee when we get daily HR feed and create a default site OFFICE for all of them,
    Now when from the front end we try creating a new supplier site HOME.
    It gives an error
    Address and Site Creation - Unable to create address and sites because of the following error when trying to create the site in operating unit [WorldPay US OU]: [oracle.apps.fnd.framework.OAException: Address and Site Creation - Unable to create address and sites because of the following error when trying to create the site in operating unit [WorldPay US OU]: [ MATCH_OPTION is invalid Match option is invalid Invalid Payee context values. Org parameters exist only with party site and supplier site.]. Either resolve this issue and try again or deselect the operating unit with the error and continue. Note: any new address requires at least one site in order to be created.]. Either resolve this issue and try again or deselect the operating unit with the error and continue. Note: any new address requires at least one site in order to be created.
    could someone please help me with this
    Thanks
    Edited by: user592830 on Mar 21, 2012 10:27 AM

    Please see these docs.
    R12: Unable To Create A New Supplier Site. ORA-1403 Error Arises In AP_VENDOR_PUB_PKG After Patch:8889211 [ID 1053597.1]
    R12: Unable to Create Non-Employee Supplier Sites after Creating Employee Suppliers due to error Supplier Site Code is Invalid [ID 1266374.1]
    Cannot Create Supplier Site (Address) [ID 1069032.1]
    ORA-01403 When Assigning Operating Unit during Supplier Address and Site Creation [ID 1070431.1
    Unable To Create Ap Supplier Site [ID 1095616.1]
    Creating Supplier Address Gets "ACCTS_PAY_CCID Is Invalid" [ID 763636.1]
    Supplier Site Creation Error, Immediately After Creation Of Employee As Supplier [ID 1215016.1]
    R12 Supplier Site Creation Error: You must specify a valid, enabled currency. Invoice Currency is invalid [ID 1324182.1]
    When Adding a Site, Get Error Message: This Site name already exists for this supplier. Re-enter. Supplier Site Info Is Duplicate [ID 1324498.1]
    Address And Site Creation Terms_date_basis Is Invalid Terms Data Basis Is Invalid [ID 1359979.1]
    Thanks,
    Hussein

  • Error While creating BI Center Site

    Hi All,
    Please see the below error picture. I have tried to restart the SharePoint Server Publishing feature didn't work. All the performance point service application is started in Central
    Admin.
    Let me know if you need any information.
    Thanks,
    Prasad

    Hi Prasad,
    Please reboot your SharePoint server and execute IISReset. Then start SharePoint config wizard.
    Now create a new web application such as http://sp:portal, then create a root site collection as team site
    http://sp:portal.
    Test the issue again to create BI center
    http://sp:portal/sites/bisite
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • Error while creating custom catalog in ATG 10.0.3

    Hi All,
    I am getting the below error while adding the Catalog Folder and during adding a new Catalog.
    CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
         at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6816)
         at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1019)
         at atg.ui.repository.model.RepositoryAgentImpl.addRepositoryItem(RepositoryAgentImpl.java:3087)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:251)
         at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:105)
         at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
         at sun.rmi.transport.Transport$1.run(Transport.java:159)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
         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:619)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at atg.service.resourcepool.MonitoredPreparedStatement.executeUpdate(MonitoredPreparedStatement.java:1080)
         at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
         at atg.adapter.gsa.Table.insert(Table.java:1380)
         at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6739)
         ... 21 more
    Kindly help to resolve this issue.

    How are you adding the catalog? The error clearly means that the DB query is inserting null into the ASSET_VERSION column of DCS_GEN_FOL_CAT table. ASSET_VERSION column is non-null and required to maintain the repository asset versions in ATG content administration (CA).
    I suspect that you probably tried to do something which resulted in inserting into CA schema's DCS_GEN_FOL_CAT table outside a CA project context. You should add the catalog folder through BCC to have a CA project context. In case you are importing the data by executing startSQLRepository on CA schema then make sure that it is imported within a project context by specifying project, user, and comment options.

  • Error while creating Records Center site

    Hi,
    I am trying to create a Records Center site on my Dev environment from Central Admin. However it throws below error:
    looking for this correlation ID in ULS logs, I found errors like:
    1. Failed to find <ListTemplate> tag corresponding to ID "101",
    2. Failed to find <ListTemplate> tag corresponding to ID "122",
    3. Unknown SPRequest error occurred. More information: 0x80070002 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    4. Failed to cache field with id "{d7f2ac0e-0b2b-4f27-b82f-bb3332abc474}", overwrite=0 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    5. Email Routing: Failed to activate email routing feature. Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High Feature receiver assembly 'Microsoft.Office.Policy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver', method 'FeatureActivated' for feature 'd44a1358-e800-47e8-8180-adf2d0f77543' threw an exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High ...Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back. Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543'). Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High ...Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543') at URL http://dev-dmsapps/sites/testing.). Execution Time=3114.78742409999 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8l36 High Failed to activate site-scoped features for template 'OFFILE#1' in site 'http://dev-dmsapps/sites/testing'. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Fields bn3x High Failed to activate web features when provisioning site at url "http://dev-dmsapps/sites/testing" with site definition "OFFILE#1". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72h9 High Failed to apply template "OFFILE#1" to web at URL "http://dev-dmsapps/sites/testing". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72k2 High Failed to apply template "OFFILE#1" to web at URL "http://dev-dmsapps/sites/testing", error Error in the application. 0x0c59ba00 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected Exception attempting to ApplyWebTemplate to SPSite http://dev-dmsapps/sites/testing: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ....SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPF... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDelet... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) Attempting to delete the site collection. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8e11 High Deleting the site at http://dev-dmsapps/sites/testing and not deleting AD accounts. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection pr... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ...ops, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ....SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) ... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ... at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) at Microsoft.SharePoint.ApplicationPages.CreateSitePage.BtnCreateSite_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://dev-dmsapps:5555/_admin/createsite.aspx)). Execution Time=18570.3916978275 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://dev-dmsapps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf))
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dev-dmsapps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf) 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dev-dmsapps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf)). Execution Time=7.04174692593612 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    What could be the reason?

    Hi,
    The Records Center requires the ability to set up email routing feature. The issue might occur App pool account didn't have proper permission to add a contact to active directory for the email enabled list.
    To narrow down the issue, please perform the steps below to delegate full control of Organization to admin account and test the issue again:
    a. Right click on the Organization and select "Delegate Control". Click Next and then Add.
    b. Enter the account that will be using on the Central Admin site and then select OK.
    c.  Select Next and then select the "Create a custom task to delegate" radio button. Select Next.
    d.  Make sure the "This folder, existing objects in this folder, and creation of new objects in this folder" radio  
    button is selected.  Select Next.
    e.  In the Permissions section select the "Create all Child Objects" and the "Delete all Child Objects" options boxes.  
    Click next and then finish
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Build app with ODT and Oracle UDT - Error while creating custom class

    Hello CShay,
    I am testing you sample code to create UDT with ASP.Net app. It is also published in Oracle magazine.
    The article is also published at following link:
    http://www.oracle.com/technology/oramag/oracle/08-may/o38net.html
    I am able to successfully implement all the steps before "Using Custom Class Wizard". When I right click on any of the object (CUSTOMER_OBJ, PHONELIST_OBJ, and ADDRESS_OBJ) and select Generate Custom Class, I get the following error:
    Oracle custom class wizard.
    Class can be generated only for either C#, VB or Managed C++ projects.
    Am I missing any thing?
    Thanks in advance for your help.

    Yes I confirm that I choose File->New Website.
    I don't see the following option
    File -> New Project, and then under Visual C#, select ASP.NET Web Application
    I am using VS2005 Professional Edition.
    The options I see under Visual C# are:
    If I click on
    Windows tab:
    Windows Application
    Windows Control Library
    Console Application
    Empty Project
    Class Library
    Web Control Library
    Window Servcie
    Crystal Report Application
    and Search Online Templates in My Templates tab.
    Couple of options for Smart Device which also doesn't include ASP.Net
    then Database, Starter kits and Office tabs which also doesn't include ASP.net thing.
    I don't know how did you see that option or you might be using different version of VS (Enterprise).
    But right now I am stuck.
    Please provide me your valuable comments.
    Thanks for your help.

Maybe you are looking for

  • MD04 overview tree problem

    Hi SAP experts i hope you can help me on something, i need to know the requirements for the Overview tree to work with my materials, i have a group order that i would like to view in the overview tree but i can only see the FERT material, i cant see

  • In FF4 there is no drop-down with a list of pages just visited as there was B4 for easy and quick return to a specific page.

    It was located just to the right of the backward/forward buttons in the upper left of the screen. This was very convenient and allowed one to go directly to a past screen without having to click on the "back" button repeatedly until there. If I am ri

  • ITunes 10.5 beta to iTunes 10.5 won't open iTune library "damaged .itl" PLEASE HELP

    I've been using iTunes 10.5 beta not sure which version on my MBP and i now installed iTunes 10.5 on my iMac but it won't open my iTune library. its giving me an error saying something like "damaged .itl" PLEASE HELP I'm in ****!!!!

  • Web.show_document virtual directory

    Hi, I want to show a document (pdf) that is on the application server. I know I can use web.show_document but the issue is where do I define virtual directory in forms 11.1.2. I have weblogic installed, is there any where on weblogic where I can open

  • IPhoto 6.0.6 will not launch using 10.4.11

    I ran Disk Utility which could not repair my hard disk so I took everything off, erased and re-installed, and copied everything back and updated software (to system 10.4.11). Now everything is fine EXCEPT iPhoto 6.0.6 which will not launch. I set up