
com object will not read registry when com object called from asp (vb works fine)
I've created a COM object (VB activeX dll) to basically read/write the
registry.
just some code i got from microsoft, and wrapped it up.
..
when i create a new VB project, reference the COM object, and use it...it
works fine. no problems.
..
when i create the COM object, try to instantiate it with an .asp page, i get
a
'HKEY_LOCAL_MACHINE\SOFTWARE\myCompany\myApplication\1.0'
ValueName='myValue' does not exist.
which is an error i raise myself in the COM object. but the key/value is
there in the registry. (by the way, i'm using my own computer as both the
server and client right now, i understand the difference between
instantiating an object on the server and on the client)
i'm not sure why the asp won't work. i've written other server side COM
objects that create files, create directories, delete files, etc with no
problem. the problem seems isolated to reading the registry.
i'll give you the code...and will post it if i dont receive something off
the bat. i thought maybe somebody might have already been through this.
..
sloan