🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #747

Re: learning MIDAS

#747
From: Steve Vu
Date: Wed, 15 Nov 2000 00:00
52 lines
2850 bytes
Hi Gaetano,
Can you try to have the client running on another machine?.  I have a
problem when I do that. After I enter the guid to the DCOMConnection1, the
Servername is blank in the combo box.  In addition, after I entered the
computername and change active to true, I received an error message "Access
Invalid".  If you or anyone know what I did wrong please help.  Thanks.

Steve

Gaetano Piazza <gapsoft@tin.it> wrote in message news:39f540f8$1_2@dnews...
> Now I am learning how to use multi tier in c++Builder and I have some
> difficulties, so I need your help, thank you!
> I have done the following steps:
> 1. I have created a new application project, and save it as
"ProjectServer";
> 2. In this project I have created a new remote data module by choosing  it
> from Menu File-New-Multitier-Remote Data Module, and save it as
> "ServerDataModule"
> 3. I have added a DataSetProvider and a Table components (named
> DataSetProvider1 and Table1) in this remote data module;
> 4. I have done the following assignments:
> Table1->DatabaseName = DefaultDD;
> Table1->TableName = bdesdd.db;
> DataSetProvider1->DataSet = Table1;
> 5. I have compiled and executed the project;
> 6. In addition I have registered the server with the following line
command
> from Start-Execute:
> C:\Programmi\Borland\CBuilder5\Projects\ProjectServer.exe /regserver
> 7. I have created another application project named ProjectClient;
> 8. I have added in that project a ClientDataSet and a DCOMConnection
> components (named ClientDataSet1 and a DCOMConnection1)
> 9. I have done the following assignments:
> DCOMConnection1->ServerName = ProjectServer.ServerDataModule (I have
chosen
> the unique name appeared in the combobox list);
> DCOMConnection1->ComputerName = <the same computer name where I was
> working>;
> ClientDataSet1->RemoteServer =  DCOMConnection1;
> 10. Thus when I tried to assign ClientDataSet1->ProviderName, or when I
> tried to assign DCOMConnection1->Connected = true, has appeared the
> following operating system error message: "Server execution failed". This
> message could be a bit different in English operating system version
because
> I translated it from Italian "Esecuzione del server non riuscita".
>
> Thank you for your help.
> Tano Piazza (from Italy)
>
>
>
>
Technical Details
Message-ID: <3a127db3_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39f540f8$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,796a2b22f882d62f
X-Google-Attributes: gidfcd2b,public
From: "Steve Vu" <stevevuasc@hotmail.com>
Subject: Re: learning MIDAS
Date: 2000/11/15
Message-ID: <3a127db3_2@dnews>
X-Deja-AN: 693867383
References: <39f540f8$1_2@dnews>
X-Trace: 15 Nov 2000 04:12:35 -0800, 63.208.165.233
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.cppbuilder.database.multi-tier
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200