-
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
-
Have you correctly registered the dll ?
-
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.
-
What do you mean by 'just a file'?
-
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.
-
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?
-
Server CreateObject
You are right Mark. The sample program did have a telephone.dll. Thanks for the help.