mrdenny
49385 pts. | Mar 25 2009 4:45AM GMT
What’s the rest of the error message when you run the extended stored procedure by it self?
Any reason you aren’t writing these as SQLCLR procedures?
KH
50 pts. | Mar 25 2009 10:33AM GMT
Hi Thanks for you reply
I call the procedure like so:
Declare @sText as varchar(100)
Set @sText = ‘”123456789″
Exec master..xp_commission @text
Error i get is:
Msg 17750, Level 16, State 0, Procedure xp_commission, Line 1
Could not load the DLL C:Program FilesMicrosoft SQL ServerMSSQL10.SQL2008AMSSQLBinnxp_commission.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).
CLR - Im not a developer and also i cant seem to find the original source code in C++
Thanks again for you help
KH
50 pts. | Mar 25 2009 10:34AM GMT
Sorry i made a typo in the previous post
Exec master..xp_commission @text
Should be
Exec master..xp_commission @sText
KH
50 pts. | Mar 26 2009 11:32AM GMT
Hi
Thanks Mr Denny for your responses ,I have now sorted out the problem .
The SQL 2008 machine was a new build. So i ran my DLLs through dependency walker and it highlighted a dll that my commission.dll was referencing (MSVCR71.DLL) , i copied the missing Dll to the SQL2008 Machine and it now works. YES!!!
Thanks anyway…






