Wednesday, 15 May 2013

vbscript - Scheduled task error -


I get an error in the given task: "Message: Object reference is not set to an instance of an object".

Schedulkkk vbs script:

  call logentrinter () sub login () error resume again next dim objRequest dim URL objRequest = CreateObject ("Microsoft.XMLHTTP") URL = "http: //localhost:4625/DataUpdater.aspx" objRequest.open "POST", url, false objRequest.Send set objRequest = nothing ending  

If Cassini / IIS is causing an error, then you should post the code in .aspx / .aspx.cs file, and error on that line Should arise.


No comments:

Post a Comment