Out of Box Recovery doesn't match out of box state

I am working to get my mom's Satellite A660 back up and running. I helped her buy it from Toshiba Direct last year and I chose the customization options because she doesn't like dealing with technology. I know that I chose the installed operating system to be Windows 7 Professional, and that matches the Windows sticker on the bottom of the laptop. We also chose to have it shipped with Office 2010 included. 
Three days ago things went downhill for her system and it started running extremely slow, being glitchy, and windows explorer kept crashing. At some points it wouldn't get past the "Starting Windows" screen. After running the System Repair options, Windows troubleshooting options, and antivirus scans and not getting results, I decided that using the Toshiba recovery options would be best. 
Not only was the recovery glitchy (it would have an error and have to shutdown and restart) but when all the recovery was complete, the "Out of Box" factory settings and system are NOT the same as when we first opened it from the box. The biggest descrepancy is that Windows 7 is no longer the Professional version but it is now Home Premium. Also, I notice that when I view the available drives in Windows explorer, the recovery partition that was listed is now gone. This would be irritating but acceptable, however, the computer is now just as clunky and glitchy but in different ways. 
I'm actually on a different computer to write this because Firefox keeps not responding, Windows Update is not downloading any updates, and the computer is extremely slow. Does anybody know anything about this scenario? I am extremely disappointed with the recovery process, my mom needs her laptop for school, and I am trying to solve this for her before she really loses it! 
How can I get the correct Out of Box recovery?? Why doesn't the OS match what truly came to us in the first place? Will this create licensing issues? Most importantly, how can I get the computer into a fresh, non-problematic state??
Thanks in advance.

If it's still under warranty, send it back. That would be my first option. I wouldn't be surprised if they put in the wrong OS in the recovery partition. It's typical copy and paste from their typical best selling system is what you have. You can always call their 800 number and see if they will support you even if it's not under warranty.
Toshiba is making a lot of junk lately. I've owned 3 Toshibas prior to acquiring my latest POS last year.

Similar Messages

  • Iphone 5 system serial no doesn't match with outer box? Case of misprint? i see only one latter is serial no doesn't match

    I recently bought iphone 5 32gb white. Was surprise to see the outer box serial no doesn't match with iphone 5 system.
    They have print XXXXXXTXXXX on box and on phone its XXXXXX7XXXXXX. Only one latter is mixprint though.
    I check coverage status at apple site. The box serieal no is not found in apple system while the iphone 5 inside serial no i can see warrenty.
    plz help is it normal to have serial no unmatched on phone and box or the phone is not genuine

    You are correct. The SIM Tray of iPhone 5 does not have the Serial #  printed on it. So your Serial # is the one in the Settings app About. This is your true Serial #. A 7 and a T from a box label are not distinct enough to matter. Apple will only honor the Settings About Serial # and the ones located inside the iPhone 5, which will be the same as the About Serial #.

  • Recovery out-of-box state

    hello,
    I have a toshiba satellite u400. I have used the system recovery (out-of-box state) multiple times by using the recovery disc and it worked. But lately when I try to do so, i get an error message, "cannot create or replace BIN: the path is too deep." This error occurs at the beginning of the recovery process while creating hdd recovery area. Is there a way around this?
    thank you,
    abdul

    It sounds like there might be a problem with the hard drive itself.
    - Peter

  • Bounding Box Doesn't Match Object (Illustrator CS4)

    I'm not sure if this is an error on my part or a bug, but for the last week or so, the bounding box for my objects hasn't actually matched the objects. This is really problematic when I try to transform the object using the bounding box handles.
    On occasion, after I transform the object the bounding box will match it again and will transform correctly. Sometimes it will stay off. If it does reorient itself, undoing the transformations back the original size will cause the bounding box to reset back to it's mismatched state.
    Things I have tried to resolve the issue:
    Reset the Bounding Box
    Copying and pasting the shape to a different document
    Starting a new document from scratch (I thought it was possible I corrupted the file)
    Return Keyboard Shortcuts to the Default
    Restarting Illustrator
    Restarting my System
    To my knowledge, my system hasn't been updated in the last week nor has anything new been installed. However, IT does push out maintenance so there is a possibiltiy that it was updated and I don't know about it. The only programs open while working in Illustrator are Bridge, Outlook 2007, IE8, Explorer, InDesign CS4, Word 2007, Photoshop CS4, Acrobat Professional 9, Dreamweaver CS4, PowerPoint 2007, Previewer and possibly FireFox 3.something (though not necessarily all at once - generally about 7 of the above listed). My system runs XP Professional SP3 with an Intel Core2 Quad @ 2.66GHz and 3.25 GB of RAM. The objects are not grouped, do not contain clipping masks, do not contain transparency masks and are not compound paths. They are simple paths/shapes, often rectangles.
    I have included some pictures to better explain my issue. This first image indicates how the bounding box doesn't match the rectangle.
    The second image shows the process of transforming the shape via dragging.
    The third image shows the result.
    Thanks for any help you can provide!

    Mr. Bugge:
    Thank you for your response and I apologize for the delay in mine. I couldn't try all of the fixes immediately because I had to complete some job duties before I could tinker with this issue.
    Things that did not work:
    Closing Firefox
    Clearing the Preferences
    Moving the Preferences Folder
    Deleting Temp Files
    Closing Other Adobe Programs (Including Bridge Running in the Background
    Things I cannot do for various reasons:
    Re-installing Acrobat
    Turning Off the Firewall (My Company Only Uses 1 Anyway)
    Things I haven't tried yet but hope to try later:
    Update Printer Definition or Change Default Printer
    Check for Corrupt Fonts
    Clear My Font Cache
    Things I learned:
    The issue is most easily recreated by transforming an object to a smaller object. However, zooming in will realign the bounding box but it will only stay aligned when zoomed in. I find it very curious.
    Even if I don't end up finding an answer, I do appreciate your time and help.

  • How do I start over and bring my MacBook Pro to a brand new out of the box state?

    I have a MacBook Pro with Retinal Display purchased in June 2012.  I have backed up once using Time Machine. How do I put it back to the brand new just purchased out of the box state? Any ideas?  I have done this with windows computers, but never a Mac.

    To restore your MacBook to factory settings, you have to use Internet Recovery. Follow the steps:
    1. Press Command, Option and R keys while your Mac is starting, and open Disk Utility.
    2. Select Macintosh HD in the sidebar, go to Erase tab and erase the disk.
    3. Close Disk Utility and reinstall OS X. This can take hours because your computer has to download OS X from the App Store.
    After restoring the computer to factory settings, open App Store > Purchases to download iMovie, iPhoto and GarageBand

  • Installing clean copy of Windows 7 without out-of-box state software?

    I have the Toshiba Satellite A505-S6025 model and was wanting to do a clean install of Windows 7 on it. Without using the system recovery option and having it formated too out-of-box state. I was just wondering if it would effect the computer in any way? Because I know their are lots of system programs that come a long with it for key features. What do you think?

    Perhaps I can add some usefull information here.  Most, if not all, computer manufacturers no longer provide recovery disks.  Some provide these at a small cost.  They do provide intruction how to make these disks.  There is a great amount of free information available on the internet how to do this.  The hard drive on new machines usually has 2 partitions, 1 is the recovery partition (dive), the other is the system partition (generally drive "C").  These partitions also contain the product bloatwhere specific to there products.  Most users find these utilities very useful.  If you format the drive and install a fresh operating system (lets say Windows 7) you generally will only have 1 partition (drive "C") without the product utilities.  The machine will work just fine.  Keep in mind, you will have to download and install new drivers and operating system updates and perhaps will need to make some system changes, such as screen resolution. I DO NOT SUGGEST THIS FOR MOST USERS.  Most users are starting to understand the need to backup their DATA, very few backup the system.  Anyone that buys a new machine should first make the system recovery disks, then do all the system and driver updates and back up once again. I suggest purchasing a USB hard drive and a product such as CMS Bounceback.  Backup the entire system, perhaps weekly or monthly depending on your useage.  In the event of a hard drive failure, you can swop the drive and be back in business in less than 1 hour.  You can also backup from the spare hard drive.
    Stuff Happens !

  • I have lost my disks for my imac computer and now its on a grey screen cause i have no time machine backup. How can i restore my imac to the original out of box state please

    Is there anyone that can give me the steps to erase everything and have out of box state again. i lost my disks. i ordered a os from apple
    not the lion that my machine had but another one. is there anyway i can just erase everything and start over. please help

    You need to contact Apple Customer Service about purchasing replacement discs for the computer. You have posted in the PPC forum, so I assume you do not have an Intel Mac, but since you haven't stated what you have we simply don't know enough to assist you.
    Customer Service: Contacting Apple for support and service - this includes international calling numbers.

  • How do I return my MB Pro to it's "out of the box" state?

    I have a MB Pro 15". I just got a new one yesterday, and my new co-worker will be getting this one. There is nothing we need to keep, so a backup won't be necessary. How do I go about deleting/reseting everything to it's original out-of-the box state, and make his the new admin, etc?
    Thanks!

    Start up from your install disc, go to Disk Utility and select the disk and click erase - to securely erase data click Security Options and Erase Free Space which will entirely wipe your disk, overwriting it with zeros so that no data is recoverable. 
    Restoring your computer’s software

  • Resetting X6 to 'out of the box' state?

    By 'out of the box' state i mean both phone memory and the mass memory wiped clean, and every 3rd party app which i installed gone.
    How do i do it?
    Any help will be appreciated..
    Thanks..
    Nokia X6 32Gb (comes with music)
    Solved!
    Go to Solution.

    "just like I would format any other external drive?"
    Yes. and you can format it with-in phone, File manager>open mass memory>options>mass memory options>format.
    "What about the default folders? Will the phone recreate them?"
    Yes, when you'll disconnect.
    Previous Phones: 6600, 7610, 6230, 6230i, 1100, 1112, N70, N73, N95, N95 8GB, 5800XM, 5230, C5, iPhone 3GS, SE Xperia X10, N900, N8, SE Xperia Arc
    Current Phones: Nokia N9, iPhone 4

  • Extension manager would not upgrade. Alert box states could not move old extension out of the way. Suggestions?

    Extension manager would not upgrade. Alert box states could not move old extension out of the way. Suggestions?

    What you said confused me. Which version of Extension Manager do you use? Could you please attach a screenshot?

  • Once ipad 1 restored to out of box state how do you update ioS

    Got new iPad Air and wanted to give original iPad to my mom, so restored the iPad to its out of box state.  However, now when she goes to set up the iPad as hers and update the software, it says the software is up-to-date (at ioS 5).  How does she update?

    Because Apps get updated all the time. If you had already downloaded a prior version of the App then that's what you were using and not the updated version.
    Your mom should still be able to get a version of the App for the older iOS version though.
    App Store: Install the latest compatible version of an app
    http://support.apple.com/kb/ht5919
    You may need to download the newest version to a compatible device or a computer running itunes so it gets registered to the Apple ID she is using now and can be downloaded then form the Purchased tab in the App Store App.

  • Video copied to DVD doesn't match project I can see

    Okay,
    Probably another basic question but I can't find an answer in the Adobe manual. I just discovered (after burning 8 copies of the same file) that the movie on the DVD doesn't match what I see in the Project screen. The dropdown of the Organize>Project looks like what I want to see except that it seems to have the original avi file that I subsequently edited as well as the edited file. The sceneline looks correct. The timeline looks correct. I have tried eliminating the "markers" but there weren't any to eliminate - the menu drop down only gave me the option to add markers. One hint is that the DVD is picking up a menu template that I was playing with but couldn't get to work and then deleted. I ended up using the very basic title screen with black video from the top line Title dropdown menu instead of the Template option in Edit. I can see the new title in scene and timelines. Again, per previous question just posted, I see nothing in the clip screen
    (i.e. th boxes) under "organize". Also, the video clip on the DVD appears truncated by approx. half the play time.
    At one point I could get only the old menu template clip  to show up just below the montor screen but couldn't figure out how to delete.
    thx

    Camcorder is a Sony Handcam D8 Digital Video, not minidvd. Tape was transferred using Adobe Premiere elements 9 with brand new firewire.
    First screen capture below shows only one of two black screen titles upon opening program. Nothing in media boxes. Second Capture shows frame of video clip as a result of double clicking on the third sceneline box. Third screen capture shows what the DVD opens with when played after burning. I have tried to create this from scratch but can't get rid of the fancy menu screen in the third screen capture below. Replaying the movie using the sceneline or timeline prior to burning the DVD doesn't show the "fancy picture frame" with the "play movie" option shown in the dvd playing in the third capture below. Does this help? It seems to be something like an invisible preset that I can't get rid of.
    C

  • Error: The decapsulated inner packet doesn't match the negotiated policy in the SA

    I upgraded my ASA from 8.2(1) to 8.4(3) as I wanted to try to get Android devices to properly connect via VPN.
    After some effort, I was able to get the Android devices to connect via VPN.  However, my syslog server has a number of errors recorded that look this this:
    %ASA-4-402116: IPSEC: Received an ESP packet (SPI= 0x1E76EFA6, sequence number= 0x1F0) from x.x.x.x (user= testuser) to y.y.y.y.  The decapsulated inner packet doesn't match the negotiated policy in the SA.  The packet specifies its destination as z.z.z.z, its source as a.a.a.a, and its protocol as tcp.  The SA specifies its local proxy as y.y.y.y/255.255.255.255/udp/42246 and its remote_proxy as x.x.x.x/255.255.255.255/udp/0.
    Digging further, it seems this error might be due to a NAT issues with the VPN connections.  VPN previously worked with Cisco's VPN client on Windows, though I did not test to see if that is no longer working.  However, I made no changes in the config, except for those related to additions needed to support L2TP.  With the below config, Android clients can connect to the ASA and access the internal network, but they cannot connect to external addresses.  I'm at a loss.
    The addresses used in the config: 192.168.1.0/24 are on the internal LAN and 192.168.3.0/24 are addresses assigned to VPN clients.
    I noted in the config this line:
    access-list inside_nat0_outbound extended permit ip any 192.168.3.0 255.255.255.0
    The access list is not referenced anywhere, though it was referenced in the 8.2(1) config like this:
    nat (inside) 0 access-list inside_nat0_outbound
    I'm not sure what else changed, but I've looked over the config and I just cannot see what the issue might be.  I'm hoping somebody might be able to point out my error.
    Here's the config file (at least the parts that might be of interest):
    : Saved
    ASA Version 8.4(3)
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.1.1 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    ip address dhcp setroute
    boot system disk0:/asa843-k8.bin
    object network obj-192.168.3.0
    subnet 192.168.3.0 255.255.255.0
    object network obj_any
    subnet 0.0.0.0 0.0.0.0
    access-list outside_access_in extended permit icmp any interface outside time-exceeded
    access-list outside_access_in extended permit icmp any interface outside echo-reply
    access-list outside_access_in extended permit icmp any interface outside unreachable
    access-list outside_mpc extended permit ip any interface outside
    access-list inside_mpc extended permit ip 192.168.1.0 255.255.255.0 any
    access-list testVPN_splitTunnelAcl extended permit ip 192.168.1.0 255.255.255.0 any
    access-list inside_nat0_outbound extended permit ip any 192.168.3.0 255.255.255.0
    ip local pool VPN-Pool-1 192.168.3.1-192.168.3.254 mask 255.255.255.0
    ip verify reverse-path interface outside
    nat (inside,any) source static any any destination static obj-192.168.3.0 obj-192.168.3.0 no-proxy-arp
    object network obj-192.168.3.0
    nat (outside,outside) dynamic interface
    object network obj_any
    nat (inside,outside) dynamic interface
    access-group outside_access_in in interface outside
    crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANSP esp-aes esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANSP mode transport
    crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANSP esp-des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANSP mode transport
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 10 set ikev1 transform-set ESP-AES-128-SHA-TRANSP ESP-3DES-SHA-TRANSP
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
    crypto map outside_map interface outside
    crypto ikev1 enable outside
    crypto ikev1 policy 5
    authentication pre-share
    encryption aes
    hash sha
    group 2
    lifetime 86400
    crypto ikev1 policy 10
    authentication pre-share
    encryption aes-256
    hash sha
    group 2
    lifetime 86400
    group-policy testVPN internal
    group-policy testVPN attributes
    wins-server value 192.168.1.8
    dns-server value 192.168.1.8 192.168.1.4
    vpn-idle-timeout none
    vpn-tunnel-protocol ikev1
    split-tunnel-policy tunnelspecified
    split-tunnel-network-list value testVPN_splitTunnelAcl
    default-domain value test.us
    group-policy testVPNnsl2tp internal
    group-policy testVPNnsl2tp attributes
    wins-server value 192.168.1.8
    dns-server value 192.168.1.8 192.168.1.4
    vpn-idle-timeout none
    vpn-tunnel-protocol l2tp-ipsec
    group-policy testVPNns internal
    group-policy testVPNns attributes
    wins-server value 192.168.1.8
    dns-server value 192.168.1.8 192.168.1.4
    vpn-idle-timeout none
    vpn-tunnel-protocol ikev1
    username testuser password PASSWORD encrypted privilege 15
    username testuser2 password PASSWORD nt-encrypted privilege 15
    tunnel-group DefaultRAGroup general-attributes
    address-pool VPN-Pool-1
    default-group-policy testVPNnsl2tp
    tunnel-group DefaultRAGroup ipsec-attributes
    ikev1 pre-shared-key *****
    tunnel-group DefaultRAGroup ppp-attributes
    authentication ms-chap-v2
    tunnel-group testVPN type remote-access
    tunnel-group testVPN general-attributes
    address-pool VPN-Pool-1
    default-group-policy testVPN
    tunnel-group testVPN ipsec-attributes
    ikev1 pre-shared-key *****
    tunnel-group testVPNns type remote-access
    tunnel-group testVPNns general-attributes
    address-pool VPN-Pool-1
    default-group-policy testVPNns
    tunnel-group testVPNns ipsec-attributes
    ikev1 pre-shared-key *****
    tunnel-group testVPNnsl2tp type remote-access
    tunnel-group testVPNnsl2tp general-attributes
    address-pool VPN-Pool-1
    default-group-policy testVPNnsl2tp
    tunnel-group testVPNnsl2tp ipsec-attributes
    ikev1 pre-shared-key *****
    tunnel-group testVPNnsl2tp ppp-attributes
    authentication ms-chap-v2
    One last question: in order to get the connection from Android to work, I was forced to use "tunnel-group DefaultRAGroup".  Is that actually a limitation, or did I make an error that forced that requirement?  I wanted to use "tunnel-group testVPNnsl2tp".
    Thanks!

    Chris,
    This is still a bit off the mark.  I think I might be confusing the issue by including some of the VPN configuration that I had previously installed and working (e.g., two other VPN tunnel groups with split tunneling on one of them).  Let's just remove that stuff from consideration.  I actually tested the current configs just to see if they are working since the upgrade.  testVPN is working with the split tunneling, but testVPNns (no-split tunneling) does not allow external access.  I guess there is a NAT config issue there, too, but not sure what it is, yet.  I've not investigated that closely.
    I want to solve one problem at a time, though I understand there are some interdependencies.
    What I'd like to focus on right now is just the L2TP VPN connection.
    From what I've been able to understand from the documentation, what I need are these lines:
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANSP esp-aes esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANSP mode transport
    crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANSP esp-des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANSP mode transport
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 10 set ikev1 transform-set ESP-AES-128-SHA-TRANSP ESP-3DES-SHA-TRANSP
    crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
    crypto map outside_map interface outside
    crypto ikev1 enable outside
    group-policy testVPNnsl2tp internal
    group-policy testVPNnsl2tp attributes
    wins-server value 192.168.1.8
    dns-server value 192.168.1.8 192.168.1.4
    vpn-idle-timeout none
    vpn-tunnel-protocol l2tp-ipsec
    tunnel-group DefaultRAGroup general-attributes
    address-pool VPN-Pool-1
    default-group-policy testVPNnsl2tp
    tunnel-group DefaultRAGroup ipsec-attributes
    ikev1 pre-shared-key P74bmqL6rT40bl5
    tunnel-group DefaultRAGroup ppp-attributes
    authentication ms-chap-v2
    crypto ikev1 policy 5
    authentication pre-share
    encryption aes
    hash sha
    group 2
    lifetime 86400
    I still want to assign the IP addresses to VPN clients out of 192.168.3.0/24.
    The tricky part is understanding exactly what NAT rules to insert and to avoid that error message I'm getting relatred to the encapsulated packets.  I tried to introduce the commands you had, but it's missing stuff that I would need for L2TP/IPSec (e.g., "mode transport").  I also don't think I want "pfs group5".  The above config "works" in that I get connected -- all negotiation is done.  It's just that packets from the VPN client are not able to go out to the Internet and I'm seeing that encapsulation error messages when I try to send a packet.
    Paul

  • Column count doesn't match value count at row 1, unknown number of columns

    Hi,
    I am making a program to read data from excel files as the above and store them in tables. I have managed to read all the data from excel files as a string and store them in a table.
    ID Name Salary
    50 christine 2349000
    43 paulina 1245874
    54 laura 4587894
    23 efi 3456457
    43 jim 4512878
    But in my project I have several other files that have same cell that are blank as the above example
    ID Name Salary
    50 christine 2349000
    43 paulina
    laura 4587894
    23 3456457
    43 jim 4512878
    and when i ran the same program i get this exception :
    SQLException: Column count doesn't match value count at row 1
    SQLState: 21S01
    VendorError: 1136The code for creating the table and inserting the values is above:
    private static String getCreateTable(Connection con, String tablename,
                        LinkedHashMap<String, Integer> tableFields) {
                   Iterator iter = tableFields.keySet().iterator();
                   Iterator cells = tableFields.keySet().iterator();
                   String str = "";
                   String[] allFields = new String[tableFields.size()];
                   int i = 0;
                   while (iter.hasNext()) {
                        String fieldName = (String) iter.next();
                        Integer fieldType = (Integer) tableFields.get(fieldName);
                        switch (fieldType) {
                        case Cell.CELL_TYPE_NUMERIC:
                             str = fieldName + " INTEGER";
                             break;
                        case Cell.CELL_TYPE_STRING:
                             str = fieldName + " VARCHAR(255)";
                             break;
                        case Cell.CELL_TYPE_BOOLEAN:
                             str = fieldName + " INTEGER";
                             break;
                        default:
                             str = "";
                             break;
                        allFields[i++] = str;
                   try {
                        Statement stmt = con.createStatement();
                        try {
                             String all = org.apache.commons.lang3.StringUtils.join(
                                       allFields, ",");
                             String createTableStr = "CREATE TABLE IF NOT EXISTS "
                                       + tablename + " ( " + all + ")";
                             System.out.println("Create a new table in the database");
                             stmt.executeUpdate(createTableStr);
                        } catch (SQLException e) {
                             System.out.println("SQLException: " + e.getMessage());
                             System.out.println("SQLState:     " + e.getSQLState());
                             System.out.println("VendorError:  " + e.getErrorCode());
                   } catch (Exception e)
                        System.out.println( ((SQLException) e).getSQLState() );
                        System.out.println( e.getMessage() );
                        e.printStackTrace();
                   return str;
              private static void fillTable(Connection con, String fieldname,
                        LinkedHashMap[] tableData) {
                   for (int row = 0; row < tableData.length; row++) {
                        LinkedHashMap<String, Integer> rowData = tableData[row];
                        Iterator iter = rowData.entrySet().iterator();
                        String str;
                        String[] tousFields = new String[rowData.size()];
                        int i = 0;
                        while (iter.hasNext()) {
                             Map.Entry pairs = (Map.Entry) iter.next();
                             Integer fieldType = (Integer) pairs.getValue();
                             String fieldValue = (String) pairs.getKey();
                             switch (fieldType) {
                             case Cell.CELL_TYPE_NUMERIC:
                                  str = fieldValue;
                                  break;
                             case Cell.CELL_TYPE_STRING:
                                  str = "\'" + fieldValue + "\'";
                                  break;
                             case Cell.CELL_TYPE_BOOLEAN:
                                  str = fieldValue;
                                  break;
                             default:
                                  str = "";
                                  break;
                             tousFields[i++] = str;
                        try {
                             Statement stmt = con.createStatement();
                             String all = org.apache.commons.lang3.StringUtils.join(
                                       tousFields, ",");
                             String sql = "INSERT INTO " + fieldname + " VALUES (" + all
                                       + ")";
                             stmt.executeUpdate(sql);
                             System.out.println("Fill table...");
                        } catch (SQLException e) {
                             System.out.println("SQLException: " + e.getMessage());
                             System.out.println("SQLState: " + e.getSQLState());
                             System.out.println("VendorError: " + e.getErrorCode());
                   }To be more specific the error it in the second row where i have only ID and Name in my excel file and only these i want to store. The third row has only Name and Salary and no ID. How i would be able to store only the values that i have and leave blank in the second row the Salary and in the third row the ID? Is there a way for my program to skip the blanks as empty value?
    Edited by: 998913 on May 9, 2013 1:01 AM

    In an unrelated observation, it appears you are creating new database tables to hold each document. I don't think this is a good idea. Your database tables should be created using the database's utility program and not programmatically. The database schema should hardly ever change once the project is complete.
    As a design approach: One database table can hold your document names, versions, and date they were uploaded. Another table will hold the column names and data types. Another table can hold the data (type for all data = String). This way, you can join the three tables to retrieve a document. Your design will only consists of those three tables no matter how many unique documents you have. You probably should seek the advice of a DBA or experienced Java developer on exactly how structure those tables. My design is a rough layout.

  • Get playcount and ratings from ipod when pc library doesn't match ipod

    After updating iTunes, the library on my PC was erased.
    So I imported an exportfile 15 months old to the new library and added all songs in my "recently added" (of past 15 mths) on my iPod.
    So far so good.
    The problem is that this new library doesn't match the one on my iPod, though they are the same. The only difference: all ratings and stats that are on my iPod but aren't on my PC.
    Is there any way to get the "library identifier" on my PC and iPod to match again, so my stats and ratings are updated to my PC?
    Cheers,

    Which model of iPod do you have? I have a 160GB Classic (this forum) which _does not_ show Podcasts under the Music folder, and apparently does not have an option to do so. However, I also have a 5th generation 30GB video iPod, which does show Podcasts under the Music folder. Straight away, you'll notice that different modles behave differently, so we need to know.
    So, that's the first thing to sort out.
    Then, on your manual recordings, did you add all the relevant artist information to the file (i.e. the MP3 tags) when you created them? If not, that will be why they only show up in songs, (but there may be another cause too!). You can fill in any missing information by highlighting the song and clicking on *File/Get Info* and adding the info then.
    In the long term, the probably answer to your manual files is to give them their own genre and then search for them that way.

Maybe you are looking for

  • How to hyperlink a pdf or embed a pdf in DPS Folio?

    I want to have an option where i want to connect a pdf to a button in DPS folio. I cannot upload the pdf on the any server and link it. So is there a way to connect or embed a pdf in the dps folio?

  • Visual studio performance problem.

    Asalam o alekom : i use visual studio when i save changes in my  asp.net project it need to click CTRL+S three times to be saved and every time it take a little more time.

  • Offline Cache

    I have a requirement to render a screen on a thick-client that contains data from the server (that's the simple bit), however if the network connection to the server is unavailable the most recent image of the data should be used instead. I'm looking

  • Error in generating Profile for Child Role

    Hi Experts, My requirement is to chnage profile for child roles created. I'm using FM 'PRGN_AUTO_GENERATE_PROFILE_NEW' to generate the Profile for child role. However it gives an error saying "Open authorizations or org. levels in role & => no profil

  • Problem creating pfile on a shared drive directory.

    Gurus, I am trying to create a pfile from spfile on a shared drive and I am getting the below error. This is a 10g databases on windows 2003 server with the ASM. SQL> create pfile='\\dev_server\c$\temp\initstandby.ora' from spfile; create pfile='\\de