Article View: borland.public.cppbuilder.database.multi-tier
Article #73datasnap access violation
From: lakis
Date: Tue, 22 Mar 2005 10:27
Date: Tue, 22 Mar 2005 10:27
13 lines
1789 bytes
1789 bytes
i have used datasnap remote data module to create a multi tier database application... i have placed in the remote data module an ado connection ,4 ado tables and 4 dataset providers..i have also (of course a form1)..i want to when i click the start/shutdown button on the Form1 to stop or start the datasnap server...when i try to stop the adoconnection (with connected->false,or cancel()) i get an access violation,same for the tables(adotable->active=false) the same for the dataset providers..it seems that i cant change anything in the remote data module by using a button on the form1...of course i have included the file header(<include...)...what am i doing wrong? the funny thing is that if i put an adoconnection in my form and use a button to start stop it ,it works perfectly!
Technical Details
Message-ID:
<423ff302@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,819ac6fcd9b2eba,start X-Google-Attributes: gidfcd2b,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "lakis" <lakis@hotmail.com> From: "lakis" <lakis@hotmail.com> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: datasnap access violation Date: Tue, 22 Mar 2005 12:27:06 +0200 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 195.251.45.43 Message-ID: <423ff302@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111487234 195.251.45.43 (22 Mar 2005 02:27:14 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail