469,573 Members | 1,655 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

ADODB.Stream: Error--Invalid class String

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
Jul 19 '05 #1
1 2183
Install the latest version of MDAC.
http://msdn.microsoft.com/library/de...dataaccess.asp

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


"Mohit Gupta" <an*******@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.com...
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??
If I have to re-register that class, then from where I will get the DLL file of that class??
Thanks
Mohit Gupta

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Richard K Bethell | last post: by
reply views Thread by Peter Rilling | last post: by
10 posts views Thread by =?Utf-8?B?SnVhbg==?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.