Adding a window to container error

I have this table that I want to add to a my main program.
The table works but when I add the table module to the main program I get an error.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a window to a container
This is the table program
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.table.*;
import java.io.*;
public class TableSave extends JFrame
     private JTable table;
     public TableSave()
          String[] columnNames = { "Depth", "Density"};
          Object[][] data =
          table = new JTable(data, columnNames)
               //  Returning the Class of each column will allow different
               //  renderers to be used based on Class
               public Class getColumnClass(int column)
                    return getValueAt(0, column).getClass();
          table.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
          table.setPreferredScrollableViewportSize(table.getPreferredSize());
          JScrollPane scrollPane = new JScrollPane( table );
          getContentPane().add( scrollPane );
          //  Save table to file button.
          //  Actually the code only prints out the data,
          //  its up to you to modify the code to write it to a file
          JButton button2 = new JButton( "Save Table to File" );
          button2.addActionListener( new ActionListener()
              JFileChooser fc=new JFileChooser(System.getProperty("user.dir"));
                    //show dialog
               public void actionPerformed(ActionEvent e)
                    int rows = table.getRowCount();
                    int columns = table.getColumnCount();
                    //  Write out the Column Headers
                    TableColumnModel header = table.getColumnModel();
                    for (int k = 0; k < columns; k++)
                         TableColumn column = header.getColumn(k);
                         String value = (String)column.getHeaderValue();
                         //System.out.print( value );
                         //System.out.print( "|" );
                    //System.out.println();
                    //  Write out the table data
               try{
                    int fd = fc.showSaveDialog(TableSave.this);
                   if(fd==JFileChooser.APPROVE_OPTION){
                         FileOutputStream fo=new FileOutputStream(fc.getSelectedFile());
                         PrintStream ps=new PrintStream(fo);
                    for (int j = 0; j < rows; j++)
                         for (int k = 0; k < columns; k++)
                              Object value = table.getModel().getValueAt(j, k);
                              ps.println(value.toString() );
                              //System.out.print( value.toString() );
                              //System.out.print( "|" );
                      }//System.out.println();
                 }catch(Exception ex){}
          getContentPane().add(button2, BorderLayout.SOUTH);
     public static void main(String[] args)
          TableSave frame = new TableSave();
          frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
          frame.pack();
          frame.setVisible(true);
}then I add it to the main program as follows
public void actionPerformed (ActionEvent event)
        // Determine which object was the source of the event.
        Object source = event.getSource ();
      else if (source == menuSheet)
          count2++;
          JInternalFrame f = new JInternalFrame("mass/Density"+count2);
            f.setResizable(true);
          f.setClosable(true);
          f.setMaximizable(true);
          f.setIconifiable(true);
          f.setSize(270,420);
          f.setLocation(count2*15,count2*15);
          f.addInternalFrameListener(this);
          f.setVisible(true);
          frame.getContentPane().add(f);
            tablesave = new TableSave();
            Container pane = f.getContentPane ();
        pane.setLayout (new BorderLayout());
        pane.add (tablesave, BorderLayout.CENTER);
Help me resolve this or offer a solution to this problem.
regards,
moi

Hi there,
Both Internal Frames and Jframe are containers.
Jframe is a heavy weight component which you are trying to add in a lightweight internal Frame component, hence the error.
You try having the table implementation which is just a JTable and not a Jframe (You are currently extending from JFrame), then it will work out.
Cheers
Ravi Sinha

Similar Messages

  • Can't open Thunderbird..icud+52.dll is either not designed to run on windows or contains error. extra error msg can't ld xpcom

    having lots of problems with TB lately but until today it worked itself out somehow....now today I- can't open it. suddenly after being prompted to update TB I get error messages. 'program files(x86) Mozilla/Thunderbird/ icud+52.dll is either not designed to run on windows or contains error. install again or contact software vendor' then after I click that away get another one 'cannot load xpcom' . I am not very tech savvy with computers but have tried every reasonable thing I trust myself doing. I thought it might have to do with a an outdated Firefox so reinstalled that. I have searched high and low on how to uninstall TB and reinstall again WITHOUT losing any emails...,but none of the answers I found on this question are clear about this so I don't dare to do it yet. I don't have my pop address emails redirected anywhere else (not to webmail) so only access them via TB on my computer. How can I solve this without losing ALL my existing emails and email folders?
    thanks in advance.

    Hi Chanpuff,
    I have a look at my own Windows 8.1 machine, the sqmapi.dll  in 'C:\Program Files
    (x86)\Windows Portable Devices' is 217KB and in “C:\Program Files \Windows Portable Devices” is 272KB.
    If you want to make a modification to the files, it is recommended to make a restore point and backup the important data to reduce the risk of unexpected error.
    “Would it be safe to try it out? Or are there other possible solutions?”
    The SqmApi.dll is a part of system ,we don`t recommend to try to repair it with a thirty party software. We cannot verify the safety of the software.
    I agree with
    DonPick, to ensure the safety of the whole system .It is recommended to have a full scan of the whole system.
    Best regards

  • Adding a window to a container: Error

    Hello there,
    Im facing a problem with my program.My program is about a Car Rental System and I am using GUI for the interface. From the main(CarRental) program,when user click one of the menu, there is another interface will appear for user to enter details.The problem is,my main (CarRental)program is running,click the first menu,then another interface open,but wen user enter details n click buttons , it is not even working. Below is my program:
    //This is main menu program
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import javax.swing.JFrame;
    public class CarRental extends JFrame implements ActionListener{
         JFrame f;
         JLabel l1,l2,l3,choice;
         JPanel p1,p2,p3,p4,p5,p6,p7,p8,p9;
         JButton btnA,btnB,btnC,btnD,btnE,btnF;
         Connection conn;
         Statement stmt;
         ResultSet rs;
         public CarRental(){
              p1=new JPanel();p2=new JPanel();p3=new JPanel();
              p4=new JPanel();p5=new JPanel();p6=new JPanel();
              p7=new JPanel();p8=new JPanel();p9=new JPanel();
              f=new JFrame("New Rental Record");
              l1=new JLabel("........::: Car Rental System :::.........");
              l2=new JLabel("*******************************************************");
              choice=new JLabel("Please select your option:");
              btnA=new JButton("[1] New Rental Record");
              btnB=new JButton("[2] Update Rental Record");
              btnC=new JButton("[3] Search Rental Record");
              btnD=new JButton("[4] Delete Rental Record");
              btnE=new JButton("[5] Display Rental record");
              btnF=new JButton("[6] Exit");
              l3=new JLabel("*******************************************************");
              f.setLayout(new GridLayout(10,1));
              f.pack();
              f.setVisible(true);
              f.setSize(350,500);
              f.setBackground(Color.white);
              p1.add(l1);f.add(p1);
              p2.add(l2);f.add(p2);
              p3.add(choice);f.add(p3);
              p4.add(btnA);f.add(p4);
              p5.add(btnB);f.add(p5);
              p6.add(btnC);f.add(p6);
              p7.add(btnD);f.add(p7);
              p8.add(btnE);f.add(p8);
              p9.add(btnF);f.add(p9);
              btnA.addActionListener(this);
              btnB.addActionListener(this);
              btnC.addActionListener(this);
              btnD.addActionListener(this);
              btnE.addActionListener(this);
              btnF.addActionListener(this);
         f.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e)
                        {System.exit(0);}});
              public void actionPerformed(ActionEvent e){
                        if(e.getSource()== btnA)
                        {     NewRecord nr=new NewRecord();}
                         else if(e.getSource()== btnB)
                        {     updateRecord ur=new updateRecord();}
                        else if(e.getSource()== btnC)
                        {     searchRecord sr=new searchRecord(); }
                        else if(e.getSource()== btnD)
                        {     deleteRecord dr=new deleteRecord(); }
                        else if(e.getSource()== btnE){
                             try{
                                  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                             catch(ClassNotFoundException e3) {
                                  JOptionPane.showMessageDialog(null,"ERROR:"+e3.getMessage());
                             try{
                                  conn=DriverManager.getConnection("Jdbc:Odbc:Car Rental", "", "");
                                  stmt=conn.createStatement();
                                  rs=stmt.executeQuery("Select * from Customer where CustID");
    String s=("CustID:   CustName:    CustAdd:          CustPhone:       No.of days rent:     Rate per rental: \n");
    while(rs.next())
    s=s+rs.getString(1)+"             "+rs.getString(2)+"              "+rs.getString(3)+"              "+rs.getString(4)+"                    "+rs.getString(5)+"                     "+rs.getString(6)+"\n";
                                       JOptionPane.showMessageDialog(null,s);}
    catch(SQLException e4){e4.printStackTrace();}}//end of F
    //to exit the program                    
    else if(e.getSource()== btnF){
    JOptionPane.showMessageDialog(null,"Thank you");System.exit(0);}
    else
    JOptionPane.showMessageDialog(null,"Invalid Option!");System.exit(0);
                   }//end of if statement
    public static void main(String args[]){
              CarRental cr= new CarRental();}//end of main
    }//end of main menu
    //New Rental program when user selects it
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class NewRecord extends JFrame implements ActionListener{
         JFrame f;
         Container c;
         FlowLayout layout;
         JLabel l1,l2,custId,custName,custAdd,custPhone,dayRent,rateRent;
    JTextField tid,tname,tphone,tday,trate;
                                  JTextArea tadd;
                                  JButton save,clear,exit;
                                  Connection conn;
                                  Statement stmt;
                                  ResultSet rs;
                                  JPanel p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11;
                             public NewRecord(){
                                //super("New Record");
                                  layout = new FlowLayout();
                                  c=getContentPane();
                                  c.setLayout(layout);
                                  p1=new JPanel();p2=new JPanel();p3=new JPanel();
                                  p4=new JPanel();p5=new JPanel();p6=new JPanel();
                                  p7=new JPanel();p8=new JPanel();p9=new JPanel();
                                  p10=new JPanel();p11=new JPanel();
                                  f=new JFrame();     
                                  l1=new JLabel("........::: New Rental Record :::.........");
                                  l2=new JLabel("*******************************************************");
                                  custId =new JLabel("Customer ID:");
                                  custName=new JLabel("Customer name:");
                                  custAdd=new JLabel("Customer address:");
                                  custPhone=new JLabel("Customer phone:");
                                  dayRent=new JLabel("Days of rental:");
                                  rateRent=new JLabel("Rate per rental:");
                                  tid= new JTextField(10);
                                  tname=new JTextField(10);
                                  tphone=new JTextField(10);
                                  tadd=new JTextArea(4,30);
                                  tday=new JTextField(5);
                                  trate=new JTextField(10);
                                  save=new JButton("SAVE");
                                  clear=new JButton("CLEAR");
                                  exit=new JButton("EXIT");
                                  f.setLayout(new GridLayout(11,1));
                                  f.setBackground(Color.white);
                                  f.setVisible(true);
                                  f.setSize(600,600);
                                  p1.add(l1);f.add(p1);
                                  p2.add(l2);f.add(p2);
                                  p3.add(custId);p3.add(tid);f.add(p3);     
                                  p4.add(custName);p4.add(tname);f.add(p4);
                                  p5.add(custAdd);p5.add(tadd);f.add(p5);
                                  p6.add(custPhone);p6.add(tphone);f.add(p6);                         
                                  p7.add(dayRent);p7.add(tday);f.add(p7);
                                  p8.add(rateRent);p8.add(trate);f.add(p8);
                                  p9.add(save);f.add(p9);
                                  p10.add(clear);f.add(p10);
                                  p11.add(exit);f.add(p11);
                             /*     f.add(l1);
                                  f.add(l2);
                                  f.add(custId);
                                  f.add(tid);
                                  f.add(custName);
                                  f.add(tname);
                                  f.add(custAdd);
                                  f.add(tadd);
                                  f.add(custPhone);
                                  f.add(tphone);
                                  f.add(dayRent);
                                  f.add(tday);
                                  f.add(rateRent);
                                  f.add(trate);
                                  f.add(save);
                                  f.add(clear);
                                  f.add(exit);*/
                                  c.add(f);
                                  save.addActionListener(this);
                                  clear.addActionListener(this);
                                  exit.addActionListener(this);
                                  f.addWindowListener(new WindowAdapter(){
                                  public void windowClosing(WindowEvent e)
                                       {System.exit(0);}});
                             public void actionPerformed(ActionEvent e){
                                  if(e.getSource()== exit)
                                       {System.exit(0);}
                                  if(e.getSource()== clear){
                                       tid.setText("");
                                       tname.setText("");
                                       tadd.setText("");
                                       tphone.setText("");
                                       tday.setText("");
                                       trate.setText("");}
                                  if(e.getSource()== save){
                                       try{
                                            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                       catch(ClassNotFoundException e1) {
                                            JOptionPane.showMessageDialog(null,"ERROR:"+e1.getMessage());
                                       try{
                                            conn=DriverManager.getConnection("Jdbc:Odbc:Car Rental", "", "");
                                            stmt=conn.createStatement();
                                            rs=stmt.executeQuery("Select * from Customer");
                                            while(rs.next()){
                                            tid.setText(rs.getString(1));
                                            tname.setText(rs.getString(2));
                                            tadd.setText(rs.getString(3));
                                            tphone.setText(rs.getString(4));
                                            tday.setText(rs.getString(5));
                                            trate.setText(rs.getString(6));}
                                            String s=("CustID:   CustName:    CustAdd:          CustPhone:       No.of days rent:     Rate per rental: \n");
                                            while(rs.next())
                                            s=s+rs.getString(1)+"             "+rs.getString(2)+"              "+rs.getString(3)+"              "+rs.getString(4)+"                    "+rs.getString(5)+"                     "+rs.getString(6)+"\n";
                                                 JOptionPane.showMessageDialog(null,s);
                                       catch(SQLException e2){
                                                 e2.printStackTrace();
                             public static void main(String args[]){
                                       NewRecord nr=new NewRecord();
                                  //     nr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                                       }//end of newRecord class
                                  }//ends of New rental program
    I tried to use extending to JPanel or JApplet but still the same. Any help??

    Hi,
    In the NewRecord java file, use change the
    f = new JFrame();               
    c = f.getContentPane();, after that all panel add into the container
    p1.add(l1);c.add(p1);                    
    p2.add(l2);c.add(p2);
    p3.add(custId);p3.add(tid);c.add(p3);     
    p4.add(custName);p4.add(tname);c.add(p4);
    p5.add(custAdd);p5.add(tadd);c.add(p5);
    p6.add(custPhone);p6.add(tphone);c.add(p6);          
    p7.add(dayRent);p7.add(tday);c.add(p7);
    p8.add(rateRent);p8.add(trate);c.add(p8);
    p9.add(save);c.add(p9);
    p10.add(clear);c.add(p10);
    p11.add(exit);c.add(p11);and finally remove this line below
    //c.add(f);Try to avoid add frame into the container, or else you will receive adding a window to a container error.
    Rgrds,
    Sen
    Message was edited by:
    arjensen

  • Windows 8.1 installation first reboot 0xc000007b ntoskrnl.exe missing or contains errors

    I'm trying to install Windows 8.1 (with updata 1) using UEFI on my Intel DP45SG.
    Starting up the installation by using UEFI works fine, but after the files have been copied and the system reboots I get the following error code: 0xc000007b ntoskrnl.exe missing or contains errors
    I've tried reformatting my USB stick and recopying the files, as well as re downloading the installation files but this hasn't resolved the problem.
    Is there anything I can try to fix this? Perhaps give some commands in the commands prompt?

    Hi Gi,
    It might be caused by changes in Windows 8 PnP in which Boot Start Drivers are not installed by default.
    Please try following
    the instructions as mentioned in the KB aticle.
    https://support.microsoft.com/en-us/kb/2751461?wa=wsignin1.0
    Regards,
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Since trying to install the latest version of ITunes I have not been able to get it to launch at all! I get a message that says " C:Programme files\common files\Apple\Apple Push service.dll is either not designed to run on windows or contains an error. "

    Please help! After I click ok on the error message above I get another message box that says "ITunes not installed Error 7 (Windows error 193)
    I have uninstalled it and re-installed it, I have rsn the repair ITunes, I have re doqnloaded Quicktime- nothing will work
    Thanks

    I also had this issue when one day itunes stopped working for me on windows 8...
    the error message I received first was: C:Programme files\common files\Apple\Apple Push service.dll is either not designed to run on windows or contains an error.
    followed by: ITunes not installed Error 7 (Windows error 193)
    Your response addressed how to fix this issue with earlier windows operating systems, but not for windows 8, so what ended up working for me was your advice applied a little differently. For anyone running windows 8 needing to know how to resolve this issue by repairing the Apple Application Support program, try following these simple steps - what a relief it was to have itunes working again after applying b noir's answer to the windows 8 operating system!
    1. Swipe in from the right edge of the screen, tap Settings, and then tap Control Panel.
    (If you're using a mouse, point to the lower-right corner of the screen, move the mouse pointer up, click Settings, and then click Control Panel.)
    2. Click the Programs and Features icon.
    3. In the list of programs and features, find the Apple Application Support feature and click to select it.
    4.  In the gray title bar above it, click Repair.
    5. Approve the window prompts that follow until the repair has been completed.
    6. Relaunch iTunes.
    Hope this helps & good luck!

  • Error code: 0xc0000001 file: \windows\system32\winload.efi missing or contains errors

    I have a new 2 month old(Aug 2014) hp eliteone 800 all in one computer running win 8.1 64bit. i have two  1 tb hard drives raid configuration. left computer on for an afternoon and when I came back it was off mysteriously. tried to turn on and it
    attempted to repair and was never able to repair. hp sent a new windows 8 software to install, they said os was corrupt. installed three times now i get error code: 0xc0000001 file: \windows\system32\winload.efi  missing or contains errors. hp said installation
    disc probably corrupt and sent me another. installed twice with same result, error code: 0xc0000001 file: \windows\system32\winload.efi  missing or contains errors. This began after the computer was just one month old and after i had placed 300-400
    gb of my personal data from other computers on it. I need all of these files so can't just recover/delete all of the files on the computer, although i have read that that may be my only solution? If i do recover will the files still be on the second hard drive??
    can you help with this problem?? thanks.

    Hi Richard,
    Did you try to repair or reinstall the system when you insert the new media?
    Have you tried to carry out a system recovery, which will restore your system back to factory defaults and how was the result?
    In addition, I suggest you use the new installation media to do a clean install(full format the old system).
    How to perform a clean installation of Windows
    http://windows.microsoft.com/en-IN/windows-8/clean-install
    Note: If you have important personal data, remember to insert your drive into another computer to backup your personal data before you do any operation.
    Karen Hu
    TechNet Community Support

  • Re: windows server 2012 - winload.exe missing or contains errors

    i've noticed mine is ver 4.3 and there's a ver 5 from their website, annoying because it said do i want to update the other day so it did and it seems it didn't bother doing ver 5 and was just a minor update

    i setup a 180 day trial of server 2012 r2 standard yesterday running as a vm in virtualboxwith less than 24 hours after doing so i find it now doesn't boot, which is really irritating as i configured it with some roles etc and don't want to do it all again if it's not going to be reliablewhen it trys to boot i get the following below, i've tried a few things with bootrec and bcdedit following some guides elsewhere but it's all useless and doesn't work so i need some help from people that actually know what they are talking about so i don't waste more of my time, hopefully the idiots that post junk that doesn't fix will have their posts removed from youtube somedayfile: \windows\system32\winload.exe
    status: 0xc0000001info: the application or operating system couldn't be loaded because a required file is missing or contains errors
    This topic first appeared in the Spiceworks Community

  • Windows server 2012 - winload.exe missing or contains errors

    i setup a 180 day trial of server 2012 r2 standard yesterday running as a vm in virtualboxwith less than 24 hours after doing so i find it now doesn't boot, which is really irritating as i configured it with some roles etc and don't want to do it all again if it's not going to be reliablewhen it trys to boot i get the following below, i've tried a few things with bootrec and bcdedit following some guides elsewhere but it's all useless and doesn't work so i need some help from people that actually know what they are talking about so i don't waste more of my time, hopefully the idiots that post junk that doesn't fix will have their posts removed from youtube somedayfile: \windows\system32\winload.exe
    status: 0xc0000001info: the application or operating system couldn't be loaded because a required file is missing or contains errors
    This topic first appeared in the Spiceworks Community

    i setup a 180 day trial of server 2012 r2 standard yesterday running as a vm in virtualboxwith less than 24 hours after doing so i find it now doesn't boot, which is really irritating as i configured it with some roles etc and don't want to do it all again if it's not going to be reliablewhen it trys to boot i get the following below, i've tried a few things with bootrec and bcdedit following some guides elsewhere but it's all useless and doesn't work so i need some help from people that actually know what they are talking about so i don't waste more of my time, hopefully the idiots that post junk that doesn't fix will have their posts removed from youtube somedayfile: \windows\system32\winload.exe
    status: 0xc0000001info: the application or operating system couldn't be loaded because a required file is missing or contains errors
    This topic first appeared in the Spiceworks Community

  • Windows\system32\softpub.dll is either not designed to run on windows or contains an error. how do i fix this so i can launch my itunes app

    every time I try to open itunes i get this message, C:\windows\system32\softpub.dll is either not designed to run on windows or contains an error. what should i do to fix this problem.

    I suggest that you reinstall the Microsoft Visual Studio 2010 redistributable https://www.microsoft.com/en-us/download/details.aspx?id=5555
    If you are on a 64-bit system you should also install the x64 version http://www.microsoft.com/en-us/download/details.aspx?id=13523

  • Windows Vista Bonjour error "You do not have sufficient access..."

    My Windows Vista laptop recognizes my HP PSC 1310 printer connected as a USB printer with Airport Extreme. It even has the correct driver. When i go to finish set up i get an error "You do not have sufficient access to your computer to connect to the selected printer". I am doing this as an admin on my PC. The printer works correctly on my Macbook. The guidance given by apple is no help at all. Any ideas?

    I experienced the same general problem and did find a manual workaround in my particular instance. Hopefully this is helpful to anyone who's facing the same situation.
    MY SETUP: installing a hp LaserJet 1012 that's tethered to a wireless Time Capsule (home network) on a virtual VISTA platform running within Parallels 4.0.3810 on an iMac OS 10.5.6.
    THE PROBLEM: WinXP (also virtual) connected to the printer through BONJOUR FOR WINDOWS without any problems. However, doing the same in Vista resulted in a last step termination of installation with the following message from Vista: "You do not have sufficient access to your computer to connect to the selected printer." Lovely.
    Turns out, according to Microsoft (link: support.microsoft.com/kb/946394/en-us Help and Support Article ID: 946394 - Last Review: January 24, 2008), the problems is due to "the Hewlett-Packard (HP) print driver uses an HPBmini.dll file ("HP Mini Installer") whose version is earlier than 1.0.0.13."
    My workaround was to simply install the network printer manually via ~ (the following are the choices that I clicked on in VISTA)
    Vista Control Panel > Hardware and Sound > Printers > Add a printer >
    Add a network, wireless or Bluetooth printer >
    The printer that I want isn't listed >
    Add a printer using a TCP/IP address or hostname >
    CHOOSE - Device type: Autodetect
    INPUT - Hostname or IP address: "Time-Capsule"
    (which is the specific hostname in my case, the hostname can be found by going to OS X System Preference > Print & Fax > click & highlight the printer installed on the local network in OS X and look for the hostname after "Location:". Remember, Windows do not do spaces, so if there are any spaces in your hostname be sure to substitute a dash "-".
    SELECT - "Query the printer and automatically select the driver to use" >
    Device Type > Standard | Generic Network Card > Install the printer driver* >
    (*Here's the tricky step, since you don't want to use an old driver which would bring up that old insufficient access message, but you do have some options:
    a) you have a known VISTA COMPATIBLE driver from the manufacturer (net downld);
    b) the "Add Printer Wizard" window may contain a driver for your specific printer or a similar printer. Also, try the "Windows Update" button to refresh the choices if you can't find it the first time; and finally,
    c)"Generic" is a legitimate choice in the Manufacturer window if you can't find any better options.)
    From there, it's just Next > Next > and choose to share printer, etc. to finish up.
    Luckily, I got through to "Print a test page" and it all works without the annoying "insufficient access" message.
    Best of luck to you.

  • The boot configuration data for your Pc is missing or contains errors: error code 0x000014c

    Hello, 
    See if any body may help here... I get this blue screen:
    RECOVERY
    Your PC needs to be repaired: 
    The Boot Configuration Data for your PC is missing or contains errors.
    file:\\EFI\Microsoft\Boot\BCD
    Error code: 0xc000014c
    You'll need to use the recovery tools on your installation media. If you don't have any installation media (like a a disc or USB device), contact your system administrator or PC manufacturer.
    Press Esc for UEFI Firmware Settings
    First I was able to get into the option 11 and run the whole factory reset, i was so happy because I tought it will be easy.. but then after I did the factory reset.. I keep getting this blue screen. if I press ESC I get into this next screen:
    F1 System Information
    F2 System Diagnostics
    F9 Boot Device Options
    F10 BIOS Setup
    F11 System Recovery
    ENTER - Continue Startup.
    this is what happen when I click any of this options:
    F1 I get into the System Information with no problems, then I click <ESC> to continue and get back to the last screen... then I press F2 and super, I am able to run Memory Test and Hard Drive Check 100% with no problems in any of those, after I am done with my teste I press exit and I am back to the F1,F2, ETC menu... now I want to try F9, F10 or F11. bummer.. in this 3 options I get back to the blue screen described at the beggining of this post. (I already connect a USB with an boot loader, which works perfectly) 
    so I can't do anything, nothing at all!! crazzines. 
    So what I did to check why I can't get into the BIOS or at least to boot from my USB... I removed the botton cover of my laptop and removed the hard drive and that's how then I was or I am able to Log into the BIOS, - I did the changes to boot first from the USB and then from the HD and this is how I was able to boot from the USB - BUT If I connect back the Hard drive, I am not able to get into the BIOS or boot from the USB - so basically I am stuck in this blue screen and I can't boot from a USB if I have the HD connected.. I can't use any option.. no BIOS, nothing.. only if again, i disconnect the HD.  
    This is an:
    HP ENVY TS Sleekbook 4
    PRODUCT NUMBER  D1A99UA#ABA
    SYSTEM BOARD ID: 1894
    Bios F.25 
    **** I though that by updating the BIOS I may be able to get help, nothing. What I did is, I removed the HD and then and boot from the USB and with a DOS command propmt I excecuted the Bios Update from F.21 to f.25... but again, when I installed the hard drive back, BUMMER, nothing I can't do nothing but this silly blue screen. 
    Any idea of what should I do? 
    Thanks in advance.
    This question was solved.
    View Solution.

    If you can't access BIOS with the hard disk connected, you certainly won't be able to boot to the usb recovery flashdrive. That is indicative of a failed hard disk.
    Install a new hard disk and then boot to the recovery flashdrive.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • On Windows Platform, encounters error when trying to open an Indesign document created from MAC

    Hi all,
    On Windows Platform, encounters error when trying to open an Indesign document in INDD format created from Mac. Error received "Either the file does not exist, you do not have permission, or the file may be in use by other application". I am currently using Adobe Indesign CC 9.2 Trial version.
    Kindly advise how can i open this document on windows platform and allows me to edit the document.
    Thanks!
    With Rgds,
    Fiona Choy

    Normally there is no problem to open any INDD opening on Windows, when created on the Mac.
    But Mac user are often not aware on the naming limitations. A file name must not contain /, \, |, :
    It should not contain any extended character, it is not a primary problem but will be, if something links to that file, so avoid also: ÄÖÜäöüß+&
    You can use all other non A-Z a-z, 0-9 and - and  _
    I personally would also recommend to avoid spaces.
    This is valid for the INDD file itself but also for all linked content.

  • In coded ui how do you correctly retrieve a browser window that contains an embedded Adobe PDF reader in browser

    I'am running across this issue when I'm debugging or running my coded UI automation project, where i get the exception labeled "{"COM object that has been separated from its underlying RCW cannot be used." System.Exception {System.Runtime.InteropServices.InvalidComObjectException}"
    everytime i come from a browser window that contains a pdf reader embedded in it. This happens every time I retrieve the window and try to click back. It barfs when i perform the back method on it. I've tried different things but none has worked including
    the playback wait.
    var hereIsmypdf = ReturnPDFDoc();
    public BrowserWindow ReturnPDFDoc()
    Playback.Wait(1000);
    var myPdFdoc = GlobalVariables.Browser;
    return myPdFdoc;
    hereIsmypdf.Back();
    skinny_Will

    Hi skinny_Will,
    <<"{"COM object that has been separated from its underlying RCW cannot be used." System.Exception {System.Runtime.InteropServices.InvalidComObjectException
    According this exception error message, I did some research about it. I know that this exception error is occurred in
    COM object which was disposed if you are using the COM objects in a same static class or variables which ware shared between tests.
    So please you refer the following blog to use ExecutionThread element to instruct the test to use the MTA threading model. This way, the static instance of "store" can be shared across tests.
    http://blogs.msdn.com/b/martijnh/archive/2009/12/31/unit-testing-com-object-that-has-been-separated-from-its-underlying-rcw-cannot-be-used.aspx
    Note: if you are using the VS2013 to create the coded UI test, you will need to add a test setting file to add this
    ExecutionThread.
    https://msdn.microsoft.com/en-us/library/ee256991.aspx?f=255&MSPPError=-2147217396
    In addition, ad you said that when you playback the browser window that contains an embedded Adobe PDF reader and then it could not work.
    I suggest you could try to add more searchproperties to find this target control and then check this issue.
    I find a similar thread about your issue, please refer the Steve's code to check your issue.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/73445915-ac08-47de-8bab-b6b07294d0c2/coded-ui-test-wont-find-an-pdf-browser-window-it-times-out?forum=vsunittest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Mapping of element contains errors

    Hi experts,
    I was doing a complex mapping for creating a Sales Order (Items, ItemsX, ...)
    Everything worked fine, I added 2 simple Types to the Data Type xsd file, redeployed and still worked.
    Now all of a sudden I can't seem to map anymore, with a problem: "Mapping of element x contains errors".
    When I start mapping, either I get an exception (and NullPointerExceptions) that he can't find the root element of my context anymore. Or I just save, and all my mappings dissapear and I get a screen like the screenshot bellow, with broken mappings.
    All the failed mappings get the value "TaskOutput".
    Another detail is, that when I delete all those broken mappings with the value "TaskOutput".. close and save, the broken mappings appear again.
    Tried solving with: creating new .xsd file (same data), created new process, new UI component.
    Screenshot of problem
    http://i53.tinypic.com/2ykfh3r.png
    Screenshot of illegalstate exception (I also get nullPointer sometimes)
    http://i56.tinypic.com/1zl68m1.png

    just delete old mapping

  • IFrame(child container) still visible after closing the title window(parent container)

    Hi All ,
    I have created a sample project using a link button which when clicked opens up an TitleWindow which has an iframe and a text area in a hbox
    When you execute the application ,
              Click the link button
              The Popup window opens up showing the title window with the close button
              Click the close button of the title window
              The Title window is removed and the iframe and the text area are not visible
    Do this a couple of times
    You can notice that the iframe is still visible even when the title window is closed
    Can someone explain me how this issue can be resolved and also explain me why the iframe(child container) is still visible when the title window(parent container) is not visible. 
    Main Application file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        width="100%" height="100%" creationPolicy="all"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical" creationComplete="init()"
        xmlns:containers="containers.*">
       <mx:Script>
       <![CDATA[
           import mx.managers.PopUpManager;
           import containers.PopUpBrowser;
           public function doRequest():void
                    var requestPopup:PopUpBrowser = PopUpManager.createPopUp(this, PopUpBrowser) as PopUpBrowser;
                    PopUpManager.addPopUp(requestPopup,this);
                    requestPopup.x = 220;
                    requestPopup.y = 50;
       ]]>
       </mx:Script>
       <mx:Text fontSize="14" fontWeight="bold" text="Click the link button below to open the Title Window" />
       <mx:Spacer height="100"/>
       <mx:LinkButton label="Click me" fontSize="16" fontWeight="bold" click="doRequest()"/>
    </mx:Application>
    PopUpBrowser.mxml Component
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow
        xmlns:mx="http://www.adobe.com/2006/mxml"
        close="removeMe()"
        showCloseButton="true"
        styleName="myTitleWindowStyle"
        width="850" height="500"
        title="Klout User Profile"
        paddingTop="1" paddingBottom="1"
        paddingLeft="1" paddingRight="1"
        xmlns:generic="com.serendio.voom.components.generic.*"
        xmlns:flexiframe="http://code.google.com/p/flex-iframe/"
        horizontalScrollPolicy="off"
        verticalScrollPolicy="off" >
        <mx:Script>
            <![CDATA[
                import mx.managers.PopUpManager;
                public function removeMe():void
                    PopUpManager.removePopUp(this);
            ]]>
        </mx:Script>
        <mx:HBox width="100%" height="100%">
        <flexiframe:IFrame source="http://www.google.com" id="iFrame" width="50%" height="100%"/>
        <mx:TextArea text="Open and close the title window few times and watch the iframe remain visible even when the title window is closed"
             fontSize="14" width="50%" height="80%"/>
        </mx:HBox>
    </mx:TitleWindow>
    Thanks,
    Ajantha

    Hey,
    This is working fine for me with the current 4.5 Flex, Firefox 3.6.12, IE8. On what browser you are getting this error.
    Thanks,
    Jayagopal.

Maybe you are looking for

  • Expressions editing bug (os x)

    Hi there when editing an expression, whenever using copy/paste, or dragging a selection to reposition it in the expression, after exiting the editing some of the text disappears. if valid, the expression actually works, but i can see only a portion o

  • Select single and select

    hi everybody what is the exact difference between select single vbeln  and select vbeln In what situations i should use these select single vbeln or select vbeln regards hridhayanjili.

  • Dynamic selections in FBL1N

    Hi. Is it possible certain selection fields from dynamic selections (such as clearing document) in report FBL1N to be always available in the dialog appeared in the right hand instead of choosing them every time of the dialog in the left hand? Thanks

  • HT4623 HELP with my IPAD2

    my software update option is missing from my settings menu

  • YTD syntax is invalid

    Hi, I am using OBIA 7.9.6.3 and now I am formulating YTD for Active Headcount in OBI analytic as below: TODATE("Workforce Profile Facts"."Active Headcount", "Time"."Year" ) but I am hitting Formula syntax is invalid. [nQSError: 10058] A general error