Thread: WScript
View Single Post
  #3 (permalink)  
Old June 8th, 2005, 04:03 AM
raajaindra raajaindra is offline
Registered User
 
Join Date: Jun 2005
Location: jaipur, rajasthan, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Following is the source of ASP
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonat e}!\\" & strComputer & "\root\cimv2")
set objRefresher = CreateObject("WbemScripting.SWbemRefresher")
Set objMemory = objRefresher.AddEnum (objWMIService, "Win32_PerfFormattedData_PerfOS_Memory").objec tSet
objRefresher.Refresh

Do
    For Each intAvailableBytes in objMemory
        If intAvailableBytes.AvailableMBytes < 4 Then
            Wscript.Echo "Available memory has fallen below 4 megabytes."
        End If
    Next
    objRefresher.Refresh
Loop

...and following is the error thrown by the browser
Technical Information (for support personnel)

Error Type:
(0x80041003)
/aa/lisTrusted.asp, line 17


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

Page:
GET /aa/lisTrusted.asp

Time:
Wednesday, June 08, 2005, 11:31:00 AM
...what could be the reason
please help....
raajaindra

Reply With Quote