habilitar sp_makewebtask de sql
Publicado por sergio (3 intervenciones) el 30/09/2013 20:35:27
hola expertos hace tiempo hice un store procedure como este:
CREATE PROCEDURE GRAFICO
AS
EXEC sp_makewebtask
@outputfile='C:\Inetpub\wwwroot\milcil\html\resultado.xml',
@query='SELECT TOP 100 PERCENT AJ_titular.nom_titular AS name, COUNT(AJ_TITULAR_DSCTO_MES.DNI_TITULAR) AS value1
FROM AJ_TITULAR_DSCTO_MES INNER JOIN AJ_titular ON AJ_TITULAR_DSCTO_MES.DNI_TITULAR = AJ_titular.dni_titular
GROUP BY AJ_titular.nom_titular
ORDER BY COUNT(AJ_TITULAR_DSCTO_MES.DNI_TITULAR)',
@templatefile='C:\Inetpub\wwwroot\milcil\html\plantilla2.tpl',
@dbname = 'SYSMILCIL'
GO
exec grafico
mi problema es el siguiente al ejecutarlo me sale este error
Mens 17750, Nivel 16, Estado 0, Procedimiento xp_makewebtask, Línea 1
No se pudo cargar la DLL xpweb90.dll o una de las DLL a las que hace referencia. Motivo: 126(error not found).
eh leido que hay que habilitar el sp_makewebtask con codigo y ademas dando permisos de usuario para ejecutar xml y tpl pero no recuerdo como lo hice por favor alguien que me pueda ayudar---
manejo visual studio 2005 y sql 2005
CREATE PROCEDURE GRAFICO
AS
EXEC sp_makewebtask
@outputfile='C:\Inetpub\wwwroot\milcil\html\resultado.xml',
@query='SELECT TOP 100 PERCENT AJ_titular.nom_titular AS name, COUNT(AJ_TITULAR_DSCTO_MES.DNI_TITULAR) AS value1
FROM AJ_TITULAR_DSCTO_MES INNER JOIN AJ_titular ON AJ_TITULAR_DSCTO_MES.DNI_TITULAR = AJ_titular.dni_titular
GROUP BY AJ_titular.nom_titular
ORDER BY COUNT(AJ_TITULAR_DSCTO_MES.DNI_TITULAR)',
@templatefile='C:\Inetpub\wwwroot\milcil\html\plantilla2.tpl',
@dbname = 'SYSMILCIL'
GO
exec grafico
mi problema es el siguiente al ejecutarlo me sale este error
Mens 17750, Nivel 16, Estado 0, Procedimiento xp_makewebtask, Línea 1
No se pudo cargar la DLL xpweb90.dll o una de las DLL a las que hace referencia. Motivo: 126(error not found).
eh leido que hay que habilitar el sp_makewebtask con codigo y ademas dando permisos de usuario para ejecutar xml y tpl pero no recuerdo como lo hice por favor alguien que me pueda ayudar---
manejo visual studio 2005 y sql 2005
Valora esta pregunta


0