Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object doesn't support this property or method

Status
Not open for further replies.

asd78fg

Programmer
Oct 21, 2004
13
0
0
US
I'm developing a DLL in C++ that is accessed from an ASP page. When running the page this error is thrown:

Object doesn't support this property or method: 'ldap_obj.objectVersion'

The method objectVersion() does exist; as I browse component services I can see that method for my object. I am at a loss as to what may be causing this error. Does anyone have any suggestions?

The C++ code:
STDMETHODIMP Cuserinfo::eek:bjectVersion(long *versionNumber)
{
*versionNumber = 2;
return S_OK;
}

The line in the ASP file that is throwing the error:
versionNumber = ldap_obj.objectVersion()
 
One other thing I forgot: all the other methods of this object work perfectly. I assume, then, that there must be something about the way I wrote the DLL, but I'm not certain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top