ADODB.Stream: Error--Invalid class String

M

Mohit Gupta

Hi all,

I am using Microsoft Visual Interdev to write/develop ASP code. Refering to code below, when I tried to create object of class "ADODB.Stream", an error was reported by IIS/ASP error engine stating "invalid class

Cod
---------

set testObject = Server.CreateObject("ADODB.Stream"

When I used 'testObject.' in Microsoft Visual Interdev software, all the related methods and variables were listed in front of me. This means that some how ADODB.Stream is registered somewhere but IIS/ASP engine is unable to find it.

Can somebody tell me what can be actual reason?? Could it be registry problem?? Should I re-register that class?

If I have to re-register that class, then from where I will get the DLL file of that class?

Thank
Mohit Gupta
 
A

Aaron Bertrand [MVP]

Install the latest version of MDAC.
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/dataaccess.asp

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




Mohit Gupta said:
Hi all,

I am using Microsoft Visual Interdev to write/develop ASP code. Refering
to code below, when I tried to create object of class "ADODB.Stream", an
error was reported by IIS/ASP error engine stating "invalid class"
Code
----------

set testObject = Server.CreateObject("ADODB.Stream")

When I used 'testObject.' in Microsoft Visual Interdev software, all the
related methods and variables were listed in front of me. This means that
some how ADODB.Stream is registered somewhere but IIS/ASP engine is unable
to find it.
Can somebody tell me what can be actual reason?? Could it be registry
problem?? Should I re-register that class??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top