Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Server.CreateObject("ADODB.Errors") fails

Reply
Thread Tools

Server.CreateObject("ADODB.Errors") fails

 
 
George Hester
Guest
Posts: n/a
 
      05-31-2004
with Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

My other Server.CreateObject's work for other ADODB objects but not for this one. Any ideas why and how to fix?
Windows 2000 Server SP3.

Thanks.

--
George Hester
__________________________________
 
Reply With Quote
 
 
 
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      05-31-2004
You can use ADODB.Errors as an object in VB, but I don't believe this is
exposed to ASP. I have only seen the errors collection of ADODB.Connection
being used.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
(Reverse e-mail to reply.)





"George Hester" <> wrote in message
news:...
with Invalid ProgID. For additional information specific to this message
please visit the Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.

My other Server.CreateObject's work for other ADODB objects but not for this
one. Any ideas why and how to fix?
Windows 2000 Server SP3.

Thanks.

--
George Hester
__________________________________


 
Reply With Quote
 
 
 
 
Egbert Nierop \(MVP for IIS\)
Guest
Posts: n/a
 
      06-01-2004
>"George Hester" <> wrote in message
news:...
>with Invalid ProgID. For additional information specific to this message

please visit the Microsoft Online Support site located at:
>http://www.microsoft.com/contentredirect.asp.


>My other Server.CreateObject's work for other ADODB objects but not for

this one. Any ideas why and how to fix?
>Windows 2000 Server SP3.


The Errors collection is non-creatable, which means that the factory for
creating that collection is not in your hands but in the hands of ADODB
itselves...


TO fetch one do this

Set myErrors = myConn.Errors
For each Er in myErrors
Response.Write er.Description
Response.Write "<BR>"
Response.Write er.Source
Next

>Thanks.


>--
>George Hester


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Constant.t fails 240 of 272 tests and recurs.t fails 1 of 25 tests on HPUX using perl 5.8.7 dayo Perl Misc 11 12-16-2005 09:09 PM
slideshow fails, Firefox debugger also fails lkrubner@geocities.com Javascript 2 12-23-2004 06:22 PM
Wireless Zero Configuration Servoce fails to start andrew Wireless Networking 0 07-28-2004 03:08 PM
IAS fails with certs from Stand Alone CA Harrison Midkiff Wireless Networking 2 07-22-2004 09:45 PM
Forms Authentication Fails Between ASP.NET 1.0 and 1.1 Applications (Cookie Decryption Fails) John Saunders ASP .Net 1 11-18-2003 03:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57