Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Error #401
Sun, Apr 18 2010 1:22 PMPermanent Link

Hershcu Sorin

Hello

I'm using D2009 with edb 2.03b11
I try to run my app on a network enviroment with 2 stations.

On the main DataModule I alter the database path and it run ok.
I can browse on the database from both stations
But then I have that scenario:
Open a record on edit mode on station1.
Open a record on edit mode on station2.
Close the record on station1 and try to open again but now it's raise the
error #401
"The path specified for database "databaseName" does not exist"

I know that I have something basically wrong but no idea where to look for
the problem.

Any suggestions?
Thanks Sorin

Mon, Apr 19 2010 4:19 AMPermanent Link

Hershcu Sorin

Additional  information.
The error does not ocurre if I use UNC path only with maped network drive.

Are maped drivers requiered diferent configuration?

Thanks Sorin


"Sorin H" <sorinh@zahav.net.il> wrote in message
news:0863A5C1-F21D-4829-B009-0B519949A9C4@news.elevatesoft.com...
> Hello
>
> I'm using D2009 with edb 2.03b11
> I try to run my app on a network enviroment with 2 stations.
>
> On the main DataModule I alter the database path and it run ok.
> I can browse on the database from both stations
> But then I have that scenario:
> Open a record on edit mode on station1.
> Open a record on edit mode on station2.
> Close the record on station1 and try to open again but now it's raise the
> error #401
> "The path specified for database "databaseName" does not exist"
>
> I know that I have something basically wrong but no idea where to look for
> the problem.
>
> Any suggestions?
> Thanks Sorin
>

Mon, Apr 19 2010 5:02 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Sorin

>Additional information.
>The error does not ocurre if I use UNC path only with maped network drive.
>
>Are maped drivers requiered diferent configuration?

Unlike DBISAM ElevateDB looks at the database not the path and the database path has to be the same for all instances. I'm guessing here but with the mapped drive you might have C: for the local machine and X: for the networked machine and that just won't work. Using UNC you have the same path each time.

Roy Lambert
Mon, Apr 19 2010 6:46 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< The error does not ocurre if I use UNC path only with maped network
drive. >>

Roy is correct - the database path must resolve in the same fashion for each
client machine, which means that UNC is the way to go.

--
Tim Young
Elevate Software
www.elevatesoft.com
Tue, Apr 20 2010 4:40 AMPermanent Link

Hershcu Sorin


"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message>
> Roy is correct - the database path must resolve in the same fashion for
> each client machine, which means that UNC is the way to go.
>

Thanks

That mean that I have to run also the app on the local machine with VNC ?
The istallation programs knows how to do it or I have to make the change
manual?

Thanks Sorin

Tue, Apr 20 2010 5:53 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Sorin


>That mean that I have to run also the app on the local machine with VNC ?

Yes. Unless its a single user app working in fileserver mode always use UNC.

>The istallation programs knows how to do it or I have to make the change
>manual?

What installation program?

Roy Lambert [Team Elevate]
Tue, Apr 20 2010 6:16 AMPermanent Link

Hershcu Sorin


"Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message>

> What installation program?

InstallAware

Tue, Apr 20 2010 7:58 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Sorin

>InstallAware

I've never used it but I doubt that it has any idea about ElevateDB so you'll need to set the database path yourself, probably when the app starts for the first time.

Roy Lambert [Team Elevate]
Tue, Apr 20 2010 7:58 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< That mean that I have to run also the app on the local machine with VNC ?
>>

If you're sharing the database from that same machine, then yes, it will
also need to use UNC path references.

As far as the installation program, your installation program doesn't really
deal with setting up an ElevateDB database, so you'll have to do that with a
separate installation program that is called from the main installation
program that you're using, or the application itself will have to set up the
database paths.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image