Book a Demo

Author Topic: File sharing lock count exceeded.  (Error 305  (Read 6982 times)

yunwang

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
File sharing lock count exceeded.  (Error 305
« on: April 20, 2005, 03:23:33 pm »
I am trying to synchronize a replica to the master project. I got this error:
File sharing lock count exceeded.  (Error 3052)

What is the cause of this error? How to fix it?

FYI: EA Program Version 4.10.738.


Thanks
yun

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: File sharing lock count exceeded.  (Error
« Reply #1 on: April 20, 2005, 04:08:48 pm »
Hi Hun,

It seems that this problem is related to a Jet 4 issue.  You may find this link of intereset - it contains a potential remedy:

http://support.microsoft.com/kb/q198633/

Ash
The Sparx Team
[email protected]

yunwang

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: File sharing lock count exceeded.  (Error 305
« Reply #2 on: April 21, 2005, 09:40:23 am »
Following the instruction in the linked page, I increased the MaxLocksPerFile setting. But I still get the same error. I have to use export/import to get my changes into the master project. Will do more frequent synchronizations.

Thanks
yun

thomaskilian

  • Guest
Re: File sharing lock count exceeded.  (Error
« Reply #3 on: April 21, 2005, 01:37:04 pm »
What jet version do you use for the EA repository?

yunwang

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: File sharing lock count exceeded.  (Error 305
« Reply #4 on: April 21, 2005, 01:45:36 pm »
I did not check "Use JET 4.0" in my EA. I am not sure what is in use for checking the file sharing lock count.
yun

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: File sharing lock count exceeded.  (Error
« Reply #5 on: April 21, 2005, 05:36:40 pm »
If "Use Jet 4.0" is not checked then EA will be using the Jet 3.5 interface.

As a result, I don't think that the 4.0 registry settings will be active.

You may try manipulating the keys relative to 3.5:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\3.5\Engines\Jet 3.5

I hope this helps.

Ashley
The Sparx Team
[email protected]

yunwang

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: File sharing lock count exceeded.  (Error 305
« Reply #6 on: April 22, 2005, 07:38:33 am »
I have tried to increase both 3.x and 4.0 from 9500 to 299500. I still have the same error:(

I also tried to check the Use JET 4.0 in EA. Then I got the following error when trying to open the replica or synchronize the replica or uncheck the Use JET 4.0:

---------------------------
EA
---------------------------
DAO.Database [3703]

Operation not supported on replicable databases that have not been converted to the current version.
---------------------------
OK  
---------------------------



Yun



yun

thomaskilian

  • Guest
Re: File sharing lock count exceeded.  (Error
« Reply #7 on: April 25, 2005, 02:12:01 am »
 :o You're right. Replication does not work with Jet 4.0. Why ???

nara_c

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: File sharing lock count exceeded.  (Error 305
« Reply #8 on: September 25, 2005, 02:36:49 pm »
Hi,

I experienced the same problem when trying to setup replication on a EAP file.

EA displayed the following error when I tried to create a Design Master:

"Operation not supported on replicable databases that have not been converted to the current database"

I am running EA ver 5.00.770.

I initially had Jet ver 4.0 turned on.  I thought this could be the issue and turned it off (going back to Jet 3.5) but the issue persisted.  

The following series of steps show how I got around this issue.

Resolution to Design Master error
Then I opened EAP file in Access 2000 and was prompted that the file was created in an older version of Access (Jet 3.5).  So I selected to upgrade the database version to Jet 4.0.

Creation of Replicas
Once this was completed I went back into EA and was able to create the Design master and replicas.  I tried synchronisation by making some sample changes and it worked fine.

So far so good.  I created 3 replicas for my team and want to see how it goes.  

Advice please!
Since this is a large model that is likely to grow exponentially, I am wondering if anyone has advise on this approach.  Earlier I was using the Import export option and this was getting tricky hence the shift in synchonisation approach.

I am a bit concerned from this post that some of you are facing problems as the size increases.  My current EAP file is around 15 MB.  

Is the replication solution reliable or should I stick to Import/Export of remote files?  Way I figured it, if replication falls over at some stage I can still use the Export/Import option.  Is this advisable?

Thanks
Nara




sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: File sharing lock count exceeded.  (Error
« Reply #9 on: September 26, 2005, 03:25:10 pm »
Things may have improved in the last two years, but ....

IMO Jet replication is (was) a dog.  You'll end up spending more time jigging replication errors than you ever would trying to manually synch model copies in a small team.

There is a ton of stuff on the net about jet replication problems.  

sadly...

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.