Headache,please help me !

I make a java program to visit a sqlserver 2000 database ,I download the SQL Server 2000 Driver for JDBC
,install,and set the classpath like "CLASSPATH=.;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar ".
when I register the driver to tells the JDBC driver manager which driver to load by using the below word
"Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");"
but fail!the program cannot find the driver!
why?
This is my program
JDBCDemo.java
import java.sql.*;
public class JDBCDemo
     public static void main(String[] args)
          Database db=new Database();
          db.connect();
          String sql="select * from book";
          String[] col={"bookID","bookName"};
          try
          db.execute(sql);
          while(db.rs.next())
               String temp=db.rs.getString(col[1]);
               System.out.println(temp+'\t');
          }catch(Exception e)
               System.out.println("resultset are error:"+e.getMessage());
          db.close();
class Database
          public Connection conn;
          public Statement stmt;
          public ResultSet rs=null;
          public Database()
          public boolean connect()
               try
                    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
               }catch(ClassNotFoundException e)
                    System.out.println("Can not find the driver:"+e.getMessage());
               try
                    String ul="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=bookshop";
                    String user="sa";
                    String password="";
                    conn=DriverManager.getConnection(ul,user,password);
                    stmt=conn.createStatement();
               }catch(Exception e)
                    System.out.println("connect db error:"+e.getMessage());
                    return false;
               return true;
          public boolean execute(String s) throws Exception
               try
               rs=stmt.executeQuery(s);
               }catch(Exception e)
                    System.out.println("execute db error:"+e.getMessage());
                    return false;
               return true;
          public void close()
               try{
               stmt.close();
               conn.close();
               }catch(SQLException se)
                    System.out.println("close db error:"+se.getMessage());
who can tell me the reason and help me solve the problem?

Thank you very much ,but when I change the classpath.the problem turn to
Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/jdbc/ba
se/BaseDriver
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at Database.connect(JDBCDemo.java:40)
at JDBCDemo.main(JDBCDemo.java:9)
why?

Similar Messages

  • Jsf headache, please help, thank you.

    Dear everyone,
    I have made this customized jsf component. In the following, I have shown the code of the UIComponentTag codes and in the bold part, I would like to set the component id to be dojoid, which is unique id. I would like to apply component.setId(dojoid) in setProperties method, but as a result, the error of duplicate id will be generated. It is trouble to set my own id (of couse it is unique), could anyone help me so that the id of the component could be changed? Thank you very much.
    package jsf.dojo.control;
    import javax.faces.application.Application;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import javax.faces.webapp.UIComponentTag;
    public class comboBoxTag extends UIComponentTag {
    private String size;
    private String value;
    private String id;
    private String dojoid;
    public String getComponentType() {
    System.out.println("call comboBoxTag->getComponentType");
    return "jsf.dojo.control.comboBox";
    public String getRendererType() {
    System.out.println("call comboBoxTag->getRenderType");
    return null;
    public void setProperties(UIComponent component) {      
    System.out.println("ComponentId->getId:"+component.getId());
    super.setProperties(component);
    setStringProperty(component, "size", size);
    setStringProperty(component, "dojoid", dojoid);
    setStringProperty(component, "value", value);
    private void setStringProperty(UIComponent component,
    String attrName, String attrValue) {
    System.out.println("call comboBoxTag->setStringProperty" + attrName + "=" + attrValue);
    if(attrValue == null)
    return;
    if(isValueReference(attrValue)) {
    System.out.println("call comboBoxTag->setStringProperty->isValueReference("+ attrName+ ":" + attrValue +")");
    FacesContext context =
    FacesContext.getCurrentInstance();
    Application application =
    context.getApplication();
    ValueBinding binding =
    application.createValueBinding(attrValue);
    component.setValueBinding(attrName, binding);
    else {
    System.out.println("call comboBoxTag->setStringProperty->isNotValueReference("+ attrName+ ":" + attrValue +")");
    component.getAttributes().
    put(attrName, attrValue);
    public void release() {
    super.release();
    size = null;
    value = null;
    public String getSize() {
    System.out.println("call comboBoxTag->getSize");
    return size;
    public void setSize(String size) {
    System.out.println("call comboBoxTag->setSize");
    this.size = size;
    public String getId() {
    System.out.println("call comboBoxTag->id");
    return id;
    public void setId(String id) {
    System.out.println("call comboBoxTag->setId");
    this.id = id;
    public String getValue() {
    System.out.println("call comboBoxTag->getValue");
    return value;
    public void setValue(String value) {
    System.out.println("call comboBoxTag->setValue");
    this.value = value;
    public String getDojoid() {
    System.out.println("call comboBoxTag->getSize");
    return size;
    public void setDojoid(String dojoid) {
    System.out.println("call comboBoxTag->setSize");
    this.dojoid = dojoid;
    }

    I reset, it did nothing. I also went tn mic settings to 'tokkle', turn off and on. In that list is no facetime btw. Please help. Apple support wont call me because i live abroad.
    iPad 2 Wi-Fi + 3G, iOS 7.0.3 

  • Major Muse account headaches, please help

    I am losing my hair trying to get some help from Adobe to manage a few muse subscriptions.
    I've tried calling, chatting...it's so painful at this point.
    my company purchased 10 Adobe Muse CC licenses some time ago, over 2 years ago. We had no other way of getting a team the product to try it out. Many of the people with me at that time have moved on or no longer use muse and can't remember their passwords or logins.
    I can't let new people use this becuase we can't deactivate.
    I can create generic emails and passowords or do a team account?
    HELP!!!!!!
    A devoted muse fan!
    Matt

    I deleted the previous post since I don't really think you want a list of e-mails and a proposed password posted on a public forum.
    p_nath, if you don't have a copy of the post, let me know and I'll foward it. Given this was temporarily publicly posted, I strongly recommend different dummy e-mail accounts be created and most certainly a different temp password be used for the requested AdobeID accounts. Please contact matt directly via private e-mail to resolve this. Thanks.

  • IWeb, E Mail Headaches, PLEASE HELP!

    I am going nuts!
    I published three sites with iweb-all look great, BUT:
    I can not for the life of me get the email-me buttons to work!
    I have tried hyper linking them, doing text & linking that, I even used Wills button idea. Nothing works!
    Correct me if I am wrong, but when you click on one of these "images" you should get a "pre-addressed email form" which you then fill in & send. Well, when I (or anyone else, mac or PC) clicks my button they get nothing, I don't even get anything if I try it before (or after) I have published it. Even Will's site wont give me an email when I click on his button, all I can "see" is in the yellow stripe is: [email protected]?subject=fromFAQs.
    I am on a G3 running OSX 10.4.9, I have Firefox, Safari and Netscape for browsers. My sites are:
    waynescountryroads.com
    web.mac.com/wwpltd/iweb/psltd
    web.mac.com/wwpltd/iweb/ags
    The ags one has Will's button on it, most of my email buttons are on the second (or welcome) page of each site, none work.
    Please look these over and let me know how to fix this, its been days that I have been working on this problem.
    Thank you!
    imac g3   Mac OS X (10.4.9)  

    That's great, but I still don't understand why I can't "work them" from here.
    A long shot but, are you on OSX 10.4.9, also what are you using for your browser & mail applications?
    As you can see I am grasping at straws here but as we all know mac's can be a bit "testy."
    imac g3 Mac OS X (10.4.8)

  • Simple image rollover pop up giving me a searing headache. please help

    Hi,
    I'm trying to get a mouse roller to work that opens a floating image. Below is the code as well as a link to the page I'm working on. The tutorial files I downloaded work fine but when I place the code on my page you have to click and it just opens the image in the parent window.
    Both js files are in the root. no subfolder.
    Any help would be much appreciated!! I'm at ends with this!!
    My page.
    http://www.nascarracingexperience.com/bookeo/thenascarracecar.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Image Preview with jQuery</title>
    <meta name="description" content="Easiest jQuery Tooltip Ever">
    <script src="jquery.js" type="text/javascript"></script>
    <script src="main.js" type="text/javascript"></script>
    </meta>
    <style>
    body {
              margin:0;
              padding:40px;
              background:#fff;
              font:80% Arial, Helvetica, sans-serif;
              color:#555;
              line-height:180%;
    h1{
              font-size:180%;
              font-weight:normal;
              color:#555;
    h2{
              clear:both;
              font-size:160%;
              font-weight:normal;
              color:#555;
              margin:0;
              padding:.5em 0;
    a{
              text-decoration:none;
              color:#f30;
    p{
              clear:both;
              margin:0;
              padding:.5em 0;
    pre{
              display:block;
              font:100% "Courier New", Courier, monospace;
              padding:10px;
              border:1px solid #bae2f0;
              background:#e3f4f9;
              margin:.5em 0;
              overflow:auto;
              width:800px;
    img{border:none;}
    ul,li{
              margin:0;
              padding:0;
    li{
              list-style:none;
              float:left;
              display:inline;
              margin-right:10px;
    #preview{
              position:absolute;
              border:1px solid #ccc;
              background:#333;
              padding:5px;
              display:none;
              color:#fff;
    </style>
    </head>
    <body>
              <h1> </h1>
              <ul>
        <li><a href="images/1.jpg" class="preview"><img src="images/1s.jpg" alt="gallery thumbnail" /></a></li>
                        <li></li>
              </ul>
    </body>
    </html>

    You have documents within documents within documents.  Probably the result of  copying & pasting too much code from other pages.
    Each document should contain only one set of major tags:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Page Title</title>
    <script>links to scripts go here... </script>
    <script>links to scripts go here...<script>
    <style>your CSS styles go here.... </style>
    </head>
    <body>
         page content goes here...
    <script>
    <!--invoke script functions here-->
    </script>
    </body>
    </html>
    If you follow this basic HTML structure, you'll have way fewer problems.
    Nancy O.

  • Headache, please help

    My phone lately started losing service, and asked for me to reconnect it with ITunes.. I did downloaded all the uptodate software.. But when i try to snyc my phone with itunes.. itunes says i need to unlock my phone with its password.. My iphone is not asking for the password.. but just goes to emergency mode.. ?

    Thank you very much ,but when I change the classpath.the problem turn to
    Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/jdbc/ba
    se/BaseDriver
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at Database.connect(JDBCDemo.java:40)
    at JDBCDemo.main(JDBCDemo.java:9)
    why?

  • I am owning an Iphone 5 for a year now. Its battery problem is giving a lot of headache to me daily ! If I use internet for over 10 minutes continuously or play any game for 10 minutes, the battery is dropping by 15-30%.Please help me !

    Whenever I am browsing the internet or playing a game, the battery is dropping by 15-30 % daily. I am able to use only 70 percent of the fully charged Iphone battery in this way. ! It is very frustrating with this kind of thing from Apple. Can any body please help me out ! I love iPhone but this prolonged problem is giving me a lot of headache ! Any hellp will be appreciated. 

    How long are you using internet for? Are you using WiFi or mobile data? Are you watching video on websites? There are many variables that could explain a perfectly natural battery drain. As I said previously you should try recalibrating the battery. My phone used to drain by mid-afternoon with little to no use until I found out about recalibrating. Since then its been fine and its something I do at least once a month.

  • HT3775 BDMV" can't be opened because it is from an unidentified developer.  How do I solve this?? Am I losing all the video files I have in my camcorder??? Please help me!!! Thanks

    I am downloading the memory card from my camcorder into my MacBook Pro with Retina display. It usually popped to the file called AVCHD then CLIP to show all the videos. But not this time, it automatically changed to BDMV. I do not have idea how this happened while I left my notebook on and I was away for a couple of hours then back to the living room to work on each video as to type name of file etc.
    Now, I cannot even open them into CLIP because I am still getting BDMV with a popped sign that said BDMV can't be opened because it is from an unidentified developer. (I do not even understand what this is supposed to mean??) also with the bottom message that stated "Quicktime Player created this file yesterday at 1:52pm"  I am like uhhh how can QT player do this without my authorization??
    Please help me how to solve these and get all of my videos back that I saved in my camcorder.  Let you know that I tried to insert the memory card back into my camcorder and all these videos are gone.   Now I am having a HUGE headache because of this!!
    What should I do now???

    HI,
    Did you ever figure out how to get them back? The same thing happened to me yesterday. I was able to open the file in VLC media player (you can download this app), but the file had been corrupted. It was only the last clip I had recorded, all the others were lost. Even the clip that will play is messed up

  • I just upgraded my iphone 4 to ios 6 using Itunes. After 1.5 hours all I have is an itunes graphic on my phone. It does nothing else and nothing seems to be happening anymore in itunes. Please help. I think I bricked my own phone and should have known bet

    Please help. I think I just bricked my own phone. Despite worries after reading all of the rpoblems people have had upgrading their iphone to Ios 6, I used iteunes to do this to my iPhone 4. (I upgraded to the latest itunes.) Now after 1.5 hours of everything seeming to work OK, all I have is an Itunes graphic on my phone and nothing going on any more in Itunes. The phone doesn't shut down normally or anything. Suggestions? Should I just do a restore operation? I did back up my apps and pics.

    Thank you. I ended up performing the Restore after I did an Update, and performing the restore solved the problem----I now have a functioning iPhone with all of my data, pics, and apps on it. Fortunately I made sure that I backed up my iPhone before I tried to update to iOS6. Man, what a headache though, and it sounds like I had it easy compared to some other horror stories I've read. I won't update my iOS on my iPhone again; i've learned my lesson. It remains to be seen whether iOS6 will be worth it :-)

  • AirPort Disk works on Vista but is ULTRA SLOW on MacBook Pro...please help.

    This is nuts, huh? Please help.
    I can copy files using Window's Vista at about 7MBps so it takes around 2min 40secs to copy a previously bought 1.3GB iTunes TV show from the AirPort Disk (connected via USB 2.0)to my Vista machine. I understand this is a reasonable speed, if you think it should go faster let me know. When I try to play it with iTunes directly from the Airport Disk(by control clicking it and telling it to play with iTunes, not sure this is the best way, advice appreciated) it plays okay but I get a fair amount of stutters where it will skip a 1-4 seconds. Any way to fix this? Or should I just download it to my computer and play it from there. I was trying to save space and confusion on my computers and just play via the Airport Extreme Disk.
    NOW THE WEIRD STUFF! It takes 4 hours to download the same TV file mentioned above from the Airport Disk to my MacBook Pro! And to stream the movie from the Airport Disk is impossible. Can anyone offer suggestions? I searched online and could not find any help.
    Additional Info that might be helpful:
    -AirPort Extreme 340ll/a, Version 7.5(I assume that's the firmware version).
    -I erased with 0s and formatted an external 7200RPM 8MB Western Digital drive to "Mac OS Extended Journaled" via my MacBook Pro's USB port, using Disk Utility.
    -My wi-fi connections seems fine: for web surfing it is fast with my Macbook and Windows computers, so that's not a problem. FYI, I did some internet download speed tests and got like 15,000-20,000kbps, which is pretty good, right?
    -I hooked the drive up directly to my MacBook Pro's USB 2.0 port and copied the same HD TV show file to the computer, and Apple's "Activity Monitor" utility showed it is reading and writing at 30MBps which I understand is quite good. So it does not appear to be a hard drive problem either.
    Any help would be appreciated. Thanks!

    Cause of problem:
    I found out that the problem was that in the "Airport Utility" under "Internet Connection" tab, the "Connection Sharing" had been set to "Off(Bridge Mode)". This stopped my MacBook Pro from accessing the AirPort Disk(an external hard drive connected to the AirPort Extreme Base Station). I still find it weird that My HP computer could access the AirPort Disk just fine and my MacBook Pro was so ultra slow(i.e. 4 hours to copy a 1.3GB file!) accessing files on the hard drive.
    So, how did the default setting get changed to cause the problem to being with? I got some error pop-up box that said there were 2 NAT tables causing a conflict of some sort, so I followed it's instructions which put it in bridge mode which caused the problems. The reset of the wireless router put the "Connection Sharing" back into "Share a Public IP address" mode which is the default.
    So anyway, this appears to be the end of this story, and I hope this post saves some people out there from some headaches and lost time!
    Peace!

  • I made a mess of my admin accounts need to consolodate please help :)

    Hello so i've been having this issue with my main admin account... for about a year now there have been items stuck in my trash folder and safari crashes after a bit. i've taken my computer to apple store and they cannot fix they told me to reinstall OS with disk but when i try to do that it times out... out of frustration i created a new admin account and what do you know i do not have the same issues with the trash... so i copied all the mail folders, preferences and address books over but the passwords didnt follow... so i was only able to get mail on the accounts i could remember the passwords to... so i was using the other account and kind of going back and forth to the old account but now i'm having even more issues with the second account... my macbook pro is all kinds of screwy ...
    i need to consolidate the mail i have on both admin accounts... because i have to go back to using the main admin account and i want to transfer all the mail i've been receiving on the other account for the past 2 months to the old account.
    can someone please help?

    Ok so i figured out what to do (through lots of research and headaches) just thought i'd share my solution... i needed to consolidate two admin applemail accounts with the same email accounts and i forgot all of my passwords...
    # To back up Mail preferences (i only did this on my main admin account seeing as though the secondary had the same exact preferences). (i'd suggest also backing up addressbook info as well...)
    1. Create a uniquely-named folder on your desktop (or other favorite location- like an external drive). For example, you might call it "Mail Prefs Backups May152005" (adding a date is a good idea).
    2. Quit Mail if it's running.
    3. In the Finder choose Home from the Go menu.
    4. Open the Library folder.
    5. Open the Preferences folder.
    6. Copy the "com.apple.mail.plist" file to the folder you made in step 1 by Option-dragging the file. Don't remove the original file from its current location (this file contains your Mail accounts information).
    7. Close the Preferences folder.
    8. Open the Mail folder.
    9. Copy the "MessageRules.plist" file to the folder you made in step 1 by Option-dragging the file (this file contains your Mail rules).
    10. Copy the "SmartMailboxes.plist" file to the folder you made in step 1 by Option-dragging the file (you guessed it, this file contains Smart Mailboxes information).
    11. Finally, copy the Signatures folder to the folder you made in step 1 by Option-dragging the folder. (Your custom signatures, if you use them, are stored here.)
    #manually back up Mail messages (i first did a backup of the MAIN admin account on my external drive so that i made sure i didnt accidentally remove any files... then i manually went into each "inbox"/"outbox"/"drafts" of each account and added each email- emails here are only identified with a unique set of numbers and date/times in the info field- that was not in the MAIN admin account to the copy mail account located on my external drive -yes this was VERY tedious- also i had folders that i had to consolidate so i made sure i didnt miss those)
    1. Quit Mail if it's open.
    2. From the Finder's Go menu, choose Home.
    3. Open the Library folder.
    4. Copy the folder "Mail" to your backup location, such as a different volume or burnable disc. Important: Do not remove the Mail folder from ~/Library. If you're backing up to the same volume, hold the Option key as you drag the folder to make a copy instead of moving it (a "+" cursor appears).
    once i got all this i took all the files i copied/consolidated on my external drive and replaced all the original files in the new Admin account i created (I have to create a new MAIN admin account because the original main admin account is corrupt the second one also has some of the same issues because i was rushing through copying all of the plist/library files over without inspecting each...)
    NEXT
    * i forgot all the passwords to my email accounts...
    Keychains
    Keychains are located in your ~/Library/Keychains/ folder. To get to this file in the Finder, choose Home from the Go menu. Open the Library folder, then open the Keychains folder.
    i copied that file and backed it up on my external... also i opened it up and found all the passwords i forgot
    so this problem for me is solved...
    PS the KeyChain is AWESOME! i use firefox and none of those passwords are saved to the keychain but there is an addon password extractor u can export usernames and passwords from firefox with this addon and ad them to your keychain...

  • Mess in Users folder - please help!!

    Hey
    My name is Fabrice, and the name of the man who previously owned the computer (PB G4, os X version 10.11 was called Pankaj. I tried to rename the admin (the one with a little house icon, I guess it's called the root?) in the "users" folder from Pankaj to Fabrice because it was annoying me (especially when I connect to other networks and people look for Fabrice but only find Pankaj). To do so I clicked on the name near the little house icon in Mac/users/ and renamed it, but there was already a blue folder in /users/ with Fabrice, so to avoid conflict I renamed the house folder with "Fabrice Familyname". When I restarted the computer, all my preferences were gone, the dock prefs and the wallpaper alike, there was nothing on the desktop, etc. Nothing had been deleted but when I went to mac/users/ there was now three "users": the house icon was still called "Pankaj" (22gb), and there were two blue folders :the "Fabrice" folder (3gb) and the "Fabrice Familyname" (blue) folder (330mb). I found some of my preferences that were missing, for example all the firefox preferences that I really need back, in the "Fabrice Familyname" folder. In the Users section of System Preferences, though, there is just "Fabrice" - no other choice.
    So, okay, I did something I shouldnt have. Now I can't even connect to my own house's wireless internet connection because god knows where I have the codes written down, and they're among the misplaced prefs.
    1)-Why are some of my personal files in the "Fabrice Familyname" folder?
    2)-How can I go back to my previous settings, and just know where they are? It just seems strange that some personal files are in the 300 mb folder while the other one is 3 gb.
    I really need to have my Firefox preferences back, of all things, but it seemed when I replaced the Firefox folder in the Application Support folder that had firefox default settings with the one with my personal settings, that after restarting the folder was a default one again.
    And how about my wireless internet codes?
    I feel like it's going to be a real headache solving this, so if anyone could help it would be wonderful! Maybe I just need to backup the "Fabrice" folder that's 3gb and then delete it?
    Waiting for a reply I think I'll go back everything up on CDs, the whole 30 gigs... lots of fun ahead, but I'm just too afraid if I moved the users folder with default settings to the trash it would do something bad.
    Please help me if you know what I did stupid and how to undo!

    Hi Fabrice!
    See if the info in one, or more, of the Articles linked to below, helps.
    Return to Default Desktop, Apparent "Loss" of Home Directory
    My home folder and desktop are different than before
    Recover from renaming your Home folder, authored by Dr Smoke
    ali b

  • Please help with Macbook Pro

    Please read my story because I really need some help...
    I've had my Macbook Pro for only a little over a year now but it has already given me tons of problems and headaches. I was very happy when I first got it but over the next few months I noticed strange things with it. For instance, the lid is slightly bent but not so much that it still looks ordinary when closed. I was annoyed with it but I tolerated it since it is not that disruptive. Then dust appeared underneath a small part of the screen, forming a rather conspiscuous, slightly discolored spot. Again I was annoyed but I just went with it. And then after only 5 months after purchase, something related to the hard drive broke. I think the ribbon cable that was connecting it to the motherboard died or something. It was still under warranty so it was easily fixed. A few months passed without incidents. Then a month after its warranty expired, it started to have kernel panics every single day. Most of the time the screen would just become a mass of messed up colors and nothing would respond. Sometimes the screen just went black and then the computer shuts itself down. Other times the computer just freezes with nothing responding and I have to force shut it down. I sent it to an Apple service center and had it diagnosed. The genius said that the hard drive is damaged and needs replacing but other components are still fine. So I bought a new hard drive and had it replaced. For a few weeks, the problem seem to have gone but soon, the kernel panics started again and occurred more frequently. After days of research I finally found out the problem is RAM related. I tested each stick and each slot and concluded that the bottom ram slot was busted. The Apple Service Center offered no help but to replace the motherboard (or logic board). I cannot go with this because I already spent a ton of money in purchasing the computer. I also could not get Apple Care because it is very expensive and I had no ability to spend more. So I resorted to just buying a single 4gb ram stick and tried to live with only one ram slot. I thought that I could finally relax and try to enjoy the computer even with all of its annoyances. But only a few days ago the Wifi just turned itself off and won't turn on. Only after a restart will it start working again. I tried to tolerate it but it keeps turning itself off just minutes after I turn the computer on. I suspect that it might be a hardware problem (again) because the same thing is also happening with my Bootcamp partition; wifi disconnects and will not reconnect. Bluetooth also is not working anymore. I know that this is a vague question but I'm desperate. Is there anything at all that I can do in order to fix all of the problems and prevent all sorts of headaches? I feel that I have tolrated enough and I just can't take it anymore. I want to have it replaced but I do not know how I am going to do that without Applecare (which again is very expensive for someone like me). Please help me. I do not want to go back to normal, less expensive PC's. If this keeps up then I will be forced to do so because it is very expensive to buy another macbook.

    Sorry to hear about your unfortunate experience but I do not think you can get AppleCare at this point in time.
    Can I purchase the AppleCare Protection Plan anytime?
    You can purchase the AppleCare Protection Plan anytime within the one-year limited warranty period. Your eligibility for coverage under the AppleCare Protection Plan starts from your hardware purchase date. Apple strongly recommends that you purchase the AppleCare Protection Plan when you purchase your Apple product to maximize the additional benefits provided under the plan.
    You will most likely need to try to sell the mac for a parts machine and consider a PC. You may wish to explore Apple refurbished Macs that have a warranty of a1 year.
    There are also many sellers of used Macs but since there aren't any extended warranties it is some what risky.

  • Absolutely lost, please help!

    Alright, so when I initially attempted to back up my TC for the first time, it failed over and over again... After reading some discussions I did what many others have, looked in the console for a corrupted file, and trashed it.
    Problem solved... or so I thought.
    I finally completed a backup, and didn't go to bed last night until I saw it say "Finishing backup"... hooray!
    I wake up this morning and check on it, and see an error message telling me that my TC is almost full. I have a 120GB MacBook Pro, and a 500GB TC... HOW IS THIS POSSIBLE I click on the Time Machine button at the top right of the screen and it says that the latest backup has failed. Why would the latest backup fail if the original went through just fine, and I haven't put anything new on the machine?
    Furthermore, I open finder and click on my TC which shows up under the "Shared" tab. It connects, then shows a Time Capsule folder. I then click on that folder because I want to see what made it onto my TC, and make sure there aren't duplicates and such (because why would it be full?)
    Anyhow, when I click on the Time Capsule folder, I get the following error message: "The operation cannot be completed because the original item for "Time Capsule" cannot be found."
    I just double clicked on it again, and the Time Capsule folder goes away and then an error message pops up saying that it can't connect to the server... which is crap, because I know it is. After all, it did connect to do the original backup, and I can get on the internet just fine.
    I really don't know what to do, or where to begin... in the meantime I have turned Time Machine off. This is incredibly frustrating. I spent a lot of money on this, and I need to backup my laptop asap because I have almost no freespace (about a gig or two) and need to delete some stuff so that I can even do software updates!
    This is a huge headache to have during the first week of the school year. I really don't know what else to do, other than to try and erase the TC and start over, but that is a ridiculously time consuming endeavor
    What I'm really stumped on, is why would it say the TC is almost full, when I was only backing up about 110GB? ...Isn't time machine just supposed to backup anything new during the hourly backups, as opposed to making additional freak'n copies of the whole thing?
    PLEASE HELP ME
    Much thanks!

    Ok, so I reset my TC and now when I do the initial setup it says "Disk needs repair - There is a problem with the disk connected to your Apple wireless device. Connect the disk to your computer to repair the disk."
    It doesn't say how to connect it to the computer... I don't have a USB cable with two of the same shaped ends, and for some stupid reason there's no firewire port on the TC. I plugged an ethernet cable into my computer & the TC but it doesn't show that it is connected to it, and when I hit continue it doesn't do anything except ask if I want to skip this step.
    What the ****? This is beyond infuriating! My disk shouldn't need any repair since I've never really used it... Anyway... can someone help figure out what the **** to do?

  • Trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    There is a version of Firefox 4 available for PPC Macs:
    TenFourFox 4.0.1 Firefox 4 For PowerPC Browser Released
    Version 4.0.1 of TenFour Fox, FloodGap's port of Firefox 4 for Power PC
    Macs that supports both Mac oS X 10.4 and 10.5. has been released.
    Mozilla.org dropped support for OS 10.5 after Firefox 3.6 and for Power
    PC with the fourth beta of Firefox 4.
    TenFourFox uses almost all the same code as Firefox 4 and has nearly all
    the same features, including faster JavaScript, WebM video, and HTML 5
    and CSS 3 support, as well as new and emerging Web features, but with
    the code needed to keep your Power Mac functional and fast. Out of beta
    and it's ready for action, versiob 4.0.1 is a performance, security and
    stability update incorporating Mozilla's Firefox 4.0.1 plus AltiVec acceler
    -ation for WebM and browser graphics, and G5 JavaScript acceleration.
    For more information, visit:
    http://www.floodgap.com/software/tenfourfox/
    Source: from http://www.applelinks.com - posted April 25, 2011)
    Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    With SilverLight, Microsoft attempted to create their own version of what a replacement for Flash could be - but not to universal acclaim. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards) if you are using a PPC Mac, but even this will not work with Safari 4. Version 2 only works with Intel Macs and does work with Safari 4/5. The solution is to download and install the latest version of Flip4Mac, which now includes a Silverlight component:
    http://dynamic.telestream.net/downloads/download-flip4macwmv.htm
    But the latest news is that Microsoft will probably abandon Silverlight in favour of HTML5:
    http://www.appleinsider.com/articles/10/10/29/apples_ios_pushes_microsoft_to_dia l_down_silverlight_for_html5.html  and
    http://www.bbc.co.uk/news/technology-11673384

Maybe you are looking for

  • Cannot download latest version of Itunes

    Itunes website does not show the option to download Itunes . Tries 3 machines today. Any suggestions would help.

  • Checkbox with java script

    Hello all, I am trying to have several page elements be conditional on whether a checkbox in a dynamic checkbox group is checked or not. Can some one tell me how to reference a spefic checkbox in a group based on a dynamic lov and how to reload the p

  • Photo stream 2 ipads

    I have an iPad 1 and an iPad 4, both registered to same Apple ID. The iPad 1 has 608 photos showing up in photo stream but they don't show up at all on iPad 4. Both have photo stream enabled, both are registered to me. What am I missing? I went onto

  • Fed up with "updates": to whom belong MY phone?

    Short story. After one or two months without doing it (was I lasy?), I had the stupid idea of checking software updates for my N8. Was not at first easy, since the Ovi suite (after upgrading to last version) kept cheking for hours for "software updat

  • How to download things to Adobe Download Assistant?

    I read in an adobe community article (link:http://forums.adobe.com/thread/1266865) that to download adobe download assistant you need to click on the trial on the download page of the thing you want to download and then it will open up in the assista