Jquery $.ajax with auth expired: gets the login screen in popup

Im using MVC framwork and [Authorize] attribute for every control to check the security. The problem is that if the auth cookie has expired and the user clicks on a link that should open a popup using $.ajax than
i get the login screen in the popup (same masterpage in another masterpage)
instead of redirecting the whole page to the login screen
anybody knows how to fix this ?

Hello,
This should have been asked in the
ASP.Net MVC forum on forums.asp.net.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • I cannot get the login screen on Creative Cloud.

    When I open Creative Cloud, the screen is just blank, i.e. no where can I input my Email and password.  What can i do?  I have tried uninstalling Creative Cloud and then reinstalling it.  That did not work.

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • When I restart my computer instead of the gray screen that is supposed to appear before the login screen it shows a screen with a lot of letter

    I upgrade my ssd for my macbook pro retina from the 256 to 480 GB but when I tunr it on or restarted the computer the gray screen that is suppost to apper dosent show insted a screen with lettler show before the login screen besides that the computer works fine. 

    I cannot decipher what is written on the images you have posted but they are reminiscent of what I have seen when a MBP is dealing with some totally incompatible software or perhaps in your case hardware.
    How and or who installed the larger SSD and what manufacture is it.  I suspect that is the problem.
    Ciao.

  • For some reason my iMac now goes straight to the login screen. I tried to change this in Preferences but Automatic Login isn't highlighted, so I'm unable change it from Off to On. Help please.

      As you can see Off at the top of the pic is faint and I cannot find a way of getting to it to change it to On. If can change it to 'On' I presume I won't get the login screen/page after turning on the Mac??

    So this was set to Automatic login and then it changed, correct?
    What other changes did you make to the system, filevault, workgroup manager, something else?
    If the lock is unlocked as you say then something else must have have changed to prevent this setting from being changed. Any information you can supply might lead to a solution.
    regards

  • Calling a method(application) after the login screen

    Sorry for reposting this, but if you've read my other posts, I've managed to solve the stack overflow error. Now here's the problem, I get a successful login but the second application will not appear, I just get the login screen reappearing again. Here's the code:
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class EmailForms extends JFrame implements ActionListener {
         private JTextField jtfUserName;
         private JPasswordField jpfPassword;
         private JButton jbtLogin;
         private JButton jbtCancel;
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout, jmiCapacity;
         private HashMap users;
         public static void main (String[] args) {               
              EmailForms LoginFrame = new EmailForms();
              LoginFrame.setSize(200, 100);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = LoginFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              LoginFrame.setLocation(x, y);
              LoginFrame.pack();
              LoginFrame.setVisible(true);     
         public EmailForms () {     
              users = new HashMap();
              try {     
                   String UP1Line;
                   FileInputStream fis = new FileInputStream("UP1.txt");
                  BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                  while ((UP1Line = br.readLine()) != null) {
                       String [] items = UP1Line.split(" ", 4);
                       users.put(items[0], new String[] { items[1], items[2] });
                    br.close();
                    fis.close();
              catch (IOException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              setTitle("E-Forms: Login");
              JPanel jpLoginLabels = new JPanel();
              jpLoginLabels.setLayout(new GridLayout(2, 1));
              jpLoginLabels.add(new JLabel("Username:"));
              jpLoginLabels.add(new JLabel("Password:"));
              JPanel jpLoginText = new JPanel();
              jpLoginText.setLayout(new GridLayout(2, 1));
              jpLoginText.add(jtfUserName = new JTextField(10));
              jpLoginText.add(jpfPassword = new JPasswordField(10));
              JPanel p1 = new JPanel();
              p1.setLayout(new BorderLayout());     
              p1.add(jpLoginLabels, BorderLayout.WEST);
              p1.add(jpLoginText, BorderLayout.CENTER);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.CENTER));     
              p2.add(jbtLogin = new JButton("Login"));
              p2.add(jbtCancel = new JButton("Cancel"));     
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(p1, BorderLayout.CENTER);
              getContentPane().add(p2, BorderLayout.SOUTH);
              jbtLogin.addActionListener(this);
              jbtCancel.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              try {
                   UserEForms myUser = new UserEForms();
                   AdminEForms myAdmin = new AdminEForms();
                   String arg = e.getActionCommand();
                   if (arg.equals("Cancel")) {
                        System.exit(0);
                        arg = "";
                   if (arg.equals("Login")) {
                        int index = find(jtfUserName.getText().trim(), new String(jpfPassword.getPassword()));
                        if (index == -1) {
                             JOptionPane.showMessageDialog(this, "Username/Password Not Found", "Email Forms: Login Error",
                             JOptionPane.INFORMATION_MESSAGE);
                        else {
                             if (index == 1 ){
                                  myAdmin.AdminSide();
                             else {
                                  myUser.UserSide();          
                   arg = "";
              catch (StackOverflowError ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
         public int find(String UName, String PWord) {
              String[] creds = (String[])users.get((Object)UName);
              if (creds != null && creds[0].matches(PWord)) {
                   if (creds[1].matches("[Yy]"))
                        return 1;
                   else
                        return 0;
              return -1;
    } import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AdminEForms extends EmailForms {
         public AdminEForms() {     
         public void AdminSide() {
              System.out.println("1");
              AdminEForms AdminFrame = new AdminEForms();
              AdminFrame.setSize(500, 600);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = AdminFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              AdminFrame.setLocation(x, y);
              AdminFrame.pack();
              AdminFrame.setVisible(true);     
              setTitle("Admin Email Forms");
              JMenuBar jmb = new JMenuBar();
               setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmAdmin = new JMenu("Administration");
              jmb.add(jmAdmin);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmAdmin.add(jmiCapacity = new JMenuItem("Capacity Issues"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiCapacity.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
    } import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UserEForms extends EmailForms {
         public UserEForms() {     
         public void UserSide() {
              System.out.println("2");
              UserEForms UserFrame = new UserEForms();
              UserFrame.setSize(500, 600);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = UserFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              UserFrame.setLocation(x, y);
              UserFrame.pack();
              UserFrame.setVisible(true);     
              setTitle("User Email Forms");
              JMenuBar jmb = new JMenuBar();
              setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
    } I've put System.out.println("1"); and System.out.println("2"); in the code and I can see that it is actually going into the Adminside and Userside methods, but there not appearing. My text file looks like this:
    9876543 9876543 Y
    0612207 0612207 N
    0123456 0123456 N
    1234567 1234567 Y
    Please can someone help me???
    Colin

    Ok, I've got the stackoverflow thing figured out. My program runs, but when it goes into either the admin or the user methods the buttons from the login methods are still visible. I've done some reading in the forums about dispose() and setVisible(false) and I've tried using them without success. Here's the code:
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class EmailForms extends JFrame implements ActionListener {
         private JTextField jtfUserName;
         private JPasswordField jpfPassword;
         private JButton jbtLogin;
         private JButton jbtCancel;
         private HashMap users;
         public static void main (String[] args) {               
              EmailForms LoginFrame = new EmailForms();
              LoginFrame.setSize(200, 100);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = LoginFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              LoginFrame.setLocation(x, y);
              LoginFrame.pack();
              LoginFrame.setVisible(true);     
         public EmailForms () {     
              users = new HashMap();
              try {     
                   String UP1Line;
                   FileInputStream fis = new FileInputStream("UP1.txt");
                  BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                  while ((UP1Line = br.readLine()) != null) {
                       String [] items = UP1Line.split(" ", 4);
                       users.put(items[0], new String[] { items[1], items[2] });
                    br.close();
                    fis.close();
              catch (IOException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              setTitle("E-Forms: Login");
              JPanel jpLoginLabels = new JPanel();
              jpLoginLabels.setLayout(new GridLayout(2, 1));
              jpLoginLabels.add(new JLabel("Username:"));
              jpLoginLabels.add(new JLabel("Password:"));
              JPanel jpLoginText = new JPanel();
              jpLoginText.setLayout(new GridLayout(2, 1));
              jpLoginText.add(jtfUserName = new JTextField(10));
              jpLoginText.add(jpfPassword = new JPasswordField(10));
              JPanel p1 = new JPanel();
              p1.setLayout(new BorderLayout());     
              p1.add(jpLoginLabels, BorderLayout.WEST);
              p1.add(jpLoginText, BorderLayout.CENTER);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.CENTER));     
              p2.add(jbtLogin = new JButton("Login"));
              p2.add(jbtCancel = new JButton("Cancel"));     
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(p1, BorderLayout.CENTER);
              getContentPane().add(p2, BorderLayout.SOUTH);
              jbtLogin.addActionListener(this);
              jbtCancel.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              try {
                   UserEForms myUser = new UserEForms();
                   AdminEForms myAdmin = new AdminEForms();
                   String arg = e.getActionCommand();
                   if (arg.equals("Cancel")) {
                        System.exit(0);
                        arg = "";
                   if (arg.equals("Login")) {
                        int index = find(jtfUserName.getText().trim(), new String(jpfPassword.getPassword()));
                        if (index == -1) {
                             JOptionPane.showMessageDialog(this, "Username/Password Not Found", "Email Forms: Login Error",
                             JOptionPane.INFORMATION_MESSAGE);
                        else {
                             if (index == 1 ){
                                  myAdmin.AdminSide();
                             else {
                                  myUser.UserSide();          
                   arg = "";
              catch (StackOverflowError ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
         public int find(String UName, String PWord) {
              String[] creds = (String[])users.get((Object)UName);
              if (creds != null && creds[0].matches(PWord)) {
                   if (creds[1].matches("[Yy]"))
                        return 1;
                   else
                        return 0;
              return -1;
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AdminEForms extends EmailForms implements ActionListener {
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout, jmiCapacity;
         public AdminEForms() {          
              setTitle("Admin Email Forms");
              JMenuBar jmb = new JMenuBar();
               setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmAdmin = new JMenu("Administration");
              jmb.add(jmAdmin);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmAdmin.add(jmiCapacity = new JMenuItem("Capacity Issues"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiCapacity.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);     
         public void AdminSide() {
              AdminEForms AdminFrame = new AdminEForms();
              AdminFrame.setSize(1000, 800);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = AdminFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              AdminFrame.setLocation(x, y);
              AdminFrame.setVisible(true);     
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UserEForms extends EmailForms implements ActionListener {
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout;
         public UserEForms() {     
              setTitle("User Email Forms");
              JMenuBar jmb = new JMenuBar();
              setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
         public void UserSide() {
              UserEForms UserFrame = new UserEForms();
              UserFrame.setSize(1000, 800);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = UserFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              UserFrame.setLocation(x, y);
              UserFrame.setVisible(true);     
    }I'm thinking on using setVisible(false), but then again seeing that the login method isn't being used once you have a successful login, the dispose() method would be better. If you copy and paste my program, you'll clearly see my problem. Thanks.
    Text file:
    9876543 9876543 Y
    0612207 0612207 N
    0123456 0123456 N
    1234567 1234567 Y
    Colin

  • I downloaded OS X Lion on my iMac and I'm having problems with my computer waking up after hibernating.  I can get to the login screen but my mouse will be frozen.  The only fix's is a hard reboot.  Any help would be great!

    I downloaded OS X Lion on my iMac and I'm having problems with my computer waking up after hibernating.  I can get to the login screen but my mouse will be frozen.  The only fix's is a hard reboot.  Any help would be great!

    Try resetting the SMC and the PRAM.
    1. SMC
    Read this and follow the instructions for your kind of mac:
    http://support.apple.com/kb/HT3964
    2. PRAM
    Follow the procedure below:
    1. Power down the machine.
    2. Locate the following keys on your keyboard in preparation for Step 4:
    command–option–P–R
    3. Press the ‘power on’ button.
    4. Immediately – and before the grey screen appears – hold down ‘command-option-P-R’ all together.
    5. Keep them held down until you’ve heard the start-up chime twice. After you release them you should hear it again, and hopefully your Mac will boot up as it should normally.

  • My MacBook Pro will turn on and get to the login screen. After I login though it goes to a white screen.

    My MacBook Pro will turn on and get to the login screen. After I login though it goes to a white screen.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Hi...m using a mac pro quad core.....its not booting up...i can only  see the apple logo and a circle loading...could not get into the login screen

    hi...m using a mac pro quad core.....its not booting up...i can only  see the apple logo and a circle loading...could not get into the login screen...any suggestions please.....m in the middle of a project and now i have got this one
    regards,
    v.s.bharan

    Welcome to Apple Discussions!
    Do you keep your data backed up?
    If not, you should always do so*:
    http://www.macmaps.com/backup.html
    You never know when a hard drive or a directory might go bad.  Having a bootable clone is a must.
    That link also shows you some tools you can use to recover data.
    If you aren't backed up, try buying those tools first, before attempting to repair the directory.
    Directory issues can be fixed with these tools*:
    http://www.macmaps.com/directoryfaq.html

  • When I burn my imovie I get the IDVD screen with a thumb size video playing in the corner of the screen without audio - weird

    When I burn my imovie I get the IDVD screen with a thumb size video playing in the corner of the screen without audio - weird

    You can find the serial number either in About this Mc in the Menu bar under the , or it should be on a sticker under the foot of the machine.
    If you have the install discs, try booting from them, holding down the c key and then using Disk Utility to check the drive. 
    You can also boot into Safe mode
    To start up into Safe Mode (to "Safe Boot"), do this:
       1. Be sure the computer is shut down.
       2. Press the power button.
       3. Immediately after you hear the startup tone, press and hold the Shift key.
          Tip: The Shift key should be held as soon as possible after the startup tone but not before.
       4. Release the Shift key when you see the gray Apple and progress indicator (looks like a spinning gear).
    During the startup in Mac OS X 10.2 through 10.3.9, you will see "Safe Boot" on the Mac OS X startup screen.
    During the startup in Mac OS X 10.4 or later, you will see "Safe Boot" on the login window, which appears even if you normally log in automatically.
    Please post back with results,
    To leave Safe Mode in any version of Mac OS X, restart the computer normally, without holding any keys during startup.

  • Yosemite installed on iMac purchased with Mavericks now takes 2 minutes to boot and give the login screen.

    Downloaded and installed os x yosemite on iMac that was purchased originally with Mavericks. When power button is pressed I get start up audio tone and then the the black screen with the white apple symbol with the progression bar. The bar moves very slowly two about one third and then the mouse cursor appears and there it stalls for around two minutes. After the wait the login screen appears and it operates normally. This whole process before update would only take maybe 30 seconds. 
    If I try the web recovery process it will revert back to Mavericks any suggestions on what this might be. I do have an external Mac passport pro external drive that does have time machine enabled and has been there for months.
    Thanks

    After spending a number of hours with Apple Care personnel I was connected with a supervisor and finally got the iMac to boot up on every attempt and in a reasonable amount of time. Login screen now comes on in 30 to 40 seconds and computer is usable within a total time of 1 minute to 1minute 30 seconds.
    Here was the process. Tried to download whole operating system with reinstall from utilities menu at power on and at 7 hours progress bar stalled at one third the way. Reason, time machine external hard drive was still connected during process. Disconnected all external connections except power and tried download again. This time whole operating system downloaded in 15 to 20 minutes. Yosemite installed and rebooted automatically and booted to login screen, signed in then to desktop, but boot took around five minutes. Shutdown and connected all peripherals, i.e.. ext. HD, DVD, printers and tried to start. iMac stalled at 2 minutes into progression bar with white apple symbol before login screen. Removed peripherals and tried again and still stalled and would not boot.
    What was done to correct is as follows. Started iMac in Safe Mode, cleared all items in cache from Macintosh HD/Library folder and System /Library folder, system start up items, launch agents, and launch daemons contents cleared, removed printers in system preferences, ran disk utilities verify and repair of disk and disk permissions. Shutdown and removed power from iMac. With no peripherals system then booted normally. Reconnected peripherals while iMac was still on and added printers back to system preferences and all is well.
    So it seems only reasonable that the downloading problem was hindered by the time machine external hard drive, to which an Apple rep. agreed and the extremely slow boot up or stalled boot up was caused by items in the start up and launch folders. I will state here that I was using my ISP's anti virus software for the Mac which was in the launch folders and most likely was causing the boot up problems.

  • How do I get past the login screen?

    Hey all,
    I just bought a nice new MacBook Pro 15" 2.66 GHz and am happy with it so far.
    The problem is I had to buy it because my PowerBook G4 12" decided to die on me. It happened slowly over the course of a weekend. The PB started to get really slow, and I knew it wasn't because of the internet, just figured I had overloaded the hard drive. So I started to move files to an external hard drive. It was slow and every hour or so an application would freeze, and I couldn't force quit, so I would have to shut down. Eventually it got to the point that I wasn't even running other programs, just trying to transfer files, and I would get the swirly rainbow circle.
    I transferred most of the files, except for my iTunes collection. I figured, no problem, I have my iPod.
    I ordered the new computer, and have realized, that I can't transfer my iTunes collection through my iPod. And now, my PBG4 can turn on, and get me to the login screen looks like it's going to boot up, but goes right back to the login.
    Is there anything I can do to bypass the login? I've tried to start it in safe mode, but the PB won't even get to the login screen after 30 minutes of waiting. I also tried holding shift while logging in, but no dice.
    I have an ethernet cable, and know that if I can log on, I'd be able to move my info somehow, please help!
    Thank you, Lindsey

    artschic:
    Welcome to Apple Discussions.
    Congratulations on your new MacBook Pro. You'll love it.
    In terms of your PowerBook G4, apparently your Hard Disk Drive has failed completely and I am not sure what else it wrong.
    First, try this:
    • Shut down the computer.
    • Locate the following keys: Command, Option, P, and R. You will need to hold these keys down simultaneously later.
    • Turn on the computer.
    • Press and hold the Command + Option + P + R keys immediately after the startup chime.
    • Hold keys down until you hear the startup chime for the third time.
    • Release the keys and immediately hold down Shift key to start up in Safe Mode.
    • Log in and empty Trash.
    • Restart normally and log in.
    If that does not work try Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel, and report if it says anything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need to use a utility like Tech Tool Pro or Disk Warrior
    If still no dice, try the procedure outlined in the article Resolve startup issues and perform disk maintenance with Disk Utility and fsck.
    cornelius

  • Why won't my MacBook Pro get past the login screen

    My MacBook isn't getting past the login. I log in but it stops and keeps a blank screen

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Computer doesn't get past login screen with new HDD

    I recently purchased a new Seagate (750GB Momentus) hard drive for my 2010 Macbook Pro. The first one didn't work well so I sent it in for a replacement, but now the replacement one is having the same issue. When I boot the computer, it doesn't get past the boot screen half the time. When it does, however, I can't get past the login screen; when I click login it flashes white and then goes back to the login screen. Disk utility claims to repair the drive each time that it is run, but always comes up with the same errors after booting. I am totally out of ideas.
    Thanks in advance!

    Drive Preparation
    1.  Boot from your Recovery HD. When the menu appears select Disk Utility and click on the Continue button.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    To boot to the Recovery HD restart the computer. After the chime press and hold down the COMMAND and "R" keys until you see the spinning gear.

  • Can't get past the login screen - Login fails [SOLVED]

    Dear Arch community,
    I have just installed xfce4. To make it perfect, I've installed slim and added it to the daemons. It works flawlessly...unfortunately I am not able to login. It does not seem to recognize my user name and/or password. After going back to the prompt (strg+alt+F5), I am able to login. Also: If I log in and try to go back with srtg+alt+F7 I am stuck at the login screen again.
    The problem:
    Slim is not able to access user and password - How do I get it to do so?
    On the other hand...from my point of view it could be anything.
    Any help is very appreciated.
    Last edited by 3xp10r3r|X13 (2012-08-26 18:05:14)

    3xp10r3r|X13 wrote:
    all I've got in it is:
    exec xfce4-session
    I guess that is a bit too less.
    Actually according to the wiki it should be just
    exec startxfce4
    when using slim.  Have you made your .xinitrc executable?
    chmod +x ~/.xinitrc
    Last edited by bgc1954 (2012-08-26 16:18:53)

  • My PC doesn't see my iPad via iTunes, and I'm getting a message "iPad is disabled / connect to iTunes".  How do I get a login screen on the iPad?

    My PC doesn't see my iPad via iTunes, and I'm getting a message "iPad is disabled / connect to iTunes".  How do I get a login screen on the iPad?

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. If you did not do step 4 properly, start all over again.

Maybe you are looking for

  • Receiver Mail adapter Content type issue

    Hello, I am formatting the body of the receiver mail. The body of the email  should look like below. Dear PI User, The following Interface has been successfully processed by the middleware PI system. Please do not reply to this email. If you need mor

  • How to send multiple attachments?

    Sorry if this seems like an obvious question but can it be done? Do I need an extra app or helper? Thanks in advance

  • RE:CALL FUNCTION update_function IN UPDATE TASK

    Hi, Can anyone give a sample code or a simple scenario for CALL FUNCTION update_function IN UPDATE TASK . Thanks in advance, Alex.

  • Throwing exception

    Hi, Well, i'm a beginner in java and what i'd like to do is to read a file and display its content (an integer) in the console. The problem is that i don't know how to treat the excpetion if the file doesn't exist. Could you help me?? Here's ma piece

  • Migration monitor error

    Hi all, I am installing IDES ECC, in abap import step i got this error, does any one knows how to solve this error ERROR 2007-10-04 00:54:00 CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.