Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Ads OpenTable fails in local server mode -can't find file 7041


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0 Threads: [ Previous | Next ]
charles leggette

Posts: 45
Registered: 7/17/00
Ads OpenTable fails in local server mode -can't find file 7041  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 3:37 AM
Using Tokyo 10.2 and ADS local server 10.10....
Here is .add connection string to local C:\dai\plx_data\planfaxsystem.add

rc = AdsConnect60((unsigned char*)m_strConnect.GetBuffer(0), ADS_LOCAL_SERVER, (unsigned char*)"guest", (unsigned char*)"4417", ADS_TCP_IP_CONNECTION | ADS_COMPRESS_NEVER | ADS_IGNORERIGHTS , &m_connection);

followed by attempt to connect o a local table that's a non-free ADT table owned by Planfaxsystem.add

rc = AdsOpenTable(pAdxDb.m_connection, (unsigned char*) "system_runtimeparameters"/*tableName.c_str()*/, NULL, ADS_ADT, ADS_ANSI, ADS_PROPRIETARY_LOCKING, ADS_IGNORERIGHTS, ADS_SHARED, &hTable);//ADS_CHECKRIGHTS,

Error returned is a 7041 -- can't find file....file is there as evidenced by using DatArch to open and access same.

No other users present.

Any ideas?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02