|
-
Nov 19th, 2001, 09:27 AM
#1
Thread Starter
Member
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?
-
Nov 20th, 2001, 03:01 AM
#2
PowerPoster
hi
give more details buddy...
as to where u are using the code etc
beause the stm looks okay
-
Nov 20th, 2001, 08:17 AM
#3
Thread Starter
Member
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>
-
Nov 20th, 2001, 08:36 AM
#4
PowerPoster
suprising
Looks okay
-
Nov 20th, 2001, 09:50 AM
#5
Thread Starter
Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|