Results 1 to 11 of 11

Thread: [RESOLVED] Open project without source safe

  1. #1

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Resolved [RESOLVED] Open project without source safe

    Hi,

    I've downloaded a project from the net, when I open it, it asks for my source safe username and password. Does anyone know how to turn this off?

    With visual studio 6 there was a file you could delete and then in the properties of each file you unchecked readonly

    Cheers Al

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Open project without source safe

    Its the

    ProjectName.vbproj.vspscc
    ProjectName.vssscc
    vssver.scc
    mssccprj.scc

    files.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Re: Open project without source safe

    RobDog,

    Thanks a bunch for your reply. These are the files I have,

    • AssembleyInfo.cs
    • RowSelectorColumn.aspx
    • RowSelectorColumn.cs
    • RowSelectorColumn.csproj
    • RowSelectorColumn.csproj.user
    • RowSelectorColumn.sln
    • RowSelectorColumn.suo
    • RowSelectorColumnScript.js
    • untitled.ndoc


    When I open the project "RowSelectorColumn.csproj" I now get a message

    "The solution appears to be under source control, but its binding information cannot be found. Its is possible that the MSSCCPRJ.SCC file or another item that holds the source control setting for the solution, has been deleted...."

    Click OK Next msg -

    "Some of the properties associated with the solution could not be read"

    OK

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Open project without source safe

    In the VS IDE the File menu there is the Source Code Control menu where you can also unbind it from source code control.

    Check the RowSelectorColumn.sln file for something like this:

    Code:
    GlobalSection(SourceCodeControl) = preSolution
    	SccNumberOfProjects = 2
    	SccLocalPath0 = .
    	CanCheckoutShared = false
    	SolutionUniqueID = {27E13574-6252-469E-90AE-0E053E044B75}
    	SccProjectUniqueName1 = RowSelectorColumn.vbproj
    	SccLocalPath1 = .
    	CanCheckoutShared = false
    EndGlobalSection
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Re: Open project without source safe

    RobDog,

    Having looked at my other projects they don't have the section -

    GlobalSection(SourceCodeControl) = preSolution
    SccNumberOfProjects = 2
    SccLocalPath0 = .
    CanCheckoutShared = false
    SolutionUniqueID = {27E13574-6252-469E-90AE-0E053E044B75}
    SccProjectUniqueName1 = RowSelectorColumn.vbproj
    SccLocalPath1 = .
    CanCheckoutShared = false
    EndGlobalSection
    So I've deleted it. Now when I open the project I just get the first msg -

    "The solution appears to be under source control, but its binding information cannot be found. Its is possible that the MSSCCPRJ.SCC file or another item that holds the source control setting for the solution, has been deleted...."
    The second msg has gone, don't know if that's a good thing or not.

    Have had a look on the file-Source control menu and none of the options indicate you can remove the project from source control?

    Many, many thanks for your help.

    Cheers Al

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Open project without source safe

    What version are you using?

    In 2003:
    File > Source Control > Change Source Control...
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Re: Open project without source safe

    RobDog,

    Yes using 2003, I looked in Change Source Control, but couldn't see anything that would remove it, does this dialog act for the entire project or do I need to open each fine the go File->Source control -> etc.

    I've uploaded an image of the Change Source Control Dialog can you see anything that needs changing?
    Attached Images Attached Images  

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Open project without source safe

    Your image shows correct for not being controlled.

    It may be easier to overwrite the project with a new extraction from the downloaded zip file or rar.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Re: Open project without source safe

    RobDog,

    Done that when it asked me to log into source safe said no, it then popped up the Change Source Control dialog, I unchecked the two Connected checkboxes, the project then opened with little red ticks next to each file. I've tried opening the files and they open okay. So seems to be sorted

    Cheers Al

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Open project without source safe

    Well its working but you shouldnt have the red checkmarks next to each file in the solution explorer. That means its checked out and writeable.

    You could always create a new project and add the references and files to create a new stand alone version of the project that will not be under any source code control at all.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Re: Open project without source safe

    RobDog,

    Thanks a bunch for your help, seem to have it sorted

    Cheers Al

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width