OLE DB problem in VC++ COM when used with ASP
-
I have written a COM component in VC++ that connects to a ODBC (.mdb file) through OLE DB. When i try to use it in .asp page i get error (0x80004005 - unspecified error). The same component (same asp file) works fine with PWS under Win98. When i run the same with IIS5 in Win2000 and WinXP i get error. I couldn't find out what might be the problem. Can you help me out? Thanx in advance Mahesh
-
I have written a COM component in VC++ that connects to a ODBC (.mdb file) through OLE DB. When i try to use it in .asp page i get error (0x80004005 - unspecified error). The same component (same asp file) works fine with PWS under Win98. When i run the same with IIS5 in Win2000 and WinXP i get error. I couldn't find out what might be the problem. Can you help me out? Thanx in advance Mahesh
That's because the connection string is different. The ADO/OLEDB section from the ASP documentation shows exactly what it expects. PWS is a stripped down version of IIS and works with less stringent constraints. That's why it works with PWS.
-
That's because the connection string is different. The ADO/OLEDB section from the ASP documentation shows exactly what it expects. PWS is a stripped down version of IIS and works with less stringent constraints. That's why it works with PWS.
Thanx Rod, Actually i created the OLE DB connection using the 'Data Consumer ATL'. I look at it and try to fix it. Thanx once again. Mahesh