none
Project Crashes on saving RRS feed

  • Question

  • OS:  XP Professional Version 2002 SP 3

    MS Project Standard

    1)  Open Blank Project

    2) Open VBA environment

    3) Insert new form - keep name as default:  UserForm1

    4) Place a checkbox on the form

    5) Insert new module - keep name as default:  Module1

    6)  Create subroutine:

                 Sub ShowForm

                      UserForm1.Show

                 End Sub

    7)  Close VBA environment

    8)  Run the macro:  View -> Macros

    9)  Close the form once it is displayed (click on the X)

    10)  Click the save button twice.  Crashes every time.

    This occurs on two different machines I have tried.

    All hotfixes and updates applied as of this morning (5/19).

    Thoughts?

    Thursday, May 19, 2011 7:17 PM

Answers

  • Hello.  I'm wondering if you ever figured out a resolution or workaround for this.  I am experiencing the exact same thing.  Two saves = crash everytime.  I have even applied SP1 for MS Project Pro 2010.  Let me know if you have any advice.  Thanks!

     

    UPDATE: Ha!  right after I posted this I continued to play with some options.  I found that if I disable the form (Form.Enabled = False) after the Form.Hide event then the crash is avoided (I can Save multiple times in a row without MS Project crashing)!  Just remember to re-enable the form in the module that calls the form, before the Form.Show event

    Example:

    Private Sub Button_Click()
    Form.Hide
    Form.Enabled = False
    End Sub

    Sub OpenForm()
    Form.Enabled = True
    Form.Show
    End Sub

    I have not done extensive testing yet to see if there are other issues as a result, but the fact that I can no longer consistently re-produce the crash is great progress!


    • Proposed as answer by MaxFlood Friday, July 22, 2011 5:10 PM
    • Edited by MaxFlood Friday, July 22, 2011 5:20 PM typo
    • Marked as answer by Mike GlenModerator Saturday, December 24, 2011 10:04 PM
    Friday, July 22, 2011 4:32 PM
  • It was reported to me on a different thread that the answer is here:

    Fix is at: http://support.microsoft.com/kb/2596585

    I installed the fix and I am happy to report MS PROJECT 2010 NOW WORKS!


     

    Thursday, January 26, 2012 7:33 PM

All replies

  • Dean,

    A little clarification please about Windows and Project. You say,

    OS: XP Professional version 2002 SP3

    MS Project Standard

    Should we interpret that as,

    OS: XP Professional

    Project: Project 2002 standard with SP3

    or something else?

    John

    Friday, May 20, 2011 2:44 AM
  • Dean,

    I guess Project Customization and Programming forum at http://social.msdn.microsoft.com/Forums/en-US/project2010custprog/threads is the right place to post.

    -- Ismet.

    Thursday, June 2, 2011 10:13 PM
  • Hello.  I'm wondering if you ever figured out a resolution or workaround for this.  I am experiencing the exact same thing.  Two saves = crash everytime.  I have even applied SP1 for MS Project Pro 2010.  Let me know if you have any advice.  Thanks!

     

    UPDATE: Ha!  right after I posted this I continued to play with some options.  I found that if I disable the form (Form.Enabled = False) after the Form.Hide event then the crash is avoided (I can Save multiple times in a row without MS Project crashing)!  Just remember to re-enable the form in the module that calls the form, before the Form.Show event

    Example:

    Private Sub Button_Click()
    Form.Hide
    Form.Enabled = False
    End Sub

    Sub OpenForm()
    Form.Enabled = True
    Form.Show
    End Sub

    I have not done extensive testing yet to see if there are other issues as a result, but the fact that I can no longer consistently re-produce the crash is great progress!


    • Proposed as answer by MaxFlood Friday, July 22, 2011 5:10 PM
    • Edited by MaxFlood Friday, July 22, 2011 5:20 PM typo
    • Marked as answer by Mike GlenModerator Saturday, December 24, 2011 10:04 PM
    Friday, July 22, 2011 4:32 PM
  • It was reported to me on a different thread that the answer is here:

    Fix is at: http://support.microsoft.com/kb/2596585

    I installed the fix and I am happy to report MS PROJECT 2010 NOW WORKS!


     

    Thursday, January 26, 2012 7:33 PM
  • What about for those stuck in corporate land and stuck in MS Project 2007 . I just experienced the same exact thing. MS Project 2007 2 two saves in a row causes a crash to the project?

    I am on MS Proj SP2
    • Edited by TMarks2 Wednesday, February 1, 2012 11:06 PM
    Wednesday, February 1, 2012 10:21 PM
  • Project 2007 is up to SP-3.  Any possibility you can installed the latest service pack?
    Wednesday, February 1, 2012 11:24 PM
    Moderator
  • MS Project 2007 Sp2 Saving 2 times (2x) in  a row causes a MS Project to crash. Suspect objects or modules to blame.

    Everybody will be happy to know I found a workaround for 2007. It was unclear if 2007 sp3 solves this as no one has documented and there is no KB article to that effect.

    So here is my solution which should work for everyone:

    1.    Saved a copy of the file (Now I’m ready to play!)
    2.    Started exporting code modules and objects ( I started with my forms first) out of the project onto file system (vba has this capability although no one I know has ever vouched for it—I will now vouch for it) .
    3.    Each time I exported an object (module) I saved the Project file. Then saved again (that’s the bug—2nd save causes a crash).
    4.    Upon reaching the 4th or 5th object (exporting then saving 2 times) it stopped crashing. I noted the object.
    5.    Went back to the old working copy and removed said object.
    6.    Saved working file copy (suspect object has now been excoriated).
    7.    Closed Microsoft Project (this allows it to clean up memory and all references otherwise will cause MSProj to crash again if you re-import even after saving without closing MS Project first).
    8.    Re-opened MS Project.
    9.    Re-imported the suspect object
    10.    Saved the project file 2x.
    11.    MS Project stopped crashing !

    all, your welcome ;)




    • Edited by TMarks2 Thursday, February 2, 2012 3:37 PM
    Thursday, February 2, 2012 12:22 AM