Hello everybody,

I'm having problem with my COM object. I have created a DLL in VB that is accessing SQL database.
I have a global variable that holds connection string.

when i use that component from withing another VB application it works perfectly, but when used from ASP page it fails. Component gets created OK but it gives me this error:

Code:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Please help, i tried passing a connection string from ASP page to my component, but still get the same error!


What should I do!