Object/Module not found: RDS from VB6 app to a Win2003 server
        Posted  
        
            by Cyberherbalist
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Cyberherbalist
        
        
        
        Published on 2008-12-09T22:08:39Z
        Indexed on 
            2010/05/31
            2:42 UTC
        
        
        Read the original article
        Hit count: 613
        
I have a rather legacy application EXE written in VB6 and running on a Windows 2000 server that uses RDS (Remote Data Services) to access a business object DLL (also written in VB6) running on a Windows 2003 server. The DLL has never run on this server (we're moving the component off the old W2K server), but it is registered and defined as a component on the W2k+3 server.
The specific code where the DLL is being called is:
Private m_rdsDS As RDS.DataSpace
Dim oARImport As Object
Set oARImport = m_rdsDS.CreateObject("ARBatches.BL_ARBatches", txtWebServer)
MsgBox oARImport.AddBatches(m_vConnParms, arbParseString, LinesFromFile)
The CreateObject appears to work fine, but calling the method AddBatches raises the error number 8209 "Internet Server Error: Object/module not found." I'm leaning towards the idea that there is a permission issue somewhere at the root of the problem, but if this were the case, why wouldn't it say "You don't have permission"?
I'd really like to rewrite the whole app but "they" won't let me.
© Stack Overflow or respective owner