Standard way to en/decrypt using PKI wrapped symetric key

Is there a standard way to benefit from a symetric cipher's performance, but also send/wrap its PKI protected, secret key in the same stream (or array, etc)? Or, does one have to manually construct some protocol to do this, ala PKI encrypt a key and prepend it s known length to the cipher text/stream, and reverse on the other end?
What I'm basically looking for a general purpose equivalent to SSL, except applicable to non-network operations also (and one that doesnt neccesarily have two way cipher/key negotiation)

Use the PKCS#7 message format ("envelopedData" and "signedData").
Please check the specification of PKCS#7 (as known as CMS, Cryptographic Message Syntax) in the RFC 3369. There are variations in CMS, like the "Compressed Data Content Type for Cryptographic Message Syntax (CMS)" (RFC 3274) or the "Password-based Encryption for CMS" (RFC 3211).

Similar Messages

  • Is there any way to disable the use of the "Delete" key to delete an email message?

    It's very frustrating when I hit the delete key and iCloud automatically erases the selected email message.  I receive some HTML formatted emails that include a text box that I can utilize to directly reply to something.  If I don't make any mistakes at all, I can utilize this box and post a reply.  But if I mess up and need to delete text, instead of deleting text iCloud deletes the email message.  Is there any way to disable this?
    Thanks for your help.

    I don't believe it's possible to disable the delete key, but could be wrong. However, if you delete an email in error, you can restore it by pressing cmd + Z to undo the deletion.

  • Is there a standard way to plug in custom authentication code

    Is there a standard way to plug in use my own custom authentication code using forms authentication when I am using servlets/jsp for my website. I read the spec and found that the spec requires servlet containers to support forms authentication, but, the process seems to be transparent to the developer. This restricts me to store user information in the format imposed by the container provider. I cannot use, MS Active directory for example, to store user attributes and use it for forms authentication. Also, I could not find any standard way in which HttpServletRequest.getRemoteUser() works. Shouldn't there be a set of interfaces abstracting authentication process, which developers can implement for customized authentication mechanisms.
    Thanks
    Nikhil.

    Greetings,
    Is there a standard way to plug in use my own custom authentication code using formsNo. There are standard "authentication mechanisms" but that's not quite the same thing. Like most things in J2EE, the "what" of things are specified but the "how" them are left to the vendor. Consult your vendor docs.
    authentication when I am using servlets/jsp for my website. I read the spec and found that the spec
    requires servlet containers to support forms authentication, but, the process seems to be transparent
    to the developer. This restricts meFor the most part, "forms" authentication is transparent to the developer - at least, with respect to directly responding to and handling the request. The developer, however, does have some significant work to do with regard to the form itself and any associated error "pages". The point of the "standard authentication schemes", however, is to delegate the work of actual authentication processing to the container and, thereby, make it transparent to the developer (one of the many "application services" provided by the application server ;).
    to store user information in the format imposed by the container provider. I cannot use, MS Active
    directory for example, to store user attributes and use it for forms authentication. Also, I could notAgain read your vendor docs on how to "plug in" your own authentication handler(s). Most support it in some fashion which typically involves implementing some interface(s) and/or abstract class(es). Many also support it through their own "standard" component handlers, like an EJB invoker, where the invoked component is expected to function in a pre-determined way.
    Of course, there's nothing in the specification that says authentication must be handled by the container (only that it must be supported)! You're free to implement a login mechanism through your own proprietary JSP page and/or servlet (and/or EJB), and bypass the container entirely. ;)
    find any standard way in which HttpServletRequest.getRemoteUser() works.Regardless of the standard authentication scheme used (i.e. handled by the container), the user's authenticated login ID is returned by the method. Unfortunately, this means the method is useless if your own "authentication system" is used in lieu of the container - but, of course, in such a case the method should also be un-needed. ;)
    Shouldn't there be a set of interfaces abstracting authentication process, which developers can
    implement for customized authentication mechanisms.It's a matter of debate.
    Thanks
    Nikhil.Regards,
    Tony "Vee Schade" Cook

  • Remote desktop for mac decryption using standard RDP Security mechanisms failed code 4498

    Remote desktop for mac decryption using standard RDP Security mechanisms failed code 4498
    i see this error when accessing an email server and it freezes the screen.  This is happening every 2 minutes or so.  any idea what is happening?

    Hi,
    Would you please provide us the log file after the issue occurs for further research.
    Microsoft Remote Desktop -> About Microsoft Remote Desktop -> Send log via email -> Post the log here.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • 8while generating reports is there any standard way of fectching

    8.while generating reports is there any standard way of fectching data.i.e u have take matnr from mara not from makt.etc any tips please.

    hi ,
    this can be done by the grouping option.
    only necassary objects : this will collect only the required objects .
    in data flow before : this will activate all the objects that the object is dependant.
    in data flow afterwards : this will actiivate  all the depandant objects on the in the data flow .
    in dat fow bfr n aftr wards : will activate all the objects in the data flow ..
    normally in implemantation we use bfr n aftrwards to collect all the objects in th dataflow.
    regards ..... Kumar Sarvepalli  //////

  • Any standard way of making sure a file name is valid

    Hi everyone,
    I would like to say thanks to all who participate in this forum because it is one of the most important part of the java community.
    I am having some problems with a desktop application that am workin on at this time. Having a small window that allows the user of the application to use a JFileChooser to choose a directory (Directory only option enabled) where they want to store there file and also a JTextField that allows the user to enter the file name they wish the file to be called, I am having problem when the user enters a file name with characters that are not allowed in a file.
    I was wondering if there is a standard way of validating file names across several platform or does anybody have any tips and tricks for getting around this problem.
    Thanks in advance
    Franklini

    matches() takes in a regular expression- the regular expression in the code snippet above will catch any combination of those characters (one correction though- it should be getName() rather than getAbsolutePath() because getAbsolutePath will always have a : and a \ in it).
    try something like the below code, which will keep prompting until you cancel or put in a valid name:
       while(returnVal == JFileChooser.APPROVE_OPTION &&
                  file.getName().matches(".*[\\/:*?|<>\"].*") ){
         JOptionPane.showMessageDialog(null,
                                       "The filename " + file.getAbsolutePath() + " is invalid.",
                                       "Save As Error",
                                       JOptionPane.ERROR_MESSAGE);
         returnVal = fileChooser.showSaveDialog(null);
         if (returnVal == JFileChooser.APPROVE_OPTION) {
           file = fileChooser.getSelectedFile();
       }

  • Is there a standard way to start a secondary event pump?

    Hi all,
    I am trying to implement a getInput() method similar to JOptionPane.showInputDialog(...).
    It doesn't show a modal dialog, but get input from a JTextField in the bottom of the frame.
    This is inspired by EMACS's minibuffer.
    getInput() must block current event dispatch thread and do event pump iteself.
    So I write some code like below. It works fine, but I suspect it's not a standard way to do so, and mabye has subtle problems.
    Doesn't anyone could point the potential problems or know a better way?
    EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
    do {
        AWTEvent event = eq.getNextEvent();
        use reflection to call eq.dispatchEvent(event)
    while (some condition dosen't meet);

    I'm not sure I quite follow what you are after here.
    Are you trying to write a custom action listener and event? Or am I mistaken?
    ie, by custom action listener and event, I mean that when you type something into your text field, if you press enter for example, it fires an event and grabs the text in there as input?

  • Standard way of mutual exclusion control for rfc connection

    Dear expert,
    I want to know the standard way of mutual exclusion control
    for rfc connection.
    I am going to create JAVA screens for ERP ABAP objects.
    As for SAP GUI screen, pessimistic locking is used when editing objects.
    On the other hand, pessimistic locking is defficult for JAVA screens,
    since most of lock objects on ERP are not available for RFC.
    Besides, I'm afrraid if locks are correctly deleted
    when something bad happens on screen.(i.e. Users close browsers.)
    Do you have any recommendations?
    Regards,
    Fukuhara Yohei

    Hello, we raised an OSS note.
    They answered it was not possible to lock tasks.
    Task completion is like a race, the first it completes it wins.
    Regards,
    Marco.

  • Is there a SAP standard way of dl/up G/L accounts master data?

    I was asked to create a download program to get the G/L account master data from one server and create an upload program to automatically create the G/L accounts.
    Download: Access SKAT, SKA1, SKB1 -> save to spreadsheet
    Upload: Batch input or maybe read up on how to do it using LSMW.
    Halfway in making my the program, it occured to me that maybe SAP has a standard way of doing this?
    Tried to search for it. Found FS15/FS16.
    Would these do it? How do they work?
    *Both source and target systems are running SAP 4.7

    <b>NO!</b> fs15-16 is for two servers
    1)fill field filename in fs15
    example '<b>0001</b>'
    2) transfer file per ftp
    from /sapmnt/XXX/global/FBIS<b>0001</b>
    to oth. server same directory and filename
    with XXX = sy-sysid
    3)and use the same file in fs16 <b>0001</b>
    Message was edited by: Andreas Mann
    Message was edited by: Andreas Mann

  • Encrypt and decrypt using ECB mode

    Dear All,
    I'm looking the way to convert special character to hex and perform the encryption
    Example : (All are dummy values )
    Encryption key = K (Double length and using triple-DES)
    Clear test (C) 1234AB=C6578ABE3 -----(Encode) ------------>After encoding the data should 0-F (ABC12E340987EA12) --------(Encrypt using K)------>Ciper data ( ACF1BE547659AC34) ------->and sending to another server.
    At server level
    Ciper data( ACF1BE547659AC34) ------>(Decrypt using K)------>Getting encoding value (ABC12E340987EA12)-------->(Decode)------>Clear test (C) = 1234AB=C6578ABE3 -----------> and processing
    Q1. Is there any encoding method that can be used ?
    Note : Really I'm not in position to change length of clear test (such as encoding asciii ) .
    Regards

    Thanks
    I have send the my test code
    import java.security.Provider;
    import java.security.Security;
    import javax.crypto.Cipher;
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    public class Encrypter {
         private static Provider PR   = null;
         private static SecretKey KEY = null;
         public static void init() throws Exception{
              PR = new com.sun.crypto.provider.SunJCE();
              Security.addProvider(PR);
            KeyGenerator desKeyGen = KeyGenerator.getInstance("DESede", PR);
            desKeyGen.init(112);
            KEY=  desKeyGen.generateKey();
         public static byte[] encrypt(byte[] clearBytes) throws Exception {
              Cipher cipher = Cipher.getInstance("DESede/ECB/NoPadding", PR.getName());
              cipher.init(Cipher.ENCRYPT_MODE,KEY);
              return cipher.doFinal(clearBytes);
         public static byte[] decrypt(byte[] encr) throws Exception {
              Cipher cipher = Cipher.getInstance("DESede/ECB/NoPadding", PR.getName());
              cipher.init(Cipher.DECRYPT_MODE, KEY);
              return cipher.doFinal(encr);
         static String byteArrayToHexString(byte in[])
             byte ch = 0x00;
             int i = 0;
             if (in == null || in.length <= 0)
                     return null;
             String pseudo[] = {"0", "1", "2","3", "4", "5", "6", "7", "8","9", "A", "B", "C", "D", "E", "F"};
             StringBuffer out = new StringBuffer(in.length * 2);
             while (i < in.length)
                     ch = (byte) (in[i] & 0xF0); // Strip off high nibble
                     ch = (byte) (ch >>> 4);     // shift the bits down
                     ch = (byte) (ch & 0x0F);    // must do this is high order bit is on!
                     out.append(pseudo[ (int) ch]); // convert the nibble to a String Character
                     ch = (byte) (in[i] & 0x0F); // Strip off low nibble
                     out.append(pseudo[ (int) ch]); // convert the nibble to a String Character
                     i++;
             String rslt = new String(out);
             return rslt;
         public static byte[] hexStringToByteArray(String s) {
               int len = s.length();
               byte[] data = new byte[len / 2];
               for (int i = 0; i < len; i += 2){
               data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4)
               + Character.digit(s.charAt(i+1), 16));
               return data;
         public static void main(String[] args) {
              String clearString = "1234AB=C6578ABE3";
              byte clearByte[] = hexStringToByteArray(clearString);
              try {
                   init();
                   System.out.println("Clear     data : "+clearString);
                   byte enrByte[] = encrypt(clearByte);
                   System.out.println("Encrypted data : "+byteArrayToHexString(enrByte));
                   byte decByte[] = decrypt(enrByte);
                   System.out.println("Decrypted data : "+byteArrayToHexString(decByte));
              } catch (Exception e) {
                   e.printStackTrace();
    Out put as follow,
    Clear data : 1234AB=C6578ABE3
    Encrypted data : 7EAEA4AB3FAA8DC1
    Decrypted data : 1234ABFC6578ABE3
    I'm not getting correct clear value after decrypting. (= character is getting replace with F)
    Thanks
    Edited by: sabre150 on Aug 9, 2012 2:46 PM
    Moderator action : added [ code] tags to format the code. Please do this yourself in the future.

  • Standard way of implementing different timezones.

    Wanted to know the standard way of implementing timezones for an international web application.
    I have the different companies information in a table called company.
    Is it a good idea to store the timeoffset from GMT in the database or create a new table timzone and link this table with the company table.

    The decorator pattern was meant for this =). Look it up; I believe you will find it useful. You can use the decorator pattern with your Weapons.
    Enums do make sense, since the weapon types will be considered constants. Just to let you know, 2D arrays are really only useful for data structures that have a finite 2D shape, such as those found in tictactoe programs. I'd suggest that you look into the topic of data structures sometime.
    I think that a better way to implement the attacking system would be to have the Weapon object do the damage itself -- assign the logic to the object that contains the data necessary to carry out the logic. This way the program is more modular and setter/getter requests, which threaten the maintenance of a program (changes in implementation will ripple throughout), are avoided. (If the player is to carry out the task of doing the attacking, it will have to retrieve information from the weapon. And if all the Weapon objects do is store Weapon-related information, then they're weak objects and it's a clue that you're giving their responsibility to other objects when you shouldn't be.) I would go would this idea.
    Now that I think more about it, your player class could interpret input from the UI (or do stuff based on UI-generated events) and create the appropriate weapon and have the weapon do the damage/attacking itself, as I described above.

  • HD is way to small to use as a source to import a ton of video

    My original HD is way to small to use as a source to import a ton of video.
    I went out and purchased a Western Digital FireWire MyBook 400 GB HD and hooked it up. I tried to import video directly to the external HD but if doesn't appear I can do this.Is it too slow? I connect my camera to the computer and the HD is connected through the other Firewire port.
    Should I install the Mac OS and Final Cut Pro on the new Western Digital HD? Maybe
    Should I buy a new internal HD and just install that.
    If I buy a new HD do I need to install the OS and and FCP on the new HD.
    Will I be able to burn a DVD effectively or should I move everything back to the main HD before I burn
    Can I set the new HD as the new default HD and use my old one as the backup HD
    Basically, I need a ton of help and would really appreciate any help you can offer

    What are you capturing from?
    Canon GL2. Plugged into my compute via FireWire Cable
    Has the drive been formatted MAC OS EXTENDED.
    No, how do you do this. I just took it out of the box and plugged it in.
    Even though you have multiple FW ports, they run off the same bus. running multiple devices on one bus can cause problems (do a search here on the topic for all the reasons) The solution to this is to install a FW card giving you another bus, one for the HD and one for the capture device.
    This doesn't sound like fun. I hope I don't need to do this
    If this is your problem you might try to get around it by looping the camera through the drive (drive to computer, camera into drive) Sometimes helps.
    SO connect the camera to the external HD and try to capture the video this way?
    As a work around you could also try to capture to the boot drive (not recommended, but if your really stuck...) then transfer the footage to the FW drive for edit
    IF I move the files will I need to pay particular attention to the audio and viedo when I import them into FCP or will they remain connected?
    You won't need to install FCP or the mac OS on the external drive.
    that's good
    What kind of video are you trying to capture?
    Standard DV from a Canon GL2 connected via firewire port to my computer.
    Did you set up the new drive as your capture drive?
    What kind of issues did you have when trying to capture/edit?
    What happens when you try to capture to the external FW drive? eg dropped frames, error messages etc.
    I went under FCP settings and set the capture location to be on the new FireWire HD. This is where I have an issue. It doesn't pop up on the screen when I attempt to import it. Unlike when I import directly to my internal drive, where it pops up on my monitor and I can actually witness it importing. With the FireWire external HD it just stays black on the import window.
    thanks for all your help

  • Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.

    html,body{padding:0;margin:0;font-family:Verdana,Geneva,sans-serif;background:#fff;}html{font-size:100%}body{font-size:.75em;line-height:1.5;padding-top:1px;margin-top:-1px;}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em}h3{font-size:1.16em}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.7em}p{margin:0
    0 1em;padding:0 .2em}.t-marker{display:none;}.t-paste-container{;left:-10000px;width:1px;height:1px;overflow:hidden}ul,ol{padding-left:2.5em}a{color:#00a}code, pre{font-size:1.23em}
    I get this message on two different machines installing SQL2014 developer edition, a Windows 7 and a Windows 8 machine. Both machines have SQL2005 through SQL2012 developer machines installed and working great. I have tried uninstalling all SQL2014 stuff and
    installing again making sure I was running as an Administrator to no avail. 
    How do I look at sys.key_encryptionswhen the server will not start to finish installation?
    The links in the log only provide the  "We're Sorry" message.
    This is the first error dialog info
    TITLE: Microsoft SQL Server 2014 Setup
    The following error has occurred:
    Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254026
    The SQL Server error log has the message in the title.
    2014-04-04 17:02:17.49 Server      Microsoft SQL Server 2014 - 12.0.2000.8 (X64) 
     Feb 20 2014 20:04:26 
     Copyright (c) Microsoft Corporation
     Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    2014-04-04 17:02:17.49 Server      UTC adjustment: -4:00
    2014-04-04 17:02:17.49 Server      (c) Microsoft Corporation.
    2014-04-04 17:02:17.49 Server      All rights reserved.
    2014-04-04 17:02:17.49 Server      Serverprocess ID is 9236.
    2014-04-04 17:02:17.49 Server      System Manufacturer: 'Hewlett-Packard', System Model: 'HP EliteBook8760w'.
    2014-04-04 17:02:17.49 Server      Authentication mode is MIXED.
    2014-04-04 17:02:17.49 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Log\ERRORLOG'.
    2014-04-04 17:02:17.49 Server      The service account is 'NT Service\MSSQL$SQL2014'. This is an informational message; no user action is required.
    2014-04-04 17:02:17.49 Server      Registry startup parameters: 
      -d C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\master.mdf
      -e C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Log\ERRORLOG
      -l C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\mastlog.ldf
    2014-04-04 17:02:17.49 Server      Command Line Startup Parameters:
      -s "SQL2014"
      -m "SqlSetup"
      -Q
      -q "SQL_Latin1_General_CP1_CI_AS"
      -T 4022
      -T 4010
      -T 3659
      -T 3610
      -T 8015
    2014-04-04 17:02:17.79 Server      SQL Server detected 1 sockets with 4 cores per socket and 8 logical processors per socket, 8 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message;
    no user action is required.
    2014-04-04 17:02:17.79 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2014-04-04 17:02:17.79 Server      Detected 8142 MB of RAM. This is an informational message; no user action is required.
    2014-04-04 17:02:17.80 Server      Using conventional memory in the memory manager.
    2014-04-04 17:02:17.92 Server      Default collation: SQL_Latin1_General_CP1_CI_AS (us_english1033)
    2014-04-04 17:02:17.95 Server      Perfmoncounters for resource governor pools and groups failed to initialize and are disabled.
    2014-04-04 17:02:17.96 Server      Query Store settings initialized with enabled = 1, 
    2014-04-04 17:02:17.97 Server      The maximum number of dedicated administrator connections for this instance is '1'
    2014-04-04 17:02:17.97 Server      This instance of SQL Server last reported using a process ID of 8760 at 4/4/2014 5:02:08 PM (local) 4/4/2014 9:02:08 PM (UTC). This is an informational message only; no user action is required.
    2014-04-04 17:02:17.97 Server      Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message
    only. No user action is required.
    2014-04-04 17:02:17.97 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2014-04-04 17:02:18.00 Server      Database Mirroring Transport is disabled in the endpoint configuration.
    2014-04-04 17:02:18.00 spid7s      Warning ******************
    2014-04-04 17:02:18.00 spid7s      SQL Server started in single-user mode. This an informational message only. No user action is required.
    2014-04-04 17:02:18.01 spid7s      Starting up database 'master'.
    2014-04-04 17:02:18.02 Server      Software Usage Metrics is disabled.
    2014-04-04 17:02:18.07 Server      CLR version v4.0.30319 loaded.
    2014-04-04 17:02:18.11 spid7s      8 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
    2014-04-04 17:02:18.24 spid7s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
    2014-04-04 17:02:18.25 spid7s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2014-04-04 17:02:18.26 Server      Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
    2014-04-04 17:02:18.34 spid7s      Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
    2014-04-04 17:02:18.40 spid7s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
    2014-04-04 17:02:18.40 spid7s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
    2014-04-04 17:02:18.44 spid7s      SQL Trace ID 1 was started by login "sa".
    2014-04-04 17:02:18.44 spid7s      Server name is 'TOMGROSZKO-HP\SQL2014'. This is an informational message only. No user action is required.
    2014-04-04 17:02:18.46 spid16s     Error: 17190, Severity: 16, State: 1.
    2014-04-04 17:02:18.46 spid16s     Initializing the FallBackcertificate failed with error code: 1, state: 20, error number: 0.
    2014-04-04 17:02:18.46 spid16s     Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
    2014-04-04 17:02:18.46 spid16s     Error: 17182, Severity: 16, State: 1.
    2014-04-04 17:02:18.46 spid16s     TDSSNIClientinitialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property. 
    2014-04-04 17:02:18.46 spid16s     Error: 17182, Severity: 16, State: 1.
    2014-04-04 17:02:18.46 spid16s     TDSSNIClientinitialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property. 
    2014-04-04 17:02:18.46 spid16s     Error: 17826, Severity: 18, State: 3.
    2014-04-04 17:02:18.46 spid16s     Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
    2014-04-04 17:02:18.46 spid16s     Error: 17120, Severity: 16, State: 1.
    2014-04-04 17:02:18.46 spid16s     SQL Server could not spawn FRunCommunicationsManagerthread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    And a copy of the install log.
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2061893606
      Start time:                    2014-04-04 16:23:39
      End time:                      2014-04-04 17:06:25
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for RS:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for DQ:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for FullText:        Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    Machine Properties:
      Machine name:                  TOMGROSZKO-HP
      Machine processor count:       8
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered  Configured
      SQL Server 2005      SQL2005              MSSQL.1                        Database Engine Services            
        1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005      SQL2005              MSSQL.1                        SQL Server Replication              
        1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005      SQL2005              MSSQL.1                        Full-Text and Semantic Extractions for Search 1033      
              Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005      SQL2005              MSSQL.1                        SharedTools                
                 1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005      SQL2005              MSSQL.2                        Analysis Services              
             1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005      SQL2005              MSSQL.3                        Reporting Services - Native            
     1033                 Developer Edition (64-bit) 9.00.1399.06    No         Yes       
      SQL Server 2005                                                          DTS        
                                 1033                 Developer Edition (64-bit) 9.4.5069        No        
    Yes       
      SQL Server 2005                                                          Tools        
                               1033                 Developer Edition (64-bit) 9.4.5069        No         Yes
      SQL Server 2005                                                          ToolsClient      
                           1033                 Developer Edition (64-bit) 9.4.5069        No         Yes    
      SQL Server 2005                                                          ToolsClient\Connectivity  
                  1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005                                                          ToolsDocument      
                         1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005                                                          ToolsDocument\BOL    
                       1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005                                                          ToolsDocument\Samples    
                   1033                 Developer Edition (64-bit) 9.4.5069        No         Yes       
      SQL Server 2005                                                          NS          
                                1033                 Developer Edition (64-bit) 9.4.5069        No         Yes
      SQL Server 2008 R2   SQL2008R2            MSSQL10_50.SQL2008R2           Database Engine Services                 1033          
          Developer Edition    10.51.2550.0    No         Yes       
      SQL Server 2008 R2   SQL2008R2            MSSQL10_50.SQL2008R2           SQL Server Replication                   1033        
            Developer Edition    10.51.2550.0    No         Yes       
      SQL Server 2008 R2   SQL2008R2            MSSQL10_50.SQL2008R2           Full-Text and Semantic Extractions for Search 1033                 Developer
    Edition    10.51.2500.0    No         Yes       
      SQL Server 2008 R2   SQL2008R2            MSAS10_50.SQL2008R2            Analysis Services                        1033  
                  Developer Edition    10.51.2500.0    No         Yes       
      SQL Server 2008 R2   SQL2008R2            MSRS10_50.SQL2008R2            Reporting Services - Native              1033          
          Developer Edition    10.51.2550.0    No         Yes       
      SQL Server 2008 R2                                                       Management Tools - Basic      
              1033                 Developer Edition    10.51.2550.0    No         Yes       
      SQL Server 2008 R2                                                       Management Tools - Complete    
             1033                 Developer Edition    10.51.2500.0    No         Yes       
      SQL Server 2008 R2                                                       Client Tools Connectivity      
             1033                 Developer Edition    10.51.2500.0    No         Yes       
      SQL Server 2008 R2                                                       Client Tools Backwards Compatibility  
      1033                 Developer Edition    10.51.2500.0    No         Yes       
      SQL Server 2008 R2                                                       Client Tools SDK        
                    1033                 Developer Edition    10.51.2500.0    No         Yes       
      SQL Server 2008 R2                                                       Integration Services      
                  1033                 Developer Edition    10.51.2550.0    No         Yes       
      SQL Server 2012      SQL2012              MSSQL11.SQL2012                Database Engine Services                 1033  
                  Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012      SQL2012              MSSQL11.SQL2012                SQL Server Replication                   1033
                    Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012      SQL2012              MSSQL11.SQL2012                Full-Text and Semantic Extractions for Search 1033            
        Developer Edition    11.1.3000.0     No         Yes       
      SQL Server 2012      SQL2012              MSSQL11.SQL2012                Data Quality Services                    1033
                    Developer Edition    11.1.3000.0     No         Yes       
      SQL Server 2012      SQL2012              MSAS11.SQL2012                 Analysis Services                    
       1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012      SQL2012              MSRS11.SQL2012                 Reporting Services - Native              1033  
                  Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          Management Tools - Basic  
                  1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          Management Tools - Complete  
               1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          Client Tools Connectivity  
                 1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          Client Tools Backwards Compatibility
        1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          Client Tools SDK      
                      1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          BIDS        
                                1033                 Developer Edition    11.1.3128.0     No         Yes  
      SQL Server 2012                                                          SQL Server Data Tools - Business
    Intelligence for Visual Studio 2012 1033                                      11.1.3402.0     No         Yes       
      SQL Server 2012                                                          Integration Services    
                    1033                 Developer Edition    11.1.3128.0     No         Yes       
      SQL Server 2012                                                          LocalDB        
                             1033                 Express Edition      11.1.3128.0     No         Yes    
      SQL Server 2012                                                          Master Data Services    
                    1033                 Developer Edition    11.1.3000.0     No         Yes       
    Package properties:
      Description:                   Microsoft SQL Server 2014 
      ProductName:                   SQL Server 2014
      Type:                          RTM
      Version:                       12
      SPLevel:                       0
      Installation location:         C:\Downloads\SQL2014\SQL\x64\setup\
      Installation edition:          Developer
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      false
      AGTSVCACCOUNT:                 NT Service\SQLAgent$SQL2014
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   C:\SQLData\MSSQL\SQL2014\Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS12.SQL2014\OLAP\Config
      ASDATADIR:                     C:\SQLData\MSSQL\SQL2014\OLAP
      ASLOGDIR:                      C:\SQLData\MSSQL\SQL2014\OLAP
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  NT Service\MSOLAP$SQL2014
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            TomGroszko-HP\Tom Groszko
      ASTEMPDIR:                     C:\SQLData\MSSQL\SQL2014\OLAP
      BROWSERSVCSTARTUPTYPE:         Automatic
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140404_162339\ConfigurationFile.ini
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, MDS
      FILESTREAMLEVEL:               3
      FILESTREAMSHARENAME:           SQL2014
      FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher$SQL2014
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              c:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           c:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    SQL2014
      INSTANCENAME:                  SQL2014
      ISSVCACCOUNT:                  NT Service\MsDtsServer120
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          <empty>
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              SharePointFilesOnlyMode
      RSSVCACCOUNT:                  NT Service\ReportServer$SQL2014
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  C:\SQLData\MSSQL\SQL2014\Backup
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT Service\MSSQL$SQL2014
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           TomGroszko-HP\Tom Groszko
      SQLTEMPDBDIR:                  C:\SQLData\MSSQL\SQL2014\Engine
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  C:\SQLData\MSSQL\SQL2014\Engine
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  true
      TCPENABLED:                    0
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      USEMICROSOFTUPDATE:            false
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140404_162339\ConfigurationFile.ini
    Detailed results:
      Feature:                       Management Tools - Complete
      Status:                        Passed
      Feature:                       Client Tools Connectivity
      Status:                        Passed
      Feature:                       Client Tools SDK
      Status:                        Passed
      Feature:                       Client Tools Backwards Compatibility
      Status:                        Passed
      Feature:                       Management Tools - Basic
      Status:                        Passed
      Feature:                       Reporting Services - Native
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Data Quality Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Full-Text and Semantic Extractions for Search
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Master Data Services
      Status:                        Passed
      Feature:                       Integration Services
      Status:                        Passed
      Feature:                       Data Quality Client
      Status:                        Passed
      Feature:                       Analysis Services
      Status:                        Passed
      Feature:                       Reporting Services - SharePoint
      Status:                        Passed
      Feature:                       Reporting Services Add-in for SharePoint Products
      Status:                        Passed
      Feature:                       Documentation Components
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140404_162339\SystemConfigurationCheck_Report.htm
    Any suggestions for what step to take next will be appreciated.
    Thanks
    Tom G.

    Hi Tom,
    Sorry for the delay. We can exclude the media factor since you were able to install it on VM with this media.
    If I understand correctly, Shanky said “Abve message can also appear due to corrupt profile so deleteting old profile and creating new one and using this to install would also help.Make sure you always RK on setup.exe and select run as administrator” which
    means your user account may be corrupted rather than the Virtual account. You can create a new Windows user account and use it to log into the system. Then, re-try the installation.
    Additional information:
    http://windows.microsoft.com/en-us/windows/create-user-account#create-user-account=windows-8
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Is there a way for me to use airplay on my mid 2010 MacBook Pro ?

    Is there a way for me to use airplay on my mid 2010 MacBook Pro ?

    http://support.apple.com/kb/ht5404

  • I forgot my password for my iphone 4 and it is now disabled. I am trying to restore it through itunes, but it say I have to put my passcode into my phone first. Is there a way to restore without using my passcode?

    I forgot my password for my iphone 4 and it is now disabled. I am trying to restore it through itunes, but it say I have to put my passcode into my phone first. Is there a way to restore without using my passcode?

    The instructions are in that link. Just follow them VERY CAREFULLY. Especially the part about:
    Turn off your device and leave it off.
    Plug in your device's USB cable to a computer with iTunes. [but DON'T connect it to the iPhone yet]
    Hold down the Home button on your device as you connect the USB cable. Keep holding down the Home button until you see the Connect to iTunes screen.
    When you see the iTunes screen, release the Home button. If you don't see this screen, try steps 1 through 3 again.
    When your device is connected, iTunes will open. You'll see a message saying that iTunes has detected an iPhone, iPad, or iPod touch in recovery mode.
    Hold down the Home button on your device as you connect the USB cable. Keep holding down the Home button until you see the Connect to iTunes screen.

Maybe you are looking for