>Hi to all, i am tring to open a database called "database.dcb" in a shared directory called C:\DATI on the 'server',and on the 'client' i have mapped the same directory with E:(\\SERVER\DATI). When i launch my application from the server OR from the client all is ok, but when i use simultaneusly the two application just i run the second accours the error 'access file denied' on the line OPEN DATABASE E:\database.dbc SHARED. The set exclusively is off. The problem is why if i use the application from the server or the client is OK and not simultaneusly??
When does this happen, when you launch or exactly when you open the database? One thing to look for is the resource file (which would explain the first case), foxuser.dbf, because it is always open exclusively, and if it is on the same directory as the app, all the users would try to use it. One way would be to turn it off (resource=off in config.fpw, or Set Resource Off in the first lines of the app), or to have one for each user (having a template resource table somewhere, and then copying to user's temp drive if not already there, then Set Resource To [local copy]).
If it's the .dbc, I wouldn't know - maybe you have a private datasession when you do it, and it has most of the SET commands for itself, so Set Exclusive may actually be in effect.