“Reason 126,” she muttered. That meant the DLL was missing or a dependency was broken.
EXEC master..xp_ExtendedProc 'TestConnection' The error came back instantly: “Internal error: Unable to load or call external DLL (Reason: 126 – The specified module could not be found.)” “Reason 126,” she muttered
She didn’t cheer. Instead, she opened a new document and typed: Instead, she opened a new document and typed:
She checked the DLL’s dependencies using dumpbin /dependents . Missing: MSVCRT71.dll , version 7.10.3052.4. The update had replaced it with a newer version, breaking the exact version signature the extended stored procedure expected. Maria spent the next two hours hunting through backup tapes
Maria spent the next two hours hunting through backup tapes. Finally, she found a pristine copy of the old runtime on a retired domain controller. She copied it into the system32 folder, rebooted SQL Server 2000 (which took an agonizing twelve minutes), and held her breath.