I am trying to use sever side alias.

[ServerAliases]
TeamDataBase=c:\TeamData // works fine

or

TeamDataBase=\\\oatkinson-lr1\hd_x\TeamData // works fine.

hd_x is a share on an external SATA drive

on Tom's machine

[ServerAliases]
TeamDataBase=\\\twalden\ExtE\TeamData // does not work

Here ExtE is a share on an external drive too, however USB connected.

both cases the share is the root of the drive

Error returned is a 7078

The connection string is always:

"Data Source = \\\[Correct Machine Name]\TeamDataBase\mydata\mydictionary.add;user=me;password=why;"

could the different connection method of the externalk HD be the cause that one machine works, the other does not ?

Thanks Oskar

asked 31 Dec '12, 10:24

Oskar's gravatar image

Oskar
841404366
accept rate: 18%

edited 26 Feb '15, 09:28

Jens%20M%C3%BChlenhoff's gravatar image

Jens Mühlenhoff
1.3k51037


The external drive type shouldn't matter, USB vs external SATA. Be sure to use two slashes at the front of your connection string when it is a UNC path (\\server\share). Also make sure you're not mixing local and remote connections. Maybe try specifying ServerType=Remote in your connection string.

link

answered 31 Dec '12, 13:00

Peter%20Funk's gravatar image

Peter Funk
4.3k2380
accept rate: 32%

edited 31 Dec '12, 13:38

I would also want to make sure that the owner of the directory on the external drive is the same user as the owner of the ADS service on the server. On Linux that user should be the user.group advantage.advantage. On Windows that user should be the user system.

link

answered 31 Dec '12, 13:36

Reinaldo's gravatar image

Reinaldo
816202346
accept rate: 6%

Your answer to the original question.
If responding to a request for additional information, please edit the question or use the comment functionality.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×133
×9

Asked: 31 Dec '12, 10:24

Seen: 1,838 times

Last updated: 26 Feb '15, 09:28

Advantage Developer Zone Contact Us Privacy Policy Copyright Info


Powered by Advantage Database Server and OSQA
Disclaimer: Opinions expressed here are those of the poster and do not necessarily reflect the views of the company.