Hi,
I have created an ActiveX DLL and addes some classes to it. when i keep it in debug mode and run my asp pages it works fine.

the compatibility is set to binary compatibility.

when i make the DLL and register ir using regsvr32 , it is giving me the following error

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I have added all references to it. iam using the connection string as follows.

Provider='SQLOLEDB'; Data Source='ds';Initial Catalog='cc'; User Id='sa'; Password='sa';Integrated Security='SSPI';

any clues what could be wrong.

thanks,
soujanya