Solved

Cannot attach to password Database

Posted on 2003-12-09
4
7,050 Views
Last Modified: 2013-12-09
Hi,
We developped an application based on Interbase 7. It works
fine on developpers computers but final user cannot execute the program :
he gets this message : 'Cannot attach to password database'.
Developpers and users are using the same interbase server. If any
developpers is already in the program, the final user has no problem, it
works fine.

If I open a Windows session on his computer with my login/pass and launch
the program, it works
fine.
If I opens a Windows session on my computer with his login/pass and launch
the program, I get the famous message

If the system administrator give the user the same windows rights as I have,
it work fine for everybody (except for the sys admin who doesn't like such
situation... :-)  )

So,it seems that final user needs some specifics righth, but witch ones ?

Note : Dephi7 arch / Clients : windows XP / Server Windows 2000

Thanks for any help

Mike
0
Comment
Question by:EKIM
  • 2
4 Comments
 
LVL 6

Expert Comment

by:BAlexandrov
ID: 9905549
What your connection string looks like? Do you use tcp to connect?
0
 
LVL 2

Expert Comment

by:vowca
ID: 9910466
Is IB runned as service or as application?
If service - does it have 'Interact with desktop" option on?
If application - maybe user has no grant for isc4.gdb file or IB steeings in registry?

Also i heard about bug in IB and clones - if You connect via NetBEUI (string like \\\MyPc\some-database) then Your user should have grants for both GDB file - password and data databases.
With local and TCP connetcion it is enough to grant access for user, used to launch ibserver.exe, but with NetBEUI both must have grants.
0
 

Author Comment

by:EKIM
ID: 9911963

connection string : \\DBServ\D:\Myappli\DB  
where DBServ is the network name of the Interbase server machine, and D: is the Local drive (from the server view)


IB runs as service, and it have 'Interact with desktop" option on

I don't know how to say you I I use TCP or NetBeui protocol.

Best Regards
Mike
0
 
LVL 6

Accepted Solution

by:
BAlexandrov earned 250 total points
ID: 9912110
You use NetBeui - this depends on connection string. Change it to:
DBServ:D:\Myappli\DB
or
ip_of_your_server:local_physical_path_to_file_on_server.gdb

Netbeui is not recomended way to communicate with Interbase. And it is removed from later versions
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Space Delimited Sql File 4 81
MarkLogic 1 69
Insert with SET how to handle join 6 57
How to get sum of group by column and sum of total values 4 56
Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now