PDA

Click to See Complete Forum and Search --> : Error Creating Objects


lenin
Aug 17th, 2001, 11:52 AM
Hi,
I have a small application consisting of a number of classes. One of the objects is a connection object class call myConnection. When I create an simple object it creates a myConnection object to attach to a database, so one object myObject creates a connection using myConnection object. When I test this in VB it works without a problem.

however when I try to test this on ASP I get

Method '~' of object '~' failed

Has anyone seen this before? This is fairly urgent for me, so any help is greatly appreciated.

Lenin

TheBao
Aug 20th, 2001, 10:40 PM
Check your type again. In ASP, only variant type is accepted.