提出问题提出问题
 

已答复Message when i try to open project

  • 2005年11月17日 8:55JoseMiguel 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Always I try to open my solution, the IDE show this message:

    The file 'MySolution.sln' needs to be checked out before it can be edited. The file was not checked out automatically because you have disabled automatic check out when files are edited in the Source Control options page.

    I only have 1 project under solution file. In the Environment options pane of Source Control I have check "Get everything when openinng..." and "Check in everything when closing...", and "Chek out automatically" in "On Edit" and "On Save".

    How can remove this message?

答案

  • 2005年11月21日 19:48Alin ConstantinMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    I'm out of ideas.

    One thing that might help finding out the culprit is to:
    - attach a debugger to the VS, open the solution until the message appears, then break in debugger and save a minidump (from the callstack we can probably figure out why is scci called to checkout on edit)
    - describe the locations of solutions/project on local disk and in vss database (ideally, having the solution/project files and the mssccprj.scc is better)
    - describe the existance and read-only state of solution and projects files on disk (just the projects, not the project contents)
    - if this is for VS2005, open a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx so you can track progress. Attach the minidump and the project/mssccprj files if possible, and hopefully we'll figure it out.
    - send us a mail with the issue number to speed the things up a bit.

    Alin

全部回复

  • 2005年11月17日 12:25Alin ConstantinMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I don't know why the message appears in your case (sounds like a bug in scci), but I'd try to checkout the solution, close and reopen it in IDE, save the files, then checkin any possible changes. I suspect this will make the error message to stop appearing next time the solution will be open.

    Alin
  • 2005年11月17日 15:13JoseMiguel 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Thank for your reply. I try to apply your solution, but the message still appearing. Maybe this is a bug, but this not appears to other users in the same network and working over the same database and project. Tongue Tied ??? 
  • 2005年11月18日 20:32Alin ConstantinMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    The shell calls scci to perform a checkout on edit. There can be a couple of reasons why the message appears (checkout fails - is the file exclusively checked out by another user?, edit of readonly uncontrolled file is disallowed, etc).

    If you say that other users working on the project don't have this problem, I'd try reopening the solution from source control.

    Alin

  • 2005年11月21日 9:21JoseMiguel 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    I try to reopen all from sourcecontrol, but message still appearing.

  • 2005年11月21日 19:48Alin ConstantinMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    I'm out of ideas.

    One thing that might help finding out the culprit is to:
    - attach a debugger to the VS, open the solution until the message appears, then break in debugger and save a minidump (from the callstack we can probably figure out why is scci called to checkout on edit)
    - describe the locations of solutions/project on local disk and in vss database (ideally, having the solution/project files and the mssccprj.scc is better)
    - describe the existance and read-only state of solution and projects files on disk (just the projects, not the project contents)
    - if this is for VS2005, open a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx so you can track progress. Attach the minidump and the project/mssccprj files if possible, and hopefully we'll figure it out.
    - send us a mail with the issue number to speed the things up a bit.

    Alin

  • 2009年11月2日 5:58Catherine Sea 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi JoseMiguel,

    Have you solved the problem? If so, would you please let me know how you solve the problem? Or if anyone else has any suggestions about this, I would highly appreciated.

    Thanks.


    Catherine Sea
    Version Control Software | Software Configuration Management Solution