Hi,
At the moment I'm using the VBScript like this......
Dim xmlDOMDocument
Set xmlDOMDocument=CreateObject("MSXML2.DOMDocument")
Then appending all the tags to the XML document
Then creating a request
Dim xmlRequest
xmlRequest="<?xml version=""1.0"" encoding=""UTF-8""?>" & xmlDOMDocument.xml
Making an http request like
Set oHTTP=CreateObject("Microsoft.XMLHTTP")
oHTTP.open "POST", httpAddress, False
sending the request
oHTTP.Send xmlRequest
Set xmlDOMDocument=Nothing
Set oHTTP=Nothing
I've added the notification, to my email id, but that doesn't give me much information, why the job is failing. It simply says,
JOB RUN: 'SendMSG' was run on 04/04/2026 at 2:59:17 p.m.
DURATION: 0 hours, 0 minutes, 0 seconds
STATUS: Failed
MESSAGES:The job failed. The Job was invoked by User sa. The last step to run was step 1 (SendMSG).
Can you please tell me what can go wrong here?
But it's running fine whenI run the sam thing as a ASP file with the Server.CreateObject...
Regards,
Srinivas
Do I need to Provide any permission in the sql server for using createObject?