Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: kayani on July 18, 2007, 05:24:18 pm

Title: XMI import problem
Post by: kayani on July 18, 2007, 05:24:18 pm
I'm trying to load a package from a large XMI file in EA but it inconsistently generates various error messages i.e. "DAO.Database[3035] System resource exceeded", "DAO.Database[3052] File Sharing lock count exceeded, Increase ...". When i load the package from several small XMI files (exported for sub-packages) it works fine but for complete package with a big XMI file it just crashes every time. Is there any maximum model or file size limit known in this scenario?
The problem persists in both 6.5 and 7 versions.
Title: Re: XMI import problem
Post by: VK on July 18, 2007, 07:35:59 pm
Hi kayani,

Check if this solves your issue : http://support.microsoft.com/kb/q198633/

Cheers.
Title: Re: XMI import problem
Post by: Giu Platania on February 23, 2018, 04:03:14 am
hi,
I'm working a windows 10 machine with EA 13 installed and I have the issue of the XMI import of a 150 MB file.
I tried to modify the registry but the key
SOFTWARE\Microsoft\Jet\4.0\Engines\Jet 4.0
described here
https://support.microsoft.com/en-ca/help/198633/you-receive-an-file-sharing-lock-count-exceeded-error-message-when-you

is not present on my system

idea?
thanks
Title: Re: XMI import problem
Post by: Giu Platania on February 23, 2018, 04:06:25 am
BTW, the original model is on a SQL server, what I'm looking for is to have a "portable version" of it, this is why I need an EAP file.
Title: Re: XMI import problem
Post by: VKN on February 23, 2018, 10:21:37 am
If you don't have that key present in the registry then create it and try the import again.
Title: Re: XMI import problem
Post by: hd on February 23, 2018, 02:51:55 pm
I think you'll find the key in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\...
Title: Re: XMI import problem
Post by: Geert Bellekens on February 23, 2018, 03:33:13 pm
BTW, the original model is on a SQL server, what I'm looking for is to have a "portable version" of it, this is why I need an EAP file.
In that case you are better off using model transfer.
Much faster and less error prone then xmi import/export.

Geert
Title: Re: XMI import problem
Post by: Paolo F Cantoni on February 23, 2018, 05:25:09 pm
BTW, the original model is on a SQL server, what I'm looking for is to have a "portable version" of it, this is why I need an EAP file.
In that case you are better off using model transfer.
Much faster and less error prone then xmi import/export.

Geert
+10  We snapshot our corporate repository using project transfer every night.  A 600Mb output file takes about 10 mins.

Paolo
Title: Re: XMI import problem
Post by: eberline on October 23, 2018, 09:11:45 am
Although the Microsoft support article doesn't mention it, I needed to restart Windows before the larger MaxLocksPerFile value seemed to take effect. Once I'd done that, all good. FWIW.

(I was getting those pesky DAO errors pasting a diagram.)