I am attempting to execute an extended stored procedure(XP) using query analyzer. <br><br>The XP is registered in the master database. The dll and pdb files for the XP are in the mssql7/binn directory.<br><br>However, when I execute, I get the following error:<br><br>"Cannot find the function xp_test in the library C:\MSSQL7\Binn\test.dll. Reason: 127(The specified procedure could not be found.)".<br><br>I have also tried debugging in Visual C++. After I stop the mssql as a service and start it via the C++ debugging options, I execute with the following error message in the DOS screen:<br><br>"Using '(dll name is in quotes)' version 'UNKNOWN' to execute extended stored procedure '(XP name is in quotes)'.<br><br>Any ideas on what could be causing this problem?<br>