Hi! to all members!!!
i hope u are fine…
i m new to this forum and m here because i m in trouble plzzzz plzzzzzz help me if possible…
i have IE web application that i use it for ASP .It was running very fine but now its saying error like this for one program:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ‘Counters’
/Counter.asp, line 10
Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)
Page:
GET /Counter.asp
after long hours of frustration now i m totally exhausted because of this error…
plzzzzzzzzzzz plzzzzzzzzzzzzz help me if any have solution…
i have tried it on google and i gone through first 50 searches but still i m unable to solve this **** problem… plzzzzzzzzzzzzz help me!!!
CODING OF Counter.asp :-
<HTML>
<BODY>
<OBJECT RUNAT=Server ID=Counter1 PROGID="MSWC.Counters"> </OBJECT>
<% Dim colornumber
colornumber = "2"
If colornumber = "1" Then
Counters.Increment("greencounter")
Else
If colornumber = "2" Then
Counters.Increment("bluecounter")
Else
If colornumber = "0" Then
Counters.Increment("redcounter")
End If
End If
End If
%>
<P>Current vote tally:
<P>red: <% =Counters.Get("redcounter") %>
<P>green: <% = Counters.Get("greencounter") %>
<P>blue: <% = Counters.Get("bluecounter") %>
</BODY>
</HTML>
EDIT
This post has been reformatted by enclosing the code block in 3 backticks
```
on their own lines.