By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,451 Members | 928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,451 IT Pros & Developers. It's quick & easy.

ADODB.Stream: Error--Invalid class String

P: n/a
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
Share this Question
Share on Google+
1 Reply

P: n/a
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.