I have a script that has worked fine for weeks but stopped today.  VSSGET fails with the following error on multiple databases and in multiple scripts. 

The only thing I can think of that changed on my machine is I had installed VS.NET 2005 Beta and uninstalled it yesterday (I know, my bad).  It seems like something needed to run the contrib. tasks was unregistered or removed from my machine.  I also got the latest nightly build of both nant and nantcontrib (Mar 9, 05) to be sure it wasn’t already resolved.  Anyone have any thoughts?

 

build script snippet:

    <target name="getLatest" verbose="true">

          <vssget username="matth" password="matth" localpath="${build.dir}\classic" recursive="true" replace="true" writable="true"

                            dbpath="\\supermicro2\devsourcesafe\newdb\srcsafe.ini" path="$/HelloWorld" />

     </target>

 

Output:

BUILD FAILED

 

C:\build_files\DT\test.build(24,12):

Failed to open database "\\supermicro2\devsourcesafe\newdb\srcsafe.ini".:

NAnt.Core.BuildException: C:\build_files\DT\test.build(24,12):

Failed to open database "\\supermicro2\devsourcesafe\newdb\srcsafe.ini". ---> System.Runtime.InteropServices.COMException (0x80040154): COM

object with CLSID {783CD4E4-9D54-11CF-B8EE-00608CC9A71F} is either not valid or not registered.

   at NAnt.Contrib.Tasks.SourceSafe.BaseTask.Open() in d:\Source\nantcontrib-20050227T162433Z\src\Tasks\SourceSafe\BaseTask.cs:line 150

   --- End of inner exception stack trace ---

   at NAnt.Contrib.Tasks.SourceSafe.BaseTask.Open() in d:\Source\nantcontrib-20050227T162433Z\src\Tasks\SourceSafe\BaseTask.cs:line 153

   at NAnt.Contrib.Tasks.SourceSafe.GetTask.ExecuteTask() in d:\Source\nantcontrib-20050227T162433Z\src\Tasks\SourceSafe\GetTask.cs:line 189

 

   at NAnt.Core.Task.Execute() in d:\Source\nant-20050310T063927Z\src\NAnt.Core\Task.cs:line 177

   at NAnt.Core.Target.Execute() in d:\Source\nant-20050310T063927Z\src\NAnt.Core\Target.cs:line 249

   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in d:\Source\nant-20050310T063927Z\src\NAnt.Core\Project.cs:li

ne 887

   at NAnt.Core.Project.Execute() in d:\Source\nant-20050310T063927Z\src\NAnt.Core\Project.cs:line 839

   at NAnt.Core.Project.Run() in d:\Source\nant-20050310T063927Z\src\NAnt.Core\Project.cs:line 924

 

 

Thanks,


Matt Hulse

[EMAIL PROTECTED]

 

 

Reply via email to