【问】安装加密锁驱动提示“sp_addextendedproc xp_msgetcode81,xphbsys81.dll”错误。 | ||
【适用版本】专卖店8 | 【模块】基本档案 | 【点击数】429 |
【知识编号】Z2013110800011 | ||
【问题描述】 |
–打开查询分析器,执行以下语句重建sp_addextendedproc
use master
if exists(select * from sysobjects where name =’sp_addextendedproc’ )
drop procedure sp_addextendedproc
go
create procedure sp_addextendedproc — 1996/08/30 20:13
@functname nvarchar(517), /* (owner.)name of function to call */
@dllname varchar(255) /* name of DLL containing function */
as
/*
** If we’re in a transaction, disallow the addition of the
** extended stored procedure.
*/
set implicit_transactions off
if @@trancount > 0
begin
raiserror(15002,-1,-1,’sp_addextendedproc’)
return (1)
end
— Disallow 0-length string & NULL
if @dllname is null or datalength(@dllname) = 0
begin
raiserror(15311,-1,-1,@dllname)
return (1)
end
/*
** Create the extended procedure mapping.
*/
dbcc addextendedproc( @functname, @dllname)
return (0) — sp_addextendedproc
GO