Ask a questionAsk a question
 

AnswerMessage when i try to open project

  • Thursday, November 17, 2005 8:55 AMJoseMiguel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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?

Answers

  • Monday, November 21, 2005 7:48 PMAlin ConstantinMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

All Replies

  • Thursday, November 17, 2005 12:25 PMAlin ConstantinMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Thursday, November 17, 2005 3:13 PMJoseMiguel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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 ??? 
  • Friday, November 18, 2005 8:32 PMAlin ConstantinMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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

  • Monday, November 21, 2005 9:21 AMJoseMiguel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

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

  • Monday, November 21, 2005 7:48 PMAlin ConstantinMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

  • Monday, November 02, 2009 5:58 AMCatherine Sea Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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