AspJpeg is a server component that will help your ASP or ASP.NET applications with all their image-management needs.
Set obj = Server.CreateObject("Persits. <ProgID> ")
When the script as above trying to create an instance of a Persits component(ASPupload, ASPjpeg or etc) and you receive an error as below
ActiveX component can’t create object
Please check if you have install the component as below
How to check what component installed in window server. An useful script from pensaworks. You can use the script as below. Copy and paste on asp file and view it will do.
Please check on next page, the script is toooooo long
Continue reading “Check ASP componet”
If you have .asp or .aspx file that need to run the schedule task. Well, for Window, there is no option to lauch/load the page on the task schedule setting. So you can create schedule task to load the asp/aspx page.
How? Basically, you need to create 2 file. *.vbs and *.bat.
(1) create one .vbs file as script as below
On Error Resume Next
Set objRequest = CreateObject("Microsoft.XMLHTTP")
URL = "http://www.yourdomain.com/your_page.aspx"
objRequest.open "POST", URL , false
Set objRequest = Nothing
Note: Replace the url where the .aspx is
(2) Create a .bat file to trigger the .vbs file
Note: Replace the path of the vbs file
(3) Create a schedule task to trigger the .bat file