Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

what wrong with my adsserver.ini?

6 posts in Networking Last posting was on 2007-12-26 15:41:43.0Z
Sobari Tanuwijaya Posted on 2007-12-14 08:45:00.0Z
Date: Fri, 14 Dec 2007 15:45:00 +0700
From: Sobari Tanuwijaya <tanuwijaya@gmail.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: Advantage.Networking
Subject: what wrong with my adsserver.ini?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 125.163.17.140
Message-ID: <4762408c@solutions.advantagedatabase.com>
X-Trace: 14 Dec 2007 01:36:28 -0700, 125.163.17.140
Lines: 54
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!125.163.17.140
Xref: solutions.advantagedatabase.com Advantage.Networking:727
Article PK: 1132146

Hi,

I put AdsServer.ini on c:\ drive of my windows xp computer, which consist

[ServerAliases]
Data=d:\Data

the computer has IP address: 192.168.1.1, and I change the ADS port to 5000

Then I tried to connect to MasterDb.add which located at
d:\Data\master\Dictionary from the same computer using ARC.

In ads.ini I put:

[SVR]
LAN_IP=192.168.1.1
LAN_PORT=5000

[Databases]
MasterDb=\\SVR\Data\Master\Dictionary\MasterDb.add;D

But the ARC gives me this:

Error 5004: Either ACE could not find the specified file, or you do not
have sufficient rights to access the file. The data dictionary file is
not found on the server

After a while I try to change the value in ads.ini to this:

[Databases]
\\192.168.1.1:5000\Data\Master\Dictionary\masterDb.add;D

and now arc can access the dictionary without problem, the same thing
happen when I tried to connect from other computer.

Then I do the first configuration on linux box, I change the ads.ini

[MYLNX]
LAN_IP=192.168.1.2
LAN_PORT=5000

[Databases]
MasterDb=\\MYLNX\Data\Master\Dictionary\MasterDb.add;D

when I tried to connect to the Masterdb.add, it can connect without problem.

The question is:
* Why I have to specifically put the ip and port address when I put
the ads server on windows, while I don't have to do it when using
linux?

Thanks in advance

-- Tanu --


Jeremy Mullin Posted on 2007-12-20 21:51:59.0Z
Date: Thu, 20 Dec 2007 21:51:59 +0000 (UTC)
Message-ID: <1b468bc82fcec8ca112f020dc8df@devzone.advantagedatabase.com>
From: Jeremy Mullin <no@email.com>
Subject: Re: what wrong with my adsserver.ini?
Newsgroups: Advantage.Networking
References: <4762408c@solutions.advantagedatabase.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-Newsreader: JetBrains Omea Reader 1098.1
NNTP-Posting-Host: 10.24.38.114
X-Trace: 20 Dec 2007 14:46:34 -0700, 10.24.38.114
Lines: 12
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.114
Xref: solutions.advantagedatabase.com Advantage.Networking:728
Article PK: 1132147


> Error 5004: Either ACE could not find the specified file, or you do
> not have sufficient rights to access the file. The data dictionary
> file is not found on the server

You have to disable rights checking when using a server side alias, otherwise
the client will try to do an existence check, which will fail and cause the
5004 error to be returned.

J.D. Mullin
Advantage R&D


Sobari Tanuwijaya Posted on 2007-12-21 23:33:05.0Z
Date: Sat, 22 Dec 2007 06:33:05 +0700
From: Sobari Tanuwijaya <tanuwijaya@gmail.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: Advantage.Networking
Subject: Re: what wrong with my adsserver.ini?
References: <4762408c@solutions.advantagedatabase.com> <1b468bc82fcec8ca112f020dc8df@devzone.advantagedatabase.com>
In-Reply-To: <1b468bc82fcec8ca112f020dc8df@devzone.advantagedatabase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 125.163.6.182
Message-ID: <476c4ac0@solutions.advantagedatabase.com>
X-Trace: 21 Dec 2007 16:22:40 -0700, 125.163.6.182
Lines: 10
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!125.163.6.182
Xref: solutions.advantagedatabase.com Advantage.Networking:729
Article PK: 1132148


Jeremy Mullin wrote:
>> Error 5004: Either ACE could not find the specified file, or you do
>> not have sufficient rights to access the file. The data dictionary
>> file is not found on the server
>
> You have to disable rights checking when using a server side alias,
> otherwise the client will try to do an existence check, which will fail
> and cause the 5004 error to be returned.

Sure, I have don't that but the same result came up. (SOL)


Edgar Sherman Posted on 2007-12-21 23:52:18.0Z
From: "Edgar Sherman" <no@email.com>
Newsgroups: Advantage.Networking
References: <4762408c@solutions.advantagedatabase.com> <1b468bc82fcec8ca112f020dc8df@devzone.advantagedatabase.com> <476c4ac0@solutions.advantagedatabase.com>
Subject: Re: what wrong with my adsserver.ini?
Date: Fri, 21 Dec 2007 16:52:18 -0700
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: 10.24.34.133
Message-ID: <476c506d@solutions.advantagedatabase.com>
X-Trace: 21 Dec 2007 16:46:53 -0700, 10.24.34.133
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.34.133
Xref: solutions.advantagedatabase.com Advantage.Networking:730
Article PK: 1132149

Check you connection properties and change the "ServerType" from local to
remote.

Edgar Sherman

"Sobari Tanuwijaya" <tanuwijaya@gmail.com> wrote in message
news:476c4ac0@solutions.advantagedatabase.com...
> Jeremy Mullin wrote:
>>> Error 5004: Either ACE could not find the specified file, or you do
>>> not have sufficient rights to access the file. The data dictionary
>>> file is not found on the server
>>
>> You have to disable rights checking when using a server side alias,
>> otherwise the client will try to do an existence check, which will fail
>> and cause the 5004 error to be returned.
>
> Sure, I have don't that but the same result came up. (SOL)


Sobari Tanuwijaya Posted on 2007-12-22 15:56:05.0Z
Date: Sat, 22 Dec 2007 22:56:05 +0700
From: Sobari Tanuwijaya <tanuwijaya@gmail.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: Advantage.Networking
Subject: Re: what wrong with my adsserver.ini?
References: <4762408c@solutions.advantagedatabase.com> <1b468bc82fcec8ca112f020dc8df@devzone.advantagedatabase.com> <476c4ac0@solutions.advantagedatabase.com> <476c506d@solutions.advantagedatabase.com>
In-Reply-To: <476c506d@solutions.advantagedatabase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 125.163.28.24
Message-ID: <476d3144@solutions.advantagedatabase.com>
X-Trace: 22 Dec 2007 08:46:12 -0700, 125.163.28.24
Lines: 52
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!125.163.28.24
Xref: solutions.advantagedatabase.com Advantage.Networking:731
Article PK: 1132150

Here is the contents of my ads.ini

[SETTINGS]
ADS_SERVER_TYPE=2
RETRY_ADS_CONNECTS=1
DEFAULT_PROTOCOL=0
USE_TCP_IP=1

[LOCAL_SVR]
LAN_IP=192.168.1.7
LAN_PORT=5000


[Databases]
; test adsserver.ini
TRMasterDb=\\LOCAL_SVR\MasterBan\Dictionary\TireMasterDb.add;D

and here is the contents of my AdsServer.ini

[ServerAliases]
MasterBan=d:\projects\Tire\Data\Master

The error I mention before still show up when I try to connect to
TRMasterDb, but can connect without problem when I change the
value for TRMasterDb to
\\192.168.1.7:5000\MasterBan\Dictionary\TireMasterDb.add;D

I use ARC to connect to the dictionary.

Thanks.

Edgar Sherman wrote:
> Check you connection properties and change the "ServerType" from local
> to remote.
>
> Edgar Sherman
>
> "Sobari Tanuwijaya" <tanuwijaya@gmail.com> wrote in message
> news:476c4ac0@solutions.advantagedatabase.com...
>> Jeremy Mullin wrote:
>>>> Error 5004: Either ACE could not find the specified file, or you do
>>>> not have sufficient rights to access the file. The data dictionary
>>>> file is not found on the server
>>>
>>> You have to disable rights checking when using a server side alias,
>>> otherwise the client will try to do an existence check, which will
>>> fail and cause the 5004 error to be returned.
>>
>> Sure, I have don't that but the same result came up. (SOL)
>


Edgar Sherman Posted on 2007-12-26 15:41:43.0Z
From: "Edgar Sherman" <no@email.com>
Newsgroups: Advantage.Networking
References: <4762408c@solutions.advantagedatabase.com> <1b468bc82fcec8ca112f020dc8df@devzone.advantagedatabase.com> <476c4ac0@solutions.advantagedatabase.com> <476c506d@solutions.advantagedatabase.com> <476d3144@solutions.advantagedatabase.com>
Subject: Re: what wrong with my adsserver.ini?
Date: Wed, 26 Dec 2007 08:41:43 -0700
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: 10.24.34.133
Message-ID: <477274f2@solutions.advantagedatabase.com>
X-Trace: 26 Dec 2007 08:36:18 -0700, 10.24.34.133
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.34.133
Xref: solutions.advantagedatabase.com Advantage.Networking:732
Article PK: 1132151

Again, please check the ARC Connection settings that you are connecting via
REMOTE and NOT LOCAL server.

Feel free to copy/paste the Connection Repository section of your ads.ini

Edgar

"Sobari Tanuwijaya" <tanuwijaya@gmail.com> wrote in message
news:476d3144@solutions.advantagedatabase.com...
> Here is the contents of my ads.ini
>
> [SETTINGS]
> ADS_SERVER_TYPE=2
> RETRY_ADS_CONNECTS=1
> DEFAULT_PROTOCOL=0
> USE_TCP_IP=1
>
> [LOCAL_SVR]
> LAN_IP=192.168.1.7
> LAN_PORT=5000
>
>
> [Databases]
> ; test adsserver.ini
> TRMasterDb=\\LOCAL_SVR\MasterBan\Dictionary\TireMasterDb.add;D
>
> and here is the contents of my AdsServer.ini
>
> [ServerAliases]
> MasterBan=d:\projects\Tire\Data\Master
>
> The error I mention before still show up when I try to connect to
> TRMasterDb, but can connect without problem when I change the
> value for TRMasterDb to
> \\192.168.1.7:5000\MasterBan\Dictionary\TireMasterDb.add;D
>
> I use ARC to connect to the dictionary.
>
> Thanks.
>
>
>
> Edgar Sherman wrote:
>> Check you connection properties and change the "ServerType" from local to
>> remote.
>>
>> Edgar Sherman
>>
>> "Sobari Tanuwijaya" <tanuwijaya@gmail.com> wrote in message
>> news:476c4ac0@solutions.advantagedatabase.com...
>>> Jeremy Mullin wrote:
>>>>> Error 5004: Either ACE could not find the specified file, or you do
>>>>> not have sufficient rights to access the file. The data dictionary
>>>>> file is not found on the server
>>>>
>>>> You have to disable rights checking when using a server side alias,
>>>> otherwise the client will try to do an existence check, which will fail
>>>> and cause the 5004 error to be returned.
>>>
>>> Sure, I have don't that but the same result came up. (SOL)
>>