I was reminded that topic was still hanging out there without a published resolution, so thought I’d throw out a pointer to the solution so that others would be able to find it when searching through the NAnt archives.

 

There is an issue with getting from VSS recursively in VSS 6.0d which is documented in this MSDN KB837417 document.

 

The solution (if you have the exact issue described in the KB) is to call Microsoft Tech Support for the free Hotfix. This Hotfix isn’t just sitting on the web for download, once they confirm you have this issue, they will send you a password protected link (which appears to change every seven days) and then you can download the Hotfix which resolved this issue.

 

There is an automation label related KB892518 which is resolved with the same Hotfix.

 

Happy “getting”…

 

~Robert

 


Subject: [NAnt-users] Error with vssget

 

When I execute the below sample script I get the following error.

 

Failed to open database "\\servername\vss\srcsafe.ini".

    The specified module could not be found.                                             

 

The odd thing is that it works fine on one workstation, but not another (both WinXP)…

 

It appears to be entirely an environmental condition…but what? It historically has been working fine. What might cause this particular error? I am able to access the VSS share and open VSS via the GUI from the workstation in question. I have several scripts that suddenly are failing with this error. I’m using RC2.

 

 

<?xml version="1.0"?>

<project name="Test" default="testing">

    <property name="vssPath" value="\\servername\vss\srcsafe.ini" unless="${property::exists('vssPath')}"/>

    <target name="testing">

        <vssget

          localpath="C:\temp\BuildTools"

          recursive="true"

          replace="true"

          writable="true"

          removedeleted="true"

          dbpath="${vssPath}"

          path="$/Applications/Branch/5065/BuildTools"

        />

            </target>

</project>        

 

 

Thanks for any thoughts on the topic…      

 

~Robert

 

Reply via email to