|
-
Jun 6th, 2000, 03:08 AM
#1
Thread Starter
Addicted Member
I'm trying to create a server.create object, but I get the following error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/begasp/retrieveproperties.asp, line 9
Invalid class string
My code is:
<%
dim objtelephone
set objtelephone = Server.CreateObject("MyTelephone.Telephone")
Thanks
objTelephone.Color = "Blue"
objTelephone. Material = "Thermoplastic"
objTelephone.Weight = 22
objTelephone.NumberOfKeys = 12
-
Jun 6th, 2000, 04:37 AM
#2
Addicted Member
Have you correctly registered the dll ?
-
Jun 6th, 2000, 07:44 PM
#3
Thread Starter
Addicted Member
server/object
What dll? I read a similar post where the dll was correctly registered. This was a user created dll. In my case I didn't create any dll. Just a file.
-
Jun 6th, 2000, 09:06 PM
#4
Frenzied Member
What do you mean by 'just a file'?
-
Jun 6th, 2000, 09:11 PM
#5
Thread Starter
Addicted Member
SERVER CREATED OBJECT
I'm working an example in this beginner ASP book. A simple six lines of code. The book has a website that has all the examples. When I go to the website and click on that particular example, it works. Not sure what my problem is. Only six lines of code.
-
Jun 6th, 2000, 09:15 PM
#6
Frenzied Member
OK, the website server must have a DLL installed on it with the class 'MyTelephone.Telephone'
the dll is probably called 'MyTelephone.dll"
Was there any software supplied with the book?
or is there provision to download if from their web site?
-
Jun 7th, 2000, 01:20 AM
#7
Thread Starter
Addicted Member
Server CreateObject
You are right Mark. The sample program did have a telephone.dll. Thanks for the help.
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
|