Hi all,
We're using the MDT PackageMapping table along with a customized stored procedure to reinstall user applications during Windows 7 migration. It works really well about half the time. The rest of the time, I get no applications and the following error in ZTIGather.log:
About to issue SQL statement: EXECUTE RetrievePackages '00:0C:29:36:CA:98'
ERROR - Opening Record Set (Error Number = -2147217887)
ADO Error: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
Unable to execute database query.
Running the procedure from within SQL Admin Studio works fine every time. I did notice it sometimes takes over 30 seconds to execute. Is there a timeout somewhere? Any tips on how to troubleshoot this further?
We're using MDT boot images generated with the WinPE 3.1 supplement, if that has any bearing.