-
runtime error
An exception of type "Microsoft VBScript runtime error: object required: 'Server' was not handled"
I keep getting this error when trying run this code:
Set objComponent = Server.CreateObject("Test.ProcessInputs")
objComponent.Outputs
Set objComponent = Nothing
Any suggestions?
-
hi
give more details buddy...
as to where u are using the code etc
beause the stm looks okay
-
When I do this it works:
<%
Set objComponent = Server.CreateObject ("Test.ProcessInputs")
%>
When I do this I get the error:
<SCRIPT Language=vbscript RUNAT=Server>
Set objComponent = Server.CreateObject ("Test.ProcessInputs")
</SCRIPT>
-
suprising
-
Server.CreateObject doesn't work in my SCRIPT tags for some reason.
Is there a way I can use my ocx properties in my asp (<% %>)? The only reason I'm using SCRIPT tags because I can't use my ocx properties in asp (<% %>), but I can use the ocx properties in my SCRIPT tags.