Creating a Database in Apex

Hello,
I'm new to the forum and new to Apex, but it's been requested of me to create a database using Application Express.
I already designed a database in Access 2007, but am having a lot of difficulty in migrating that schema to Application Express.
I'm looking for solid resources that can take me step by step through the process of creating a database, but all the videos I've seen online aren't specifically for database creation.
Can anyone assist?
Thanks,
Derek

Another link..
MS Access Migration</title><meta name="Title" content="MS Access Migration"><meta nam…
Regards,
Hari

Similar Messages

  • How to create an database account authentication scheme in apex

    Dear
    I have an apex installation (embeded) on oracle 11g.
    I want to create a database account authentication scheme in apex. I have seen the page with different tab like name,subsription,source,session not valid, login processing, logout URL,session cookie attributes and comments.
    I want to know what are the things to be specifed on these tabs and the effects. I have gone thru the documentation 'Application Builder User’s Guide Release 4.1' , but the functionalities of these tabs are not mentioned.
    Please help.
    Dennis
    Edited by: Dennis John on Feb 28, 2012 10:57 PM

    Thanks to dear Jit
    I am new to apex.
    I have gone thru that documents but I couldn't find any detailed documentation about the database account authentication scheme configuration
    The database account authentication scheme creation interface will show tabs like name,subsription,source,session not valid, login processing, logout URL,session cookie attributes and comments.
    I want to know what are the things to be specifed on these tabs and how it will reflect in the login. The specified documentation is not giving any detail about the above mentioned tabs of authentication scheme creation iwizard.
    And also I want to know how the applciation user will be mapped to the database account?
    As per my understanding a database user (for each run time user) is required for to authenticate the apex run time login other than the applciation schema user (holds the objects of applicaiton)
    run time user means - end user who uses the applcaition, not the developer.
    Please help.
    Dennis

  • How to create a database link between an 8i (apps) database and APEX

    Want to link my Oracle APPS databse on 8i with Oracle XE and APEX. Any idea how to achieve this ?

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

  • Installation problems on Fresh 11.1.0.6 database and Apex 3.1.1

    I hope someone can help - at wit's end trying to get Apex up and running. I've looked through the forum over and over and don't see a resolution.
    I have installed 11g Enterprise Edition on a Solaris 5.10 64bit Sparc system, created a database, setup and configured dbconsole for enterprise manager.
    Database is up, enterprise manager is up and I can connect and browse just fine, but when I went to set up and configure Apex (it was version 3.0 that came with the database) I could only get a blank page trying to go to either the apex or apex_admin pages.
    So re-read documentation and couldn't see what I did wrong. So I started a new Apex install, dropping the FLOWS_030000 and FLOWS_FILES users, downloaded apex 311, and did a fresh install.
    For the record, I'm trying to use the Embedded PL/SQL Gateway instead of the Oracle HTTP Server.
    Here are my steps:
    Downloaded apex_3.1.1.zip, loaded it up on server, and unzipped the file
    sqlplus "/ as sysdba"
    @apexins SYSAUX SYSAUX TEMP /i/
    no errors
    SQL> @apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    PL/SQL procedure successfully completed.
    Commit complete.
    SQL> !pwd
    /opt/software/media11g/oracle.server.SunOS510.11106.media/apex/apex
    SQL> @apxldimg.sql /opt/software/media11g/oracle.server.SunOS510.11106.media/apex
    PL/SQL procedure successfully completed.
    Directory created.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    Timing for: Load Images
    Elapsed: 00:04:14.62
    Directory dropped.
    SQL> @apex_epg_config /opt/software/media11g/oracle.server.SunOS510.11106.media/apex
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Directory created.
    Enter value for imgupg: <-- just hit enter
    Enter value for imgupg: <-- just hit enter
    PL/SQL procedure successfully completed.
    Commit complete.
    PL/SQL procedure successfully completed.
    timing for: Load Images
    Elapsed: 00:04:02.80
    Session altered.
    PL/SQL procedure successfully completed.
    Commit complete.
    Session altered.
    Directory dropped.
    SQL> EXEC DBMS_XDB.SETHTTPPORT(7459);
    PL/SQL procedure successfully completed.
    SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    GETHTTPPORT
    7459
    I ran the following PL/SQL cut and pasted from the install doc to enable network services:
    SQL> DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give FLOWS_030100
    -- t 2 he "connect" privilege if FLOWS_030100 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, make sure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA- 3 4 5 6 7 8 9 10 11 12 13 44416: Invalid ACL: Unresolved principal 'FLOWS_030100'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'FLOWS_030100',
    'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    'FLOWS_030100', TRUE, 'connect');
    END IF;
    EXCEP 14 15 16 17 18 19 20 21 22 23 24 25 TION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'FLOWS_030100', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END; 26 27 28 29 30 31 32
    33 /
    PL/SQL procedure successfully completed.
    SQL>
    I then checked to see if the package was valid:
    SQL> SELECT STATUS FROM DBA_REGISTRY
    WHERE COMP_ID = 'APEX'; 2
    STATUS
    VALID
    Still, when I go to my browser and enter the following url:
    http://dbsu01a.sit.us.wamu.net:7459/apex/apex_admin
    all I get is a blank page.
    http://dbsu01a.sit.us.wamu.net:7459/apex
    returns a "page not found" error.
    It must be one of those "is your computer plugged in?" things - any help would be greatly appreciated.

    Here was the fix:
    My local_listener parameter in the init.ora (spfile) was not set. I ran the following as sys:
    alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=<hostname>)(PORT=<port>))' scope=both;
    Bounced the listener and the database and after about 3 minutes listener status showed the following new endpoint:
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<host>)(PORT=9969)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<host>)(PORT=7459))(Presentation=HTTP)(Session=RAW)) <-- this is the XDB entry.
    After that I was able to log into APEX!

  • Method to Use in Creating a Database--need assistance

    I'm new to Oracle Apex and would like to create a database. Let me tell you the scenario. Iim capturing 4 types of informatoin initially from focus groups, survey results, blog post, and drop off surveys. I would like to input the informtion gathered from each session in each table ,some tables with common fields. Then I would like to maintain one master table which would have all fields. At some point, i would like to reference the common fields in each database. What's the best way to approach this? Maybe i do not need multiple tables--maybe I can have one large application and form a report to pull the information. However, I think the recommendation was to make 4 separate tables--please advise

    user13149997 wrote:
    I'm new to Oracle Apex and would like to create a database. Let me tell you the scenario. Iim capturing 4 types of informatoin initially from focus groups, survey results, blog post, and drop off surveys. I would like to input the informtion gathered from each session in each table ,some tables with common fields. Then I would like to maintain one master table which would have all fields. At some point, i would like to reference the common fields in each database. What's the best way to approach this? Maybe i do not need multiple tables--maybe I can have one large application and form a report to pull the information. However, I think the recommendation was to make 4 separate tables--please adviseI'd advise you to google "data normalization" and get familiar with the concept of 'normalizing' your data to "third normal form" (aka TNF or 3NF). A proper analysis of your data, and how the different data elements will dictate how many tables, what they contain, and how they relate. I can almost guarantee trying to use a single table is a mistake. That's why we call them relational databases, not just data dumps.

  • Uploading Documents to Another Database Through APEX

    Hi,
    I am trying to find a solution for uploading documents through APEX, but storing them in a database on a different server other than the server where apex is installed.
    I am unable to use DBLINK, because we are needing to pass a BLOB column. We have also looked into the DAD, but it only allows for one database connection for the APEX instance. I am pondering with creating a database connection to the other database when needing to upload a document, but not certain if that is the most efficient way.
    I am wanting to know if there is a way to upload documents (BLOBS) through APEX that is installed on DATABASE A, but store the documents in DATABASE B?
    Thanks,
    Keisha

    Ok...up front warning...this is a bit klugey but, it does work.
    In the APEX database:
    Create the table (with the BLOB column) to which you will upload the documentsWe're going to get them to the remote DB but, for reasons that will become apparent shortly, they need to go here first.
    In the Remote database:
    Create a DB Link to the APEX database.
    Create a Materialized View that selects from table with the the BLOB column in the APEX database
    In the APEX database:
    Create a local synonym that points to the DBMS_REFRESH package in the Remote database.For this example, we'll name the synonym REMOTE_DBMS_REFRESH
    Create a PL/SQL procedure that does the following:
    Upload the document to the APEX database
    Fire the REFRESH method for the MV that you created using REMOTE_DBMS_REFRESH
    Remote the data from the APEX database
    For whatever reason, the restriction to copy LOB data over the link is by passed when using a Materialized View.
    Cheers,
    -Joe

  • How to create a database link on an ms acces data source

    Hello every body
    Is it possible to create a database link on an MS access data source under
    oracle 10 g and Apex ?
    If yes how to do it ?
    Thanks in advace

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

  • XE: create DB-User in APEX and Monitor Storage???

    Hello there,
    i am wondering, where some of the features described in the XE 2Day DBA guide are?
    For Example, i cannot find the usage monitor or storage tab. I loged in:
    WS: system | internal | MyWorkspace
    user: system | admin | Jana
    PW: ***** | ***** | *****
    but nowhere i can find the storage tab or usage monitor described here:
    http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/storage.htm#BABEDCEF
    I also cannot create DB-User (NOT APEX user) how it is described here
    http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/users_secure.htm#CHDDCIGA
    because i can't find the right page "Manage Database users". there is no such register-tab
    what i am doing wrong? Have no more idea. isn't that available in apex 3.0.1?
    Using Oracle XE and Apex 3.0.1
    Thank you for help!!!!

    If you're using Apex 3.0.1 with Oracle XE then those things simply are not there. This is clearly explained in the documentation that describes installation of Apex 3.0.1 on Oracle XE.
    If you want to see/use the storage monitoring for Oracle XE you would need to revert back to the standard Apex 2.1 installation, which I'm not sure is possible. It probably is, but I've never tried to do it, so can't answer definitively.
    Earl

  • Is there a way to create a database with Test Stand?

    Anyone know of a way to have Test Stand create a database? My company standard MS Office suite is Microsoft Access 2010, and TestStand does not support the .accmdb extension type(format), so I have to create new databases using old formats. I'm worried about backwards compatability down the road since good ole Microsoft doesn't seem to care about legacy formats.
    I'm still a beginner with databasing, so any suggestions would be greatly appreciated.

    TestStand 2012 SP1, and  we are using a modified Generic Recordset (NI). The problem we are having right now is that the Build SQL instructions are not creating the database tables the way we are configuring them from the "Statements" and "Column/Parameters" tabs under Database Options.
    What is happening is when we validate the schema, and drop all schema tables, it empties all the database tables, but then when you build using the TestStand generated sql file, we get errors(shown below) we are not understanding, and we can no longer write to the database and LabVIEW throws a "Data type mismatch in criteria expression" error like this
    "Possible reason(s):
    ADO Error: 0x80040E07
    Exception occured in Microsoft JET Database Engine: Data type mismatch in criteria expression. in NI_Database_API.lvlib:Conn Execute.vi->TSData - Query Actions.vi->Retrieve Test Data.vi->ARA-63 Data Miner.vi->ARA-63 Data Miner.vi.ProxyCaller"
    ==================================================================================================== > CREATE TABLE UUT_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STATION_ID VarChar(255), BATCH_SERIAL_NUMBER VarChar(255), TEST_SOCKET_INDEX Long, UUT_SERIAL_NUMBER VarChar(255), USER_LOGIN_NAME VarChar(255), START_DATE_TIME DateTime, EXECUTION_TIME Double, UUT_STATUS VarChar(32), UUT_ERROR_CODE Long, UUT_ERROR_MESSAGE VarChar(255), PART_NUMBER VarChar(255), TSR_FILE_NAME VarChar(255), TSR_FILE_ID VarChar(64), TSR_FILE_CLOSED Bit, PART_NAME VarChar(255), PRG VarChar(255), Comment VarChar(255), Operator VarChar(255)) Command issued.
    > CREATE TABLE STEP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, UUT_RESULT Long, STEP_PARENT Long, ORDER_NUMBER Long, STEP_NAME VarChar(255), STEP_TYPE VarChar(255), STEP_GROUP VarChar(32), STEP_INDEX Long, STEP_ID VarChar(32), STATUS VarChar(255), REPORT_TEXT VarChar(255), ERROR_CODE Long, ERROR_MESSAGE VarChar(255), CAUSED_SEQFAIL Bit, MODULE_TIME Double, TOTAL_TIME Double, NUM_LOOPS Long, NUM_PASSED Long, NUM_FAILED Long, ENDING_LOOP_INDEX Long, LOOP_INDEX Long, INTERACTIVE_EXENUM Long, CONSTRAINT STEP_RESULT_FK FOREIGN KEY (UUT_RESULT) REFERENCES UUT_RESULT (ID)) Command issued.
    > CREATE TABLE STEP_SEQCALL ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, SEQUENCE_NAME VarChar(255), SEQUENCE_FILE_PATH LongText, CONSTRAINT STEP_SEQCALL_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID)) Command issued.
    > CREATE TABLE PROP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, PROP_PARENT Long, ORDER_NUMBER Long, NAME VarChar(255), PATH LongText, CATEGORY Long, TYPE_VALUE Long, TYPE_NAME VarChar(255), DISPLAY_FORMAT VarChar(32), DATA Double, FORMATTED_DATA VarChar(255), CONSTRAINT STEP_NUMERICLIMIT1_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID)) Command issued.
    > CREATE TABLE PROP_NUMERICLIMIT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, COMP_OPERATOR VarChar(32), HIGH_LIMIT Double, LOW_LIMIT Double, UNITS VarChar(255), STATUS VarChar(255), HIGH_LIMIT_FORMATTED VarChar(255), LOW_LIMIT_FORMATTED VarChar(255), CONSTRAINT STEP_NUMERICLIMIT2_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.
    > CREATE TABLE PROP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, PROP_PARENT Long, ORDER_NUMBER Long, NAME VarChar(255), PATH VarChar(255), CATEGORY Long, TYPE_VALUE Long, TYPE_NAME VarChar(255), DISPLAY_FORMAT VarChar(32), DATA VarChar(255), FORMATTED_DATA VarChar(255), CONSTRAINT PROP_MULTINUMERICLIMIT1_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID), CONSTRAINT PROP_MULTINUMERICLIMIT1_FK FOREIGN KEY (PROP_PARENT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_RESULT' already exists. (-2147217900)
    > CREATE TABLE PROP_NUMERICLIMIT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, COMP_OPERATOR VarChar(32), HIGH_LIMIT Double, LOW_LIMIT Double, UNITS VarChar(255), STATUS VarChar(255), HIGH_LIMIT_FORMATTED VarChar(255), LOW_LIMIT_FORMATTED VarChar(255), CONSTRAINT PROP_MULTINUMERICLIMIT2_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_NUMERICLIMIT' already exists. (-2147217900)
    > CREATE TABLE PROP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, PROP_PARENT Long, ORDER_NUMBER Long, NAME VarChar(255), PATH VarChar(255), CATEGORY Long, TYPE_VALUE Long, TYPE_NAME VarChar(255), DISPLAY_FORMAT VarChar(32), DATA VarChar(255), FORMATTED_DATA VarChar(255), CONSTRAINT PROP_RESULT_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID)) Command failed with the following error...: Table 'PROP_RESULT' already exists. (-2147217900)
    > CREATE TABLE PROP_ANALOGWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_T DateTime, DELTA_T Double, INITIAL_X Double, DELTA_X Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_ANALOGWAVEFORM_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.
    > CREATE TABLE PROP_DIGITALWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_T DateTime, DELTA_T Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), TRANSITIONS LongBinary, DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_DIGITALWAVEFORM_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.
    > CREATE TABLE PROP_ANALOGWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_X Double, DELTA_X Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_IVIWAVE_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_ANALOGWAVEFORM' already exists. (-2147217900)
    > CREATE TABLE PROP_ANALOGWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_X Double, DELTA_X Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_IVIWAVEPAIR_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_ANALOGWAVEFORM' already exists. (-2147217900)
    > CREATE TABLE PROP_BINARY ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, CONSTRAINT PROP_BINARY_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.

  • ERROR WHILE CREATING A DATABASE LINK USING HETEROGENEOUS SERVICES

    I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
    Probando...
    Fallo.
    SQL Exception
    Error del repositorio: Excepción SQL.
    Nombre de la Clase: CacheMediator.
    Nombre del Método: getDDEntryFromDB.
    Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
    ORA-02063: preceding 2 lines from PRUEBA_SEH
    As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????

    Right places to ask this question are
    Heterogeneous Connectivity
    Warehouse Builder

  • ERROR WHILE CREATING A DATABASE LINK TO INFORMIX

    I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
    Probando...
    Fallo.
    SQL Exception
    Error del repositorio: Excepción SQL.
    Nombre de la Clase: CacheMediator.
    Nombre del Método: getDDEntryFromDB.
    Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
    ORA-02063: preceding 2 lines from PRUEBA_SEH
    As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????

    Right places to ask this question are
    Heterogeneous Connectivity
    Warehouse Builder

  • Request time out when creating content database

    Hello,
    my problem is, that i cannot create a SharePoint content database via the central administration.
    My Setup is the following:
    SharePoint Server 2013 Enterprise Farm
    1x Applikation Server/WFE (Windows Server 2012 SP 1)
    1x Database Server MSSQL Server 2012 (Windows Server 2012 SP 1)
    1x TFS 2013 (Windows Server 2012 SP 1)
    all of them are hosted in the same Hyper-V Environment. It is not the fasted Hyper-V Environment existing on planet earth.
    The weirdest part of the problem is, i am able to create a content database via powershell.
    I am running in some kind of time out issue related to the IIS and CA of that Applikation Server.
    Here is the ULS Log from the failling content database creation via CA
    12.18.2014 10:26:09.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (PostAuthenticateRequestHandler). Execution Time=8,5997
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.66 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    General g3qj
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.50, Original Level: Verbose] url is in site
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.66 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Asp Runtime aj1kp
    High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.73 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.70, Original Level: Verbose] SQL connection time: 14.765 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Pooling=False
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.73 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 8xqz
    High [Forced due to logging gap, Original Level: Medium] Updating SPPersistedObject {0}. Version: {1} Ensure: {2}, HashCode: {3}, Id: {4}, Stack: {5}
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jk
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
    4deed69c-2f53-a086-14bb-cbf40b020025 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.83 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.81, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.83 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 0.2565 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.16 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.86, Original Level: Verbose] SQL connection time: 0.1719 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.16 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.19 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y4
    High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.23 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y5
    High VIEW SERVER STATE permission updated successfully.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.23 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y4
    High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.25 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y5
    High CONTROL SERVER permission updated successfully.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.33 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.30, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.33 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 16.4685 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.39 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.38, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.39 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 11.6743 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.42 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 7t6o
    High The WSS_Content_uitest database does not exist.  It will now be created.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.11 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.44, Original Level: Verbose] SQL connection time: 9.9785 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.11 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ab20s
    High [Forced due to logging gap, Original Level: Medium] Setting the {0} option to {1} on the database {2}.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.14 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade ajy0d
    High 12/18/2014 10:26:15.14 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time out =
    0 sec 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.46 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:15.16, Original Level: Verbose] SQL connection time: 11.4389 for Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.46 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database fa45
    High System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle
    pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
        at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(TextReader textReader, Int32
    commandTimeout) 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database fa46
    High at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(String path, Int32 commandTimeout)     at Microsoft.SharePoint.Upgrade.SPUtility.ExecuteSqlFile(SqlSession sqlSession, ISqlSession isqlSession,
    SqlFile sqlFileId, Int32 timeOut)     at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, SqlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options)     at Microsoft.SharePoint.Administration.SPContentDatabase.Provision()
        at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(SPContentDatabase database, Boolean provision, Guid webApplicationLockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(Guid
    newDatabaseId, String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Guid lockId, Int32 addFlags)     at Microsoft.SharePoint.ApplicationPages.NewContentDBPage.BtnSubmit_Click(Object
    sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at
    System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at
    System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer,
    IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database tzku
    High ConnectionString: 'Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max Pool Size=100;Connect Timeout=400'    Partition:
    NULL ConnectionState: Closed ConnectionTimeout: 400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database tzkv
    High SqlCommand: '--FixO15:3174405 create role SPReadOnly This line should not be changed or removed, otherwise upgrade would fail.  IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'SPReadOnly'
    AND type = 'R')  CREATE ROLE [SPReadOnly]  DECLARE @objname sysname, @objtype NVARCHAR(max), @datatype NVARCHAR(max), @query NVARCHAR(max)  -- Grant SELECT on all SharePoint stored procedures and functions  DECLARE c CURSOR LOCAL FAST_FORWARD
    FOR      SELECT ROUTINE_NAME, ROUTINE_TYPE, DATA_TYPE      FROM INFORMATION_SCHEMA.ROUTINES      WHERE ROUTINE_SCHEMA = 'DBO'  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO
    @objname, @objtype, @datatype      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS = 0      BEGIN          -- Inline table-valued functions    
         IF (@objtype = 'FUNCTION' AND @datatype = 'TABLE')              SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql
    @query      END  END  CLOSE c  DEALLOCATE c  -- Grant SELECT on all SharePoint tables  DECLARE c CURSOR LOCAL FAST_FORWARD FOR      SELECT TABLE_NAME      FROM INFORMATION_SCHEMA.TABLES
         WHERE TABLE_SCHEMA = 'DBO'  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO @objname      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS
    = 0      BEGIN          SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql @query      END  END  CLOSE
    c  DEALLOCATE c  -- Grant EXECUTE on User-defined type where schema is dbo  DECLARE c CURSOR LOCAL FAST_FORWARD FOR      SELECT NAME      FROM SYS.TYPES      WHERE IS_USER_DEFINED = 1    
     AND SCHEMA_ID = schema_id(N'dbo')  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO @objname      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS
    = 0      BEGIN          SET @query = 'GRANT EXECUTE ON TYPE::[dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql @query      END  END  CLOSE
    c  DEALLOCATE c  '     CommandType: Text CommandTimeout: 0
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database aek90
    High SecurityOnOperationCheck = False
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Database.Provision (WSS_Content_uitest on SQLSErver\database)). Execution Time=115148.4664
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 8dyx
    High Deleting the SPPersistedObject, SPContentDatabase Name=WSS_Content_uitest.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.56 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology bw4w
    High [Forced due to logging gap, cached @ 12/18/2014 10:28:07.53, Original Level: Medium] {0}
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.56 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.60 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Creating Content Database (WSS_Content_uitest on SQLServer\Database)). Execution Time=115311.5636
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.64 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Runtime tkau
    Unexpected System.Web.HttpException: Request timed out.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.64 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    General ajlz0
    High Getting Error Message for Exception System.Web.HttpException (0x80004005): Request timed out.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.69 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Micro Trace uls4
    High Micro Trace Tags: 0 b4ly,301 aj2jl,3 aj2jk,0 aj2jl,2423 84y4,35 84y5,4 84y4,11 84y5,181 7t6o,2714 ajy0d,112321 fa45,10 fa46,3 tzku,23 tzkv,0 aek90,0 b4ly,6 8dyx,91 b4ly,38 tkau,13 ajlz0
    4deed69c-2f53-a086-14bb-cbf40b020025
    The working content database creation from powershell looks like this
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jk
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
    43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:39.98 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y4
    High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y5
    High VIEW SERVER STATE permission updated successfully.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y4
    High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y5
    High CONTROL SERVER permission updated successfully.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.23 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 7t6o
    High The WSS_Content_powershelltest database does not exist.  It will now be created.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:43.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade ajy0d
    High 12/18/2014 09:45:43.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time
    out = 0 sec 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:52.70 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, db_owner, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:52.81 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Database.Provision (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=192653,1989
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:57.90 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:57.90 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:58.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.04 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:58.04 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence2 al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.15 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade ajyw6
    High 12/18/2014 09:48:58.15 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPHierarchyManager ajyw6 DEBUG [SPTree Value=SPContentDatabase Name=WSS_Content_powershelltest] added to dependency cache by lookup
    43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.23 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.59 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database bx4r
    High All documents with forward links in content database [SPContentDatabase Name=WSS_Content_powershelltest] is being dirtied.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.97 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.98 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Creating Content Database (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=198893,1578
    43dae8a1-02e3-43f5-8a06-0417221e6385
    The fact that i am able to create a content database through powershell sorts out permissions problems. I am certain of that because the w3wp.exe and the powershell.exe used for both creations were run under the same user.
    The timeout always happens aroud 120 seconds after i started the creation. The creation via powershell takes about 3,5 minutes.
    Here for the folks that ask me, why i haven't asked google or bing or some other search engine.
    I tried the solutions suggested here
    http://www.sharepointpals.com/post/Error-while-Creating-Web-Application-through-Central-Administration , here
    http://anthonyspiteri.net/sharepoint-2010-web-ui-timeout-creating-web-application-quick-fix/ and here
    http://blogs.ibs.com/Duane.Odum/Lists/Posts/Post.aspx?ID=33
    which i thought pointed me to the right solution.
    But those post unfortunatly didnt worked out.
    I also tried to alter the web.config files (i know that isn't recommended or supported, but it didn't change anything so those are back to normal as well)
    So here are my question:
    Can you guys help me solve this issue?
    Are there any other places where timeouts can be managed or defined?
    P.S.: I am new to using this forum. so pls don't crucify me for doing a mistake.
    P.S.S: My english is very poor also :D
    With best regards
    Simon

    Be careful with settings like these because there may be a much deeper issue at hand. I have had an issue with a customer that manifests itself as a timeout on a site collection. It was very hard to track since it didn't happen frequently. We engaged Microsoft
    Support to find out the root cause but all they could point at is a general network issue that pertains to authentication. After digging deeper, we found out that the network issue was caused by a saturated network connectivity to the domain controller that
    impacts a site collection when the database is making an authentication call. Keep this solution as more of a quick fix but be sure to conduct a deeper investigation of the real root cause
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Sharepoint server 2013 configuration issue - failed to create configuration database

    Hi All,
    I have installed the SharePoint server 2013. After installing the SharePoint products, the configuration stops at failure of creating configuration database.
    Some system configuration & info:
    - 1 Domain controller server run Active Directory services on Windows server 2008 R2 SP1 (PC1 with name DC.Brainfiniti.com)
    - 1 Server which is used for installing Sharepoint server 2013 and MS SQL server 2008 R2 SP1 (PC2 with name App.Brainfiniti.com)
    - All of PCs were satisfied the requirement of Sharepoint server 2013
    - Firewall turned off & No antivirus tool was installed.
    - During installing of Sharepoint, choose "Complete" option: Farm mode and use SQL Server instead of SQL Express.
    - During configuration, created a new farm with a domain user account.
    - Use domain account to log on and install, configure in Sharepoint & SQL server (PC2)
    ATTEMPTS:
    1. Tried install and set up all of steps with just 1 account - domain administrator.
    2. Tried with separate domain account:
    - SQL Service account use for:
    + Install SQL server 2008
    + Connect all SQL services
    + Admin for SQL server
    - Setup account use for:
    + Member of local administrator group in PC2
    + Install Sharepoint
    + Run Configuration wizard
    + Was granted permission in SQL database: dbcreator, securityadmin, sysadmin and deselect serveradmin role.
    + Was choose for the database account in configuration database step
    Also tried with SQL service account in this step.
    3. Tried with Standalone mode for Sharepoint installing
    4. Trie with domain name: Brainfiniti.local
    5. Tried with some another solution from topic relate to database configuration in our community but not successful.
    But all attempts are failed at this configuration database step :'(
    Please correct me if I am going wrong by missing something or do I need to start/install some services.
    Screenshot Attached
    Sorry! Cannot add screenshot because my account is still not verified. Will add later.
    LOG ENTRY:
    01/23/2013 06:58:28  1  INF        Entering function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
    01/23/2013 06:58:28  1  INF          Found a task by the name of adminvs in the task collection
    01/23/2013 06:58:28  1  INF          Entering function TaskCommon.GenerateRandomUnUsedPort
    01/23/2013 06:58:28  1  INF            Entering function TaskCommon.EnsureIIs
    01/23/2013 06:58:28  1  INF              Entering function PreRequisiteChecks.IsIisInstalled
    01/23/2013 06:58:28  1  INF                Entering function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF                  Version of IIS is 7
    01/23/2013 06:58:28  1  INF                Leaving function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF              Leaving function PreRequisiteChecks.IsIisInstalled
    01/23/2013 06:58:28  1  INF              Entering function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF                Version of IIS is 7
    01/23/2013 06:58:28  1  INF              Leaving function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF              Entering function ServiceHelper.Start
    01/23/2013 06:58:28  1  INF                Trying to start service W3SVC and waiting 180 sec to do so
    01/23/2013 06:58:28  1  INF                service W3SVC is Running, nothing to do
    01/23/2013 06:58:28  1  INF                starting service W3SVC (it may already be started)
    01/23/2013 06:58:28  1  INF              Leaving function ServiceHelper.Start
    01/23/2013 06:58:28  1  INF            Leaving function TaskCommon.EnsureIIs
    01/23/2013 06:58:28  1  INF            Trying to see if port 40993 is free on machine APP.  Min port we will try is 1024, Max port we will try is 49151
    01/23/2013 06:58:30  1  INF            A SocketException was thrown with
    SocketError ConnectionRefused
    01/23/2013 06:58:30  1  INF            Connect has been refused for port 40993, so we will consider this a free port
    01/23/2013 06:58:30  1  INF            Have not found a free port yet.  Number of tries is 1.  Min port we will try is 1024, Max port we will try is 49151
    01/23/2013 06:58:30  1  INF            Adding port 40993 to the exclusion list so it is not chosen again during this run
    01/23/2013 06:58:30  1  INF          Leaving function TaskCommon.GenerateRandomUnUsedPort
    01/23/2013 06:58:30  1  INF        Leaving function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
    I just post a part of its logs which contain "error" string because it's too long.
    According this log, there is a error in port connection but i've turned firewall off ???
    Please help me with this mix up :'(
    p/s: sorry for my English!
    Thanks,
    Hien Hoang

    Below is the logs entry with "ERR" marked line:
    01/23/2013 07:03:17  9  INF                    Now joining to farm at server app.brainfiniti.com database SharePoint_Config
    01/23/2013 07:04:12  9  ERR                    Task configdb has failed with an unknown exception
    01/23/2013 07:04:12  9  ERR                    Exception: System.Security.Principal.IdentityNotMappedException: Some or all identity references could not
    be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                      Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                        Resource id to be retrieved is ExceptionInfo for language English (United States)
    01/23/2013 07:04:12  9  INF                        Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. 
    Additional exception information: {1}
    01/23/2013 07:04:12  9  INF                      Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                    Leaving function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  INF                      Entering function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                        Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                          Resource id to be retrieved is ExceptionInfo for language English (United
    States)
    01/23/2013 07:04:12  9  INF                          Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. 
    Additional exception information: {1}
    01/23/2013 07:04:12  9  INF                        Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                      Leaving function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                    Leaving function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  ERR                    An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception
    information: Some or all identity references could not be translated.
    System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  INF                    Entering function TaskBase.OnTaskStop
    01/23/2013 07:04:12  9  INF                      Creating the OnTaskStop event for task configdb
    01/23/2013 07:04:12  9  ERR                      Task configdb has failed
    01/23/2013 07:04:12  9  INF                      friendlyMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  9  INF                      debugMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                      Entering function TaskBase.FireTaskStateChanged
    01/23/2013 07:04:12  9  INF                        Firing the OnTaskStateChanged event for task configdb
    01/23/2013 07:04:12  9  INF                        Entering function TaskDriver.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                            Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName
    for language English (United States)
    01/23/2013 07:04:12  9  INF                            Resource retrieved id ConfigurationDatabaseTaskDisplayName
    is configuration database
    01/23/2013 07:04:12  9  INF                          Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                          Received an TaskStateEventHandler event.  task:configdb TaskBase.State:stopped
    01/23/2013 07:04:12  9  INF                          Entering function TasksQueue.IncrementTaskFailed
    01/23/2013 07:04:12  9  INF                            Incremented the number of tasks failed to 1
    01/23/2013 07:04:12  9  INF                          Leaving function TasksQueue.IncrementTaskFailed
    01/23/2013 07:04:12  9  INF                          Task configdb has stopped and failed.  Total failed is now 1
    01/23/2013 07:04:12  9  INF                        Leaving function TaskDriver.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                        Entering function PsconfigBaseForm.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Invoking the UI thread with the task state chagne event
    01/23/2013 07:04:12  1  INF                          Entering function ConfigurationProgressForm.InvokeTaskStateEventHandler
    01/23/2013 07:04:12  1  INF                            Received an TaskStateEventHandler event.  task:configdb
    TaskBase.State:stopped TaskBase.TaskResultconfigdb
    01/23/2013 07:04:12  1  INF                            Acquiring the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Releasing the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Acquiring the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Releasing the reader lock to retrieve the state
    01/23/2013 07:04:12  1  ERR                            Task configdb has stopped and failed.  Total failed
    is now 1
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    disconnect
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter disconnect in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    connect
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter connect in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    create
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter create in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  1  INF                              Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
    for language English (United States)
    01/23/2013 07:04:12  1  INF                              Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
    is Failed to create the configuration database.
    01/23/2013 07:04:12  1  INF                            Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  1  INF                            Updating the task label below the progress bar Failed to
    create the configuration database.
    01/23/2013 07:04:12  1  INF                            Entering function FormParameterCollection.Add
    01/23/2013 07:04:12  1  INF                            Leaving function FormParameterCollection.Add
    01/23/2013 07:04:12  1  INF                            Last message from task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Updating the task additional notification information below
    the progress bar An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  1  INF                          Leaving function ConfigurationProgressForm.InvokeTaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Sleeping an extra 1 ms so things don't go too fast for the user for this
    task
    01/23/2013 07:04:12  1  INF                          Not running in high contrast, so we will paint the background with our
    trademarked image
    01/23/2013 07:04:12  9  INF                        Leaving function PsconfigBaseForm.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                      Leaving function TaskBase.FireTaskStateChanged
    01/23/2013 07:04:12  9  INF                    Leaving function TaskBase.OnTaskStop
    01/23/2013 07:04:12  9  INF                  Leaving function TaskThread.ExecuteTask
    01/23/2013 07:04:12  4  INF                  Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  INF                    Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)
    01/23/2013 07:04:12  4  INF                    Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database
    01/23/2013 07:04:12  4  INF                  Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  ERR                  Task configuration database failed, so stopping execution of the engine
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key disconnect
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter disconnect in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key connect
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter connect in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key create
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter create in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  INF                    Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel for language English
    (United States)
    01/23/2013 07:04:12  4  INF                    Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel is Failed to create the configuration
    database.
    01/23/2013 07:04:12  4  INF                  Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  ERR                  Failed to create the configuration database.
    An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception information: Some or all identity references could not be translated.
    System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  4  INF                  Entering function TaskDriver.NotifyTaskSummary

  • How to create a database for sample code from Tutorial/Book?

    I want to try out the sample code from [http://shop.oreilly.com/product/0636920013471.do] for the book SQL Pocket Guide 3rd Ed.
    I have downloaded the oracle vm/appliance for oracle 11g2 and I have started sqlplus as sysdba.
    I'm feeling overwhelmed with these links describing how to create a database:
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html]
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    (1) What is the command to list the existing databases?
    (2) What is the command to delete an existing database?
    (3) When creating a new database with the create database command, is it necessary to specify the logfile, character set, national character set, datafile, sysaux datafile, undo tablespace, temp table space? Do these have reasonable defaults? I'm not sure what proper directories are to specify for Linux and the examples are for windows.
    Can someone give me a simplified create database command to create a database called 3rdEdPocketGuide? Should I follow the example at [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html] and instead of orcl use 3rdEdPocketGuide?
    (4) What command do I use to execute the script that comes with the book SQL Pocket Guide 3rd Ed? This is the script that has all the drop table, create table and insert commands in it.
    (5) What command do I use in sqlplus to set the current default database prior to running this script? Perhaps this is the connect command? I don't want my script to create tables in the system database.
    (6) I tried the command "connect 3rdEdPocketGuide" and it prompted for a password! Yikes! What password? Do I need to specify a password when I create a database? I cannot tell if I have successfully created such a database or it is just prompting me for a password to thwart malicious users. Is it is possible to create databases which don't require a password or maybe a zero length password?
    Thanks
    Siegfried
    Edited by: user8816970 on Sep 26, 2012 12:01 PM
    Edited by: user8816970 on Sep 26, 2012 12:18 PM

    user8816970 wrote:
    Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.
    Thanks!
    Siegfried
    >Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    above does NOT use SQL*Net to connect to the instance
    >
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.SQL Developer can only connect to the instance via SQL*Net
    >
    Thanks!
    Siegfrieda database in SQL Server is same as schema/user in Oracle

  • Unable to create mail database

    okay,  I had 4 hard drives fail at once on my Storage Server,
    Lost the VHD for my Exchange VM
    Created a new VM, recovered Exchange 2010 SP3 using  setup /m:recoverserver
    Didn't appear to have any errors until it was time to mount the database, database wouldn't mount.
    Tried to create a new database, getting Error 5000.
    When I looked under Exchange\V14\mailbox, I can't actually find a copy of my mail database, so, I am not able to mount because I can't actually create a good mail database.
    When I try to create a mail database, I get these errors
    From EMC
    AcmeMail2
    Failed
    Error:
    Couldn't set the System Attendant for database "AcmeMail2".
    The requested search root 'Acmenet.local/Configuration/Services/Microsoft Exchange/Acme/Administrative Groups/Exchange Administrative Group (FYDIBOHF23SPDLT)/Servers/Acme/Microsoft System Attendant' is not within the scope of this operation. Cannot perform
    searches outside the scope 'Acmenet.local/MyBusiness'.
    Warning:
    An error occurred while trying to prepopulate newly created mailbox "/o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SystemMailbox{22655608-c412-4e60-baa3-4d716ab38f20}" in database "AcmeMail2" on server "Acme".
    "/o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SystemMailbox{22655608-c412-4e60-baa3-4d716ab38f20}" may not immediately be available for certain cmdlets and operations until it has replicated. If you need to run the
    cmdlet again, and you want more information about the error, please add the -Verbose parameter. Error: 0x8004010F.
    Exchange Management Shell command attempted:
    new-mailboxdatabase -Server 'Acme' -Name 'AcmeMail2' -EdbFilePath 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb' -LogFolderPath 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2'
    From the Application Log
    Event ID 5000
    Failed to save admin audit log for this cmdlet invocation. 
    Organization:  
    Log content:
    Subject: Acmenet.local/Users/Administrator : New-MailboxDatabase
    Body: 
    Cmdlet Name: New-MailboxDatabase
    Object Modified: AcmeMail2
    Parameter: Server = Acme
    Parameter: Name = AcmeMail2
    Parameter: EdbFilePath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb
    Parameter: LogFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
    Property Modified: OrganizationId = 
    Property Modified: Id = AcmeMail2
    Property Modified: DataMoveReplicationConstraint = None
    Property Modified: RawName = AcmeMail2
    Property Modified: RpcClientAccessServerExchangeLegacyDN = /o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Acme
    Property Modified: Server = Acme
    Property Modified: LogFilePrefix = E01
    Property Modified: LogFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
    Property Modified: SystemFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
    Property Modified: AdminDisplayName = AcmeMail2
    Property Modified: ExchangeLegacyDN = /o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Acme/cn=Microsoft Private MDB
    Property Modified: EdbFilePath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb
    Property Modified: DisplayName = AcmeMail2
    Property Modified: MasterServerOrAvailabilityGroup = Acme
    Property Original: OrganizationId = 
    Property Original: Id = 
    Property Original: DataMoveReplicationConstraint = SecondCopy
    Property Original: RawName = 
    Property Original: RpcClientAccessServerExchangeLegacyDN = 
    Property Original: Server = 
    Property Original: LogFilePrefix = 
    Property Original: LogFolderPath = 
    Property Original: SystemFolderPath = 
    Property Original: AdminDisplayName = 
    Property Original: ExchangeLegacyDN = 
    Property Original: EdbFilePath = 
    Property Original: DisplayName = 
    Property Original: MasterServerOrAvailabilityGroup = 
    Caller: Acmenet.local/Users/Administrator
    Succeeded: False
    Error: System.InvalidOperationException: Couldn\'t set the System Attendant for database \"AcmeMail2\". ---> Microsoft.Exchange.Data.Directory.ADOperationException: The requested search root \'Acmenet.local/Configuration/Services/Microsoft Exchange/Acme/Administrative
    Groups/Exchange Administrative Group (FYDIBOHF23SPDLT)/Servers/Acme/Microsoft System Attendant\' is not within the scope of this operation. Cannot perform searches outside the scope \'Acmenet.local/MyBusiness\'.\r\n   at Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String
    preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)\r\n   at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request,
    ADObjectId originalId, Boolean emptyObjectSessionOnException)\r\n   at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties)\r\n   at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable
    instance)\r\n   at Microsoft.Exchange.Management.SystemConfigurationTasks.NewMailboxDatabase.SetSystemAttendantObject(MailboxDatabase database)\r\n   --- End of inner exception stack trace ---
    Run Date: 2014-04-04T19:48:39
    OriginatingServer: Acme (14.03.0123.002)
    Error:
    Exception thrown during AdminLogProvisioningHandler.Validate: Microsoft.Exchange.Data.Storage.ObjectNotFoundException: The discovery mailbox, a hidden default mailbox that is required to search mailboxes, can't be found. It may have been inadvertently deleted.
    This mailbox must be re-created before you can search mailboxes.
       at Microsoft.Exchange.Data.Storage.Infoworker.MailboxSearch.MailboxDataProvider.GetDiscoveryMailbox(ADRecipientSession session)
       at Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogHelper.CheckArbitrationMailboxStatus(OrganizationId organizationId, ADUser& user, ExchangePrincipal& principal, String& errorMessage) 
    And Event ID 3154
    Active Manager failed to mount database AcmeMail on server Acme.Acmenet.local. Error: An Active Manager operation failed. Error The database was never mounted..
    On the Domain Controller,  I have run  setup /prepareAD  several times
    Any suggestions?
    Don Miller Network Administrator Teton Machine Company

    In the case,
    the VM is hosted on the Host machine's local drive, the VHD is too.  
    I created this database about an hour ago (there still isn't a database or log file that has been created), but when I try to mount it manually, I am getting this error
    Microsoft Exchange Error
    Failed to mount database 'acme'.
    acme
    Failed
    Error:
    Couldn't mount the database that you specified. Specified database: acme; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred
    during a database operation. Error: An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'. [Database:
    acme, Server: acme.acmenet.local].
    An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database
    'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'. [Database: acme, Server: acme.acmenet.local]
    An Active Manager operation failed with a transient error. Please retry the operation. Error: An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find
    the path specified) from Windows API 'FindFirstFile'. [Server: acme.acmenet.local]
    An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'.
    An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'
    Don Miller Network Administrator Teton Machine Company

Maybe you are looking for

  • Putting a PDF document in a button

    I've found a discussion that puts an existing PDF file as the icon for a button on a form.  But I cannot find steps to do so.  What I want to do is create a hidden button that contains an "Instructions" document as it's "caption" or "Icon" that will

  • Display doesn't work anymore on my Encore WT8-A

    Hey everyone, I have an Encore WT8-A-102 with Windows 8.1 One morning, when I tried to start it (not from standby/hibernation but normal start) nothing happend anymore. the display stayed black. only when I touched the windows button sometimes it vib

  • Signature in my email

    How do I transfer my signature from my email in my computer to my blackberry. Thank you

  • BPM standalone 10g configuration

    A BPM standalone is installed in Windows 2003 sp1 on a VM. I also apply the patch to it. It cannot be configured with a DB installed in another machine (10g). However, it can be configured with other DB (11g/10g) installed in the same machine or diff

  • Multiple monitors

    what is the best way to connect my 2010 macbook pro to my HDTV? I just don't know whats great