SourceSafe.Interop won't register

Discussion in 'Windows 64 Bit' started by Bill Wunder, Feb 10, 2006.

  1. Bill Wunder

    Bill Wunder Guest

    I am attempting to access a VSS reporsitory using Visual Studio 2005 Interop
    on a WinXP x64 machine. I cannot even run the sample from the documentation.
    I get the error below. I can run the same code on Win2k3 just fine. True
    enough, the CLSID does not exist on the x64 box. I tried uninstall/reinstall
    and repair of SourceSafe with same result. I even tried install of .NET 1.1.
    Any ideas
    why SourceSafe is not registering? I see it in the assemblies.

    System.Runtime.InteropServices.COMException was unhandled
    ErrorCode=-2147221164
    Message="Retrieving the COM class factory for component with CLSID
    {783CD4E4-9D54-11CF-B8EE-00608CC9A71F} failed due to the following error:
    80040154."
    Source="vsstest"
    StackTrace:
    at vsstest.Module1.Main() in C:\Documents and
    Settings\Administrator\My Documents\Visual Studio
    2005\Projects\vsstest\vsstest\Module1.vb:line 9
    at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ExecutionContext.Run(ExecutionContext
    executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

    (also posted to msdn managed VStudio.SourceSafe group)
    Thanks
     
    Bill Wunder, Feb 10, 2006
    #1
    1. Advertisements

  2. Bill Wunder

    Hugo gleaves Guest

    Hi
    I have no idea if this is connected, but I am assured that Windows 64-bit
    does NOT support interop debugging.

    One cannot step from C# code into C++ or C as one can under 32-bit and I was
    told that this is non trivial and not something likely to appear soon.

    I know your post is not about debugging, but the interop limitations may
    apply elsewhere.

    Rgds
    Hugh
     
    Hugo gleaves, Feb 16, 2006
    #2
    1. Advertisements

  3. Bill Wunder

    Bill Wunder Guest

    Thanks Hugo,
    I will keep this dubugging infoin mind.
    Sounds like my only option is to target my compile for x86 CPU.
    Regards
    --
    Bill


     
    Bill Wunder, Feb 16, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.