Thread: Hack L2AuthD
View Single Post
Old 12.04.2007, 17:57   #2
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

Quote:
Originally Posted by khelben View Post
can someone help me out with the sp_l2kick.dll?

I've never loaded Extended Proceedures into SQL before.

I tried the following:

sp_addextendedproc 'sp_l2kick', 'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sp_l2kick.dll'

but when i try to run the command it pukes with this message:

Msg 17750, Level 16, State 0, Procedure sp_l2kick, Line 1
Could not load the DLL c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sp_l2kick.dll, or one of the DLLs it references. Reason: 193(%1 is not a valid Win32 application.).


Will this work in SQL Server 2K5?
Just copy the .dll into "binn" folder in your mssql2005 folder, and then

sp_addextendedproc 'sp_l2kick', 'sp_l2kick.dll'
elcapo is offline