Could we write newlines in a JTextField?

I'd like to write a kind of newline marker char or char-sequence in a JTextField so that the return value from the getText() could be displayed in multiple lines in a JTextArea.
I don't mean any effort of custom programming. I just like to find a Java and Swing inherent feature.
Am I struggling with an absolute impossible?

Here's a funny result. Could we get a cure?
import javax.swing.*;
import java.awt.event.*;
public class NLJTextFieldX extends JTextField{
  NLJTextFieldX njtf;
  public NLJTextFieldX(){
    super();
    init();
  public NLJTextFieldX(int columns){
    super(columns);
    init();
  void init(){
    getDocument().putProperty("filterNewlines", Boolean.FALSE);
    getInputMap().put(KeyStroke.getKeyStroke("ENTER"), "inputNewline");
    getActionMap().put("inputNewline", new NLAction());
    njtf = this;
  class NLAction extends AbstractAction{
    public void actionPerformed(ActionEvent e){
      // currently, can't handle arbitrary editing
      // on existing input string on the TF
      njtf.setText(njtf.getText() + "\n");
  public static void main(String[] args){
    JFrame frame = new JFrame();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    final NLJTextFieldX ntf = new NLJTextFieldX(30);
    frame.getContentPane().add(ntf, java.awt.BorderLayout.NORTH);
    JButton btn = new JButton("get text");
    frame.getContentPane().add(btn, java.awt.BorderLayout.SOUTH);
    frame.pack();
    frame.setVisible(true);
    btn.addActionListener(new ActionListener(){
      public void actionPerformed(ActionEvent e){
        String s = ntf.getText();
        System.out.println(s);
}

Similar Messages

  • Could not write value vmware-tray.exe to key MSI error on Windows 8.1

    Hello All,
    I posted the following question to Microsoft guys,  but the fellow at Microsoft support was 1000% sure that this issue is related to VMWare only. I am hoping to  get some assistance at least here.
    My question as below:-
    Hello All,
    NOTE: I have gone through many forums already and have followed all the steps recommended by different experts there. NO AVAIL! Hence, I am posting this here.
    I have been trying to install VMWare Workstation 11 on my Windows 8.1 and I keep getting the MSI Error which says, "could not write value vmware-tray.exe to key \SOFTWARE\Microsoft\Windows'CurrentVersion\Run.  Verify
    that you have sufficient access to that key, or contact your support personnel" 
    This is really very frustrating now. And I am beginning to hate Windows 8.1 :-(
    I have disabled Anit-Virus, Windows Defender, Firewall ...everything possible. Tried to run the program as "Administrator",  changed the permissions of all the HKEY related stuff under 'regedit"  to "Full Control".... 
    I did everything that was asked. Nothing happens. I keep getting the same error.
    Please Please help!!!!

    You posted this in the Windows 8.1 Hyper-V group.
    So I will ask, is Hyper-V involved?  Do you have the Hyper-V role installed?
    And again I ask, have you posted in the VMware forums? I ask because if this is a known issue, they would be the people that would know the reason and resolution (since it is their software package - regardless of the reason)
    And, have you tried manually adding a registry setting to the registry path (without elevating your privileges)?
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Failed to install ms sql 2012, it shows 1406 Could not write value to key \SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel. error

    Hi friends,
    i have tried to install ms sql 2012 on windows 8.1 pro 64 bit  but it got failed due to the following error 1406 Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.. 
     I had run the set up file as administrator. I have ony one user account on my laptop. I have seen in the regestry about permission of user. There is full control to the user. I have also tried the solution related to this issue that are available in
    this forum and other.
    I have also attache the detail.txt log file here
    So i am heartily requesting you guys if you have the solution then please post your solution as soon as possible. 
    Thanks in  advance!!!

    Looks like this is a permission issue with account you logged in in your operating system or account if any you chooses to run you SQL Server installation . Or for executing setup file try using run as administrator.
    http://www.sperrysoftware.com/kb/questions/7/How+to+Troubleshoot+a+%22Error+1406%3A+Could+not+write+value...%22+or+%22Error+1406%3A+Could+not+write+InstanceIndex+to+key...%22+error+message
    http://support.microsoft.com/kb/913559
    Raju Rasagounder Sr MSSQL DBA

  • Error 1406.Could not write value Adobe ARM

    Hi all,
    I have tried to install the new version of Adobe Reader XI, but I keep getting the following error messages.
    I have tried to follow suggestion by others on the web as to how to sort this problem out.
    I have uninstalled adobe reader and restarted the computer.
    tried to download again but still get the error message.
    The full error message I got was,
    Error 1406.Could not write value Adobe ARM to key \SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Verify that you have sufficient access to that key, or contact your support personnel.
    I went to the registry HKEY_Local_Machine and then to the above location.
    in the right hand side of the registry editor is listed ADOBE ARM   "C:\Program Files\Common Files\Adobe\ARM\1.0\AdobeARM.exe"
    I have tried to delete this entry but my system wont let me.
    I am running Windows 7 ultimate 32 bit
    I have 4 Gb RAM
    I have an Intel core2 Quad Q6600 @2.40Ghz
    I run Zone Alarm Extreme Security with virus protection.
    I hope someone can help as I want to install Adobe Reader.

    Truthfully, I don¹t know the difference.
    Okay here is what happened:
    I purchased a new Mac because my old one was on the fritz.  They put all of
    my old programs on my new computer including my old Adobe Acrobat 7.0
    Standard.  Since I purchased a newer computer, I gave the old one to my
    assistant.  But the Apple people replaced the hard drive on the old one, so
    none of the old programs were in the system.  I purchased Adobe Acrobat XI
    Standard for the new computer and figured I could just reload the old
    acrobat on the old computer. But I had to buy new windows and parallels
    programs in order to get the parallels program to work on the old computer.
    Here¹s what it looks like:
    New Computer:
    Old Windows
    New Acrobat
    Old Parallels
    Old computer
    New Windows
    New Parallels
    Old Acrobat
    How much more messy could this get?
    Maybe I should put all of the old stuff on the old computer and all of the
    new stuff on the new computer?
    Or, maybe I should just update everything? Prior to this everything worked
    fine. . .
    But, what do you think?
    Dionne L. Wade, Esq.
    Law Office of Dionne Wade
    1301 Main Avenue, 2nd Floor
    Clifton, New Jersey 07011
    Office 973.340.4662
    Fax: 973.340.4775
    INTERNET CONFIDENTIALITY NOTICE:
    This transmission is intended only for the use of its indicated recipients
    and may contain information that is privileged, confidential and exempt from
    disclosure under applicable law.  If the reader of this transmission is not
    an intended recipient, you are hereby notified that any dissemination,
    distribution or copying of the transmission is strictly prohibited.  If you
    have received this transmission in error, please immediately notify us by
    telephone (collect call if long distance) and/or by e-mail, delete the
    transmission from your system and destroy any printed copies which you may
    have made of the transmission.

  • Adobe Media Encoder Could not write XMP data in output file.

    Hi there i have searched for this on the forums,
    if there is a Thread on it please Link:)
    This is my Encoding Log from Adobe Media ancoder,
    (se Below).
    im doing a projekt from Mts Files, in Premiere pro
    i have Checked the box that no Xmp Data needs to be added, to the left from the Queue button in the export window.
    Should i Delete all the Xmp in Bridge or somthing like that to Resolve this?
    Regards
    Jonas Dwight
    Encoding Log:
    - Source File: /Users/Blasuk/Library/Caches/TemporaryItems/Mogel_oe_2014_nyeste.prproj
    - Output File: /Users/Blasuk/Desktop/Video_Projekts/Fremkaldte/Moegeloe2014-hq.mp4
    - Preset Used: Custom
    - Video: 1920x1080 (1,0), 25 fps, Upper, 01:18:52:10
    - Audio: AAC, 320 kbps, 48 kHz, 5.1
    - Bitrate: VBR, 2 pass, Target 15.00 Mbps, Max 41.30 Mbps
    - Encoding Time: 11:05:14
    01/05/2015 07:35:01 PM : File Encoded with warning
    File importer detected an inconsistency in the file structure of Moegeloe2014-hq.mp4.  Reading and writing this file's metadata (XMP) has been disabled.
    Adobe Media Encoder
    Could not write XMP data in output file.

    Any help please?! Thank you!

  • Media Encoder "Could not write XMP data in output file." issue

    Greetings,
         We have invested a great deal of money and time into a brand new editting system and we need some help with adobe media encoder. We are trying to export some of our projects and we keep getting the same error. Here is the entire log of errors:
    Could not write XMP data in output file.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_6.prproj
    - Output File: M:\acura_rooftop_43_draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:17:23
    2/4/2010 1:42:28 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_7.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:02:09
    2/4/2010 1:54:21 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_9.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:16:04
    2/4/2010 2:19:49 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_10.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_HD_draft_1.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:01:38
    2/4/2010 2:30:31 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_11.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:00:38
    2/4/2010 3:19:31 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_12.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:01:08
    2/4/2010 3:31:37 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_17.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:15:31
    2/4/2010 4:21:06 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_19.prproj
    - Output File: M:\GRAPHICS\cow_graphics\acura_HD.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:00:24
    2/4/2010 5:16:54 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_16.prproj
    - Output File: C:\Users\Ramius\Desktop\mxf.mpg
    - Preset Used: 1440 x 1080i 29.97 High Quality
    - Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
    - Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
    - Encoding Time: 00:05:08
    2/23/2010 12:12:40 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_18.prproj
    - Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:04:00
    2/23/2010 12:26:54 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_19.prproj
    - Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:05:08
    2/23/2010 12:51:01 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_23.prproj
    - Output File: C:\Users\Ramius\Desktop\allhdtest2.mpg
    - Preset Used: 1440 x 1080i 29.97 High Quality
    - Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
    - Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
    - Encoding Time: 00:04:20
    2/23/2010 4:23:46 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_27.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:09:11
    3/2/2010 3:21:19 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_28.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07_1.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:09:00
    3/2/2010 3:34:47 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_29.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07_2.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:10:22
    3/2/2010 4:41:03 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    We absolutely need to fix this issue ASAP, we are in a major bind until we can resolve this issue. Thanks a bunch.

    We are using Windows 7
    dual quadcore intel xeon processors 8gb ram
    10000rpm internal drives. quadroefx 1800 video card
    The drive is 4tb
    We have tried exporting to many different locations with no luck
    Its a very nice video editting system. We just need to figure out this exporter

  • Please help with an error "could not write value key \Software\classes\iTune.wav.....

    I have windows 7 with plenty of memory and storage capacity. When accessing iTunes I had an error message to uninstall and reinstall. I have uninstalled but when trying to reinstall I get the error message "could not write value key \software\classes\iTune.wav. Verify that you have sufficient access to that key or contact your support personnel"  I don't understand what this means, can anyone help please?

    For "Could not open key/write value" errors when reinstalling try b noir's user tip:
    "Could not open key: UNKNOWN\Components\[LongStringOfLettersAndNumbers]\
    [LongStringOfLettersAndNumbers]" error messages when installing iTunes for Windows.
    The technique can be applied to the branch of the registry mentioned in the error message.
    If you still have issues see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Could not write to file: C:\Program Files (x86)\Adobe\Acrobat 7.0\ActiveX\AcroPDF.NOR. ?

    Hi, I get this message (loosely translated from Swedish):
    "Could not write to file: C:\Program Files (x86)\Adobe\Acrobat 7.0\ActiveX\AcroPDF.NOR.
    Confirm that you have access to this file"
    when I try to install Acrobat standard 7.0, and after several "retry" I cannot finish the installation.
    Does anyone know why?
    Thank you,
    MIa

    Appears that you are on a Win7, 64-bit machine. AA 7 has an issue with activation since the server no longer exists for AA 7. There is a separate install at Adobe to address this issue that might solve the problem temporarily (Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3). Even if you get AA 7 installed on Win7, you will have to do workarounds to make it work. Both the print driver (Adobe PDF) and AcroTray.exe fail on Win7 and they require workarounds to be able to even use AA 7. It is strongly recommended that you get AA XI at this point.

  • RSEOUT00 failing with "Could not write IDoc to file" TPRI_DEF table

    Outbound Idoc processing fail with the following error:
    Could not write IDoc to file
    Message no. EA299
    Diagnosis
    The system could not convert data from the data record 000027.
    Procedure
    Check the port definition of the receiver port.
    You can use the "Continue despite conversion error" option to write the IDoc to the file from transaction BD87 with replacement characters.
    Short dump indicate that there is a some junk character in th e TPRI_DEF for program SAPLSPRI that it is unable to convert.
    I have set the flag on the we21 port to "continue despite conversion error" and that seem to help, but I would like to figure out how to fix the junk characters from coming through from the TPRI_DEF table.  
    This is what shows up in the short dump after RSEOUT00 is run.
    TPRI_DEF                                   /  /       :  :     00002932
        010GV21            \0\0\0\0\x0006āȂ耀㐱〲\0\0嬇\0ሟ鴂푎眩\x0802儔잏퉓
    I do not see any entries for area "GV" in the table, there is one for "GF".  which has no user assigned to it and it is of key version 21.
    I am not sure if the table is supposed to have an entry with no user assigned?
    thank you for looking at this issue .

    HI Jurgen,
    we have the same issue, chinese charecter is in PO text header. so facing error. If we click unicode format then it works fine as my testing in development.
    I just want to knom what is the impact if i clicked directly unicode format ?( with refernce to your reply above " have you set the Unicode format flag directly above in WE21?" )
    I doc is going from SAP sytem - (PO information )
    Pls adivce..
    waiting for your reply..
    Thanks in advance

  • SQL Server Management Tools - Could not write value to key \SOFTWARE. Error code: 1406

    Detailed Results:
    Feature: Management Tools-Basic
    Status: Failed
    Component Name: Sql Server Management Studio
    Component Error code: 1406
    Error Description: Could not write value to key \SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel.
    The first time the installer worked installing perfectly, but I needed an named instance of "SQL2008", so I removed the instances. After this re-installing is not working.
    From past 3-4 days I went through most of the links which has provided solutions for error code 1406, and not having success for installing.
    I have tried these options,
    1) Ran the installer using "Run as Administrator"option. I am an Administrator user for the machine.
    2) In Registry Editor, right-click HKEY_CURRENT_USER\Software, and then click Permissions. Click Add, type Everyone, and then click OK. Under Group or user names, click Everyone. Under Permissions, click to select Full Control in the Allow column, and then
    click OK.
    3) Uninstalled the Sql server product, and used Revo Uninstaller / CCleaner to clean the registry and the remaining files and folders.
    4) Multiple versions of SQL installers have been tried (SQL 2008/2012/2014)
    5) Logged in as local/Administrator for the machine, tried the similar steps.
    6) The same installers are still working in one of the virtual machines for multiple times of installation and uninstallation without having any problems.
    Please let me know, if needed further information. Please provide help for installing SQL server management studio.
    Regards,
    Ananth.

    I have the same problem.
    I can not install MSSQLManagementStudio. I suppose
    that is not the fault of permissions
    . I have tried to
    install as an administrator
    on the computer in the domain where the account has domain administrator permissions.The account is added to the local administrators.
    I also have tried to install as local administrator
    account after the removal of the domain.
    With the same result.
    Operating System Windows 8.1 Prof.
    I have tried  2012, 2012with SP1 , 2012x86 , 2014. All with same result:
    Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    Other elements installs without any problem.
    sql_ssms_Cpu64_1.log show that the problem is in that point:
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Microsoft SQL Server\110\Tools\ClientSetup,,BinaryType=0,,)
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegAddValue(Name=SqlToolsPath,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\,)
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegAddValue(Name=Path,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\,)
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegAddValue(Name=SQLPath,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools,)
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE,,BinaryType=0,,)
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegAddValue(,,)
    MSI (s) (1C:C0) [10:32:51:834]: Note: 1: 1406 2:  3: SOFTWARE 4: 5
    MSI (s) (1C:C0) [10:33:19:949]: Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    07/30/2014 10:33:19.949 [540]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 396
    ...... rest of the roolbaack next
    As i the lines:
    MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE,,BinaryType=0,,)
    MSI i opening the root hive of HKLM/Softftware
    and MSI (s) (1C:C0) [10:32:51:834]: Executing op: RegAddValue(,,)
    and trying to Add Default Value.
    What is impossible regardless of the
    level of permissions.
    Please provide help for installing SQL server management studin in any version
    Regards,
    Michael

  • SQL Server Installation failing saying 'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'

    Hi,
    I am trying to install SQL server 2012/SQL Server 2014 and I constantly keep getting this error and the Management Tools fails to install.
     'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'
    Tried installing even SQL Server 2008 and still get the same error.
    Below is the log i get from C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140705_151943\sql_ssms_Cpu64_1.log
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(Name=SQLPath,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools,)
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE,,BinaryType=0,,)
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(,,)
    MSI (s) (FC:D8) [15:22:55:746]: Note: 1: 1406 2:  3: SOFTWARE 4: 5 
    MSI (s) (FC:D8) [15:22:59:434]: Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    MSI (s) (FC:D8) [15:23:03:435]: User policy value 'DisableRollback' is 0
    MSI (s) (FC:D8) [15:23:03:435]: Machine policy value 'DisableRollback' is 0
    Action ended 15:23:03: InstallFinalize. Return value 3.
    Just not able to figure out what the problem is, can someone help?
    Thanks

    Hi,
    Thanks for providing log
    Following is in the log.
    01) 2014-07-09 11:08:53 Slp: Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
    (01) 2014-07-09 11:08:58 Slp: Watson bucket for generic failure has been created
    (01) 2014-07-09 11:08:58 Slp: Error: Action "Install_sql_ssms_Cpu64_Action" failed during execution.
    (01) 2014-07-09 11:08:58 Slp: Completed Action: Install_sql_ssms_Cpu64_Action, returned False
    (01) 2014-07-09 11:08:59 Slp: ----------------------------------------------------------------------
    (01) 2014-07-09 11:08:59 Slp: Running Action: Install_sql_tools_Cpu64_Action
    (01) 2014-07-09 11:08:59 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_tools.msi' does not exist
    (01) 2014-07-09 11:07:00 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_ssms.msi' does not exist
    (01) 2014-07-09 11:07:00 Slp: Checkpoint: PREINSTALL_SQL_SSMS_CPU64_ACTION
    (01) 2014-07-09 11:07:00 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open SC Manager
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open service handle for service msiserver
    (01) 2014-07-09 11:07:00 Slp: Invoking QueryServiceStatus Win32 API
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close service handle for service msiserver
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close SC Manager
    (01) 2014-07-09 11:07:00 Slp: Target package: "D:\Softwares\SQL2012\DeveloperEdition\x64\setup\sql_ssms.msi"
    (01) 2014-07-09 11:07:57 Slp: MSI Error: 1406 Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
    (01) 2014-07-09 11:08:38 Slp: InstallPackage: MsiInstallProduct returned the result code 1603.
    (01) 2014-07-09 11:08:38 Slp: Using MSI error code to detect the retry option: 1406
    (01) 2014-07-09 11:08:38 Slp: No retry-able MSI return code detected.
    (01) 2014-07-09 11:08:38 Slp: Watson Bucket 2
     Original Parameter Values
    From above it seems client tools component is missing from Installation or may be problem with Windows installer but I guess this is not issue with windows installer . Can you re download SQL Server package and run again.
    Edit: For further analysis can you also post log from below location on skydrive
    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140709_104804\sql_ssms_Cpu64_1.log
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Could not write to the file. It may have been opened with insufficient ...

    Cannot add item to keychain with the above error
    Is there a solution?
    An error has occured. Unable to add an item to the current keychain.
    Could not write to the file. It may have been opened with insufficient access privileges

    Is there any more background information that you care to add to help enlighten us?

  • %DHCPD-3-WRITE_ERROR: DHCP could not write bindings to

    To try and simulate a customer similar problem I went to our lab Cisco 2851 and did the following:
    config t
    (config#)ip dhcp database flash://JOHN/database
    (config#)end
    I get nmessages like these every one minute:
    %DHCPD-3-WRITE_ERROR: DHCP could not write bindings to //JOHN/database.
    Customer is seeing same problem on his router.
    When I do dir all-filesystems after above config commands I don't see the file JOHN.
    Then I did
    config t
    (config#)ip dhcp database flash://JOHN
    (config#)ip dhcp database flash://JOHN/database
    (config#)end
    Now I do a dir all-filesystem and I can see JOHN, but I syill get the error message every one minute:
    %DHCPD-3-WRITE_ERROR: DHCP could not write bindings to flash://JOHN/database
    What am I missing?

    Hi Astan,
    I was looking at the command ref guide and it suggest to use the URL instead of the name so can you try the syntax like this
    ip dhcp database url [timeout seconds | write-delay seconds]
    http://www.cisco.com/en/US/docs/ios/12_3/ipaddr/command/reference/ip1_i1g.html#wp1080731
    in URL you can provide FTP string where the FTP string is
    ftp://user:password@host/filename
    That is how you can secure the access to the FTP server in it.
    Example:
    The following example specifies the DHCP database transfer timeout value at 80 seconds:
    ip dhcp database ftp://user:[email protected]/router-dhcp timeout 80
    Try this and update me if it helps.
    Regards,
    Ankur

  • Error 1406.Could not write value  to key

    When I at almost done installing iTunes, I get this error message, everytime whether I do it from the CD that came with my iPod or if I download it from apple.com and try to install it. For the sufficient access part (In full error message below), I have the only account on this computer so I do have admin permissions.
    Full error message...
    Error 1406.Could not write value to key \Software\Classes\.cdda\OpenWithList\iTunes.exe. Verifu that you have sufficient access to that key, or contact your support personnel.

    Oh yeah, if I press ignore, it installs a little further then I get another error message:
    Error 1402.Could not open key: HKEYLOCALMACHINE\Software\Classes\,cdda\OpenWithProdigids. Verify that you have sufficient access to that key or contact you support personel.
    And then... I get another error message, but before I get the error message, the installer says "Rolling back action:" for a bit and makes some progress.
    Error: -1603 Fatal error during installation.
    Consult Windows Installer Help (Msi.chm) or MSDN for more information.

  • Error 1406: could not write a value to key

    error 1406. could not write value to key \software\classes\.cdda\openwithlist\itunes.exe. verify that you have sufficient access to that key, or contact you support personnel. I get this each of the 1000 times i try to instal itunes + quicktime from my ipod nano disk that came with the package, its a band new serial number key, no idea why it wouldn't reconize it, please help or e-mail me [email protected]

    hi rion!
    okay, here's a good place to start with a 1406:
    http://docs.info.apple.com/article.html?artnum=93976
    ... and if the basic techniques don't work, we've also had success when using:
    http://docs.info.apple.com/article.html?artnum=93865
    ... and:
    http://reviews.cnet.com/5208-6142-0.html?forumID=31&threadID=46127&messageID=642 456
    keep us posted on your progress.
    love, b

Maybe you are looking for

  • How do i get rid of album ratings

    How do I clear a rating for an album in iTunes 12.0

  • Bapi for FB50

    hi there need a  BAPI for GR/IR clearing account........ Tcode is FB50. plz it's urgent.

  • CRUD operations and PersistenceManager close.

    I have several issues which I am struggling to find the best practices for Kodo implementation of JDO. I have a typical database schema. Employee-Office (one-2-many), Employee-Department(one-2-many), Employee-Projects (many-2-many). 1. What are best

  • Shape layers not visible in PSE 8

    I am making flyers tonight and I have noticed that I can't keep shape layers visible at all times. I am creating flyers to hang on boards for people to pull off my phone number. Therefore I want to have lines indicating where I should cut and how far

  • My ipod's screen has turned white?!?

    please help