🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4732

TADOConnection->Open() troubles. HELP NEEDED!

#4732
From: Alex Hudich
Date: Fri, 23 Nov 2001 06:18
20 lines
1385 bytes
TADOConnection * ADOConn = new TADOConnection( NULL );
ADOConn->LoginPrompt=false;
ADOConn->ConnectionString = "some";
ADOConn->Open();
if ( ADOConn->Connected )
{
      ADOConn->Close();
}
delete ADOConn;


It is set to run as an ASP Component.  It fails 
every time with an EAccessViolation error on ADOConn->Open();
Now, I took this code, made a simple form and created an .exe file.  It  runs fine with no errors.

Is this an IIS memory use issue that I need to look into? Or is there some simple thing that I missed when setting Components to work with an ASP COM  object?


PLEASE HELP!
Technical Details
Message-ID: <3bfdea29$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,7379691d579a8018,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-11-22 22:21:46 PST
From: "Alex Hudich" <altx@mail.ru>
Sender: "Alex Hudich" <altx@mail.ru>
Reply-To: "Alex Hudich" <altx@mail.ru>
Subject: TADOConnection->Open() troubles. HELP NEEDED!
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 195.161.93.227 195.161.93.227    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3bfdea29$1_1@dnews>
Date: 22 Nov 2001 22:18:17 -0800
X-Trace: dnews 1006496297 207.105.83.65 (22 Nov 2001 22:18:17 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews