Yes, I think the same, but the user is administrator.
2006/9/27, William Yu <[EMAIL PROTECTED]>:
Are you executing the process as super user (admin)? If not, then it's possible that the service may not have access to that part of registry. I'm no expert on this, but MS recommends service apps avoid using OLE Automation (among other things). ~William On Sep 27, 2006, at 1:58 PM, Alex Cassol wrote: > Sorry about my english... > > Well... I have an app that run as a service application. > I have de follow lines on run method: > dim rs As OLEObject > rs = new OLEObject( "ADODB.RecordSet" ) > > If I run app via console, runs pretty. If I start the service, occurs > the > error:"Invalid class string" in line rs = new OLEObject( > "ADODB.RecordSet" > ). > > Thank's. > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives of this list here: > <http://support.realsoftware.com/listarchives/lists.html> > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
-- Alex Cassol de Vasconcelos alexcassol at gmail.com MCSD _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
