Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION THAT IS CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED TO SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

This article applies to Microsoft Dynamics NAV for all countries and all language locales.

Symptoms

Microsoft Dynamics NAV customers may experience blocking problems when multiple users enter journal entries, sales order entries, purchase order entries and similar tasks in Microsoft Dynamics NAV 2009 SP1.

Cause

Microsoft SQL Server blocking problems can be caused by unwanted range locks in the SQL Server database. These range locks occur when running under the SERIALIZABLE isolation level on Microsoft SQL server.


Without the hotfix described in this article, Microsoft Dynamics NAV uses the SERIALIZABLE transaction isolation level in Microsoft SQL Server in writable transactions. After applying this hotfix, it will be possible to configure Microsoft Dynamics NAV to use the REPEATABLE READ isolation level instead.

Resolution

To resolve this problem, follow these steps:

  1. Apply the hotfix that is described in this article.

  2. Configure Microsoft Dynamics NAV to use the REPEATABLE READ isolation level in Microsoft SQL Server. You can do this by enabling the 4194304 flag in the diagnostics field of the $ndo$dbproperty table in the Microsoft Dynamics NAV database. To enable the 4194304 flag, run the following TSQL statement in the Microsoft Dynamics NAV SQL database:

    update [$ndo$dbproperty] set diagnostics = diagnostics | 4194304

    For more information about Microsoft SQL Server transaction isolation level, visit the topic "Isolation Levels in the Database Engine" on Microsoft MSDN.

Enabling the REPEATABLE READ isolation level in Microsoft Dynamics NAV will improve general performance in situations where multiple users are experiencing blocking when they are entering journal entries, sales order entries, purchase order entries and similar tasks.

The difference between the SERIALIZABLE transaction isolation level and the REPEATABLE READ transaction isolation level is that SERIALIZABLE transaction isolation level protects against phantom reads. Therefore, enabling REPEATABLE READ transaction isolation level introduces a theoretical risk of phantom reads. The following example shows what this means from a C/AL perspective.


Note Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

MYTABLE.LOCKTABLE;
MYTABLE.SETCURRENTKEY("Document No.", "Line No.");
MYTABLE.SETRANGE(MYTABLE."Document No.", '1');
MYTABLE.SETRANGE(MYTABLE."Line No.", 1, 10);
IF MYTABLE.FIND('-') THEN
REPEAT
UNTIL (MYTABLE.NEXT()=0);

IF MYTABLE.FIND('-') THEN
REPEAT
UNTIL (MYTABLE.NEXT()=0);
COMMIT;

With SERIALIZABLE transaction isolation level, all existing records will be locked during the first "REPEAT UNTIL" loop and other users will also be blocked from inserting new records within the specified range. The record that has Document No=2, Line No=1 will also be blocked. Therefore, the second loop will always read exactly the same result as the first loop. With REPEATABLE READ transaction isolation level, someone can theoretically insert a new record within the mentioned range which will then appear as an additional record in the second loop.

To disable the 4194304 flag, run the following TSQL statement:

update [$ndo$dbproperty] set diagnostics = diagnostics ^ 4194304

Microsoft recommends thorough testing before making any changes to a live environment to ensure that there are no unexpected results.

Hotfix information

A supported hotfix is available from Microsoft. There is a "Hotfix download available" section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft Web site:

https://mbs.microsoft.com/support/newstart.aspx You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft Web sites:

Partners

https://mbs.microsoft.com/partnersource/resources/support/supportinformation/Global+Support+ContactsCustomers

https://mbs.microsoft.com/customersource/support/information/SupportInformation/global_support_contacts_eng.htmIn special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.



The e-mail will contain a hyperlink and a password. You can use the hyperlink to download the Microsoft Dynamics NAV hotfix or the update files. When you click the hyperlink, the File Download – Security Warning dialog box opens. Then, you are prompted to run, to save, or to cancel the download.


If you click Run, the files start the download and the extraction process. You must specify a folder for the new files, and then provide the password.


If you click Save, you must specify a path for saving the compressed file. When you open the file that you saved, you are prompted to specify a path for the files. Then, you must provide the password provided in the e-mail.


If you click Cancel, the download process stops.



How to install a Microsoft Dynamics NAV hotfix or an update file

The Microsoft Dynamics NAV platform hotfixes and updates are made available as single files. To install a Microsoft Dynamics NAV hotfix or an update, you must replace the existing Microsoft Dynamics NAV installation files with the hotfix or the update files. To do this, follow these steps.

Step 1: Replace the files in the Microsoft Dynamics NAV Classic Client installation

In the Microsoft Dynamics NAV Classic Client installation, replace the following files by using the hotfix or the update files.

File name

File version

File size

Date

Time

Platform

Dbm.dll

6.0.30609.0

427,848

08-Feb-2010

15:31

x86

Fin.exe

6.0.30609.0

12,598,600

08-Feb-2010

15:32

x86

Finhlink.exe

6.0.30609.0

452,432

08-Feb-2010

15:32

x86

Finsql.exe

6.0.30609.0

12,713,808

08-Feb-2010

15:32

x86

Nc_netb.dll

6.0.30609.0

96,592

08-Feb-2010

15:31

x86

Nc_tcp.dll

6.0.30609.0

98,640

08-Feb-2010

15:31

x86

Nc_tcps.dll

6.0.30609.0

141,136

08-Feb-2010

15:31

x86

Ndbcs.dll

6.0.30609.0

1,348,944

08-Feb-2010

15:31

x86

Slave.exe

6.0.30609.0

152,400

08-Feb-2010

15:31

x86

To replace the existing Microsoft Dynamics NAV files, follow these steps:

  1. Close the Microsoft Dynamics NAV Classic Client.

  2. Locate the Microsoft Dynamics NAV Classic Client installation directory. The Microsoft Dynamics NAV Classic Client is usually installed in the following directory:

    C:\Program Files\Microsoft Dynamics NAV\60\Classic

  3. Copy the files that you downloaded.

  4. Paste the files that you downloaded into the Microsoft Dynamics NAV Classic Client installation directory.

  5. Click Yes to overwrite the files in the directory.

Step 2: Replace the files in the Microsoft Dynamics NAV RoleTailored Client installation

In the Microsoft Dynamics NAV RoleTailored Client installation, replace the following files by using the hotfix or the update files.

File name

File version

File size

Date

Time

Platform

Microsoft.dynamics.framework.patterns.dll

1.3.10803.120

71,656

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.dll

1.3.10803.120

698,328

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.mapping.dll

1.3.10803.120

104,424

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.navigation.dll

1.3.10803.120

34,800

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.ux2006.dll

1.3.10803.120

88,040

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.ux2006.winforms.dll

1.3.10803.120

63,480

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.windows.dll

1.3.10803.120

83,944

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.winforms.controls.dll

1.3.10803.120

2,111,488

08-Feb-2010

06:30

x86

Microsoft.dynamics.framework.ui.winforms.dll

1.3.10803.120

690,152

08-Feb-2010

06:30

x86

Microsoft.dynamics.nav.client.builder.dll

6.0.30609.0

198,544

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.client.exe

6.0.30609.0

149,376

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.client.interop.communicator.dll

1.0.559.183

75,688

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.client.serviceconnection.dll

6.0.30609.0

104,352

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.client.ui.dll

6.0.30609.0

505,728

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.client.winforms.dll

6.0.30609.0

337,808

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.client.winforms.tlb

Not Applicable

2,644

08-Feb-2010

12:14

Not Applicable

Microsoft.dynamics.nav.language.dll

6.0.30609.0

1,992,576

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.types.dll

6.0.30609.0

567,160

08-Feb-2010

15:20

x86

Microsoft.office.interop.outlook.dll

10.0.4504.0

395,136

08-Feb-2010

15:32

x86

To replace the existing Microsoft Dynamics NAV files, follow these steps:

  1. Close the Microsoft Dynamics NAV RoleTailored client.

  2. Locate the Microsoft Dynamics NAV RoleTailored Client installation directory.

    The Microsoft Dynamics NAV RoleTailored client is usually installed in the following directory:

    C:\Program Files\Microsoft Dynamics NAV\60\RoleTailored Client

  3. Copy the files that you downloaded.

  4. Paste the files that you downloaded into the Microsoft Dynamics NAV RoleTailored Client installation directory.

  5. Click Yes to overwrite the files in the directory.

Step 3: Replace the files in the Microsoft Dynamics NAV Application Server installation

If you have Microsoft Dynamics NAV Application Server installed, replace the following files in the Microsoft Dynamics NAV Application Server installation by using the hotfix or the update files.

File name

File version

File size

Date

Time

Platform

Dbm.dll

6.0.30609.0

427,848

08-Feb-2010

15:31

x86

Nas.exe

6.0.30609.0

2,259,784

08-Feb-2010

15:32

x86

Nassql.exe

6.0.30609.0

2,352,464

08-Feb-2010

15:33

x86

Ndbcs.dll

6.0.30609.0

1,348,944

08-Feb-2010

15:32

x86

Slave.exe

6.0.30609.0

152,400

08-Feb-2010

15:31

x86

To replace the files, follow these steps.

  1. Stop the Microsoft Dynamics NAV Application Server.

  2. Locate the Microsoft Dynamics NAV Application Server installation directory. The Microsoft Dynamics NAV Application Server is usually installed in the following directory:

    C:\Program Files\Microsoft Dynamics NAV\60\Application Server

  3. Copy the files that you downloaded.

  4. Paste the files that you downloaded into the Microsoft Dynamics NAV Application Server installation directory.

  5. Click Yes to overwrite the files in the directory.

  6. Start the Microsoft Dynamics NAV Application Server.

Step 4: Replace the files in the Microsoft Dynamics NAV Server installation

In the Microsoft Dynamics NAV Server installation, replace the following files by using the hotfix or the update file.

File name

File version

File size

Date

Time

Platform

Httpcfg.exe

5.2.3790.0

22,352

08-Feb-2010

15:32

x86

Microsoft.dynamics.nav.language.dll

6.0.30609.0

1,992,576

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.ncl.dll

6.0.30609.0

604,024

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.server.exe

6.0.30609.0

141,184

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.service.dll

6.0.30609.0

145,280

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.service.runtime.dll

6.0.30609.0

75,664

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.service.webservices.dll

6.0.30609.0

145,304

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.types.dll

6.0.30609.0

567,160

08-Feb-2010

15:20

x86

Microsoft.dynamics.nav.watson.dll

6.0.30609.0

42,880

08-Feb-2010

15:20

x86

Nclcsrt.etx

Not Applicable

89,525

08-Feb-2010

08:28

Not Applicable

Nclcsrt.stx

Not Applicable

91,724

08-Feb-2010

08:28

Not Applicable

Nclcsrts.dll

6.0.30609.0

1,462,608

08-Feb-2010

15:32

x86

Ndbcs.dll

6.0.30609.0

1,348,944

08-Feb-2010

15:32

x86

To replace these files, follow these steps:

  1. Stop the Microsoft Dynamics NAV Server.

  2. Locate the Microsoft Dynamics NAV Server installation directory.

    The Microsoft Dynamics NAV Server is usually installed in the following directory:

    C:\Program Files\Microsoft Dynamics NAV\60\Service

  3. Copy the files that you downloaded.

  4. Paste the files that you downloaded into the Microsoft Dynamics NAV Server installation directory.

  5. Click Yes to overwrite the files in the directory.

  6. Start the Microsoft Dynamics NAV Server.

Prerequisites

You must have Microsoft Dynamics NAV 2009 Service Pack 1 installed to apply this hotfix.

Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, THE RELIABILITY OR THE ACCURACY OF THE INFORMATION THAT IS CONTAINED IN THE DOCUMENTS AND THE RELATED GRAPHICS PUBLISHED ON THIS WEB SITE (THE “MATERIALS”) FOR ANY PURPOSE.

THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON-INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×