Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The GET function disallows you to handle an error when you run the function on an uninitialized RecordID value in Microsoft Dynamics NAV 2009 with Service Pack 1 installed


View products that this article applies to.

Rapidly Published 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.

↑ Back to the top


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

↑ Back to the top


Symptoms

When you run the GET function on an uninitialized RecordID value in Microsoft Dynamics NAV 2009 with Service Pack 1 installed, you receive an unhandled runtime error message that resembles the following:
Tabledata 0 does not exist.
For example, you receive the error message when you run the following code:

Clear(TestRecID.RecID);
Ok := RecRef.GET(TestRecID.RecID);
Therefore, any code that is supposed to handle the error is ignored.


However, you expect to receive an error message that can be handled.

↑ Back to the top


Resolution

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: 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:

PartnersCustomersIn 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.


↑ Back to the top




How to obtain the Microsoft Dynamics NAV hotfix or update files

After you request a Microsoft Dynamics NAV hotfix, a hyperlink will be sent to you in an e-mail.


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 file.
File nameFile versionFile sizeDateTimePlatform
Dbm.dll6.0.30045.0427,83226-Oct-200900:12x86
Fin.exe6.0.30045.012,598,58426-Oct-200900:12x86
Finhlink.exe6.0.30045.0452,42426-Oct-200900:12x86
Finsql.exe6.0.30045.012,713,28026-Oct-200900:12x86
Nc_netb.dll6.0.30045.096,57626-Oct-200900:12x86
Nc_tcp.dll6.0.30045.098,62426-Oct-200900:12x86
Nc_tcps.dll6.0.30045.0141,12026-Oct-200900:12x86
Ndbcs.dll6.0.30045.01,348,92826-Oct-200900:12x86
Slave.exe6.0.30045.0152,38426-Oct-200900:12x86
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 Role Tailored Client installation

In the Microsoft Dynamics NAV Role Tailored Client installation, replace the following files by using the hotfix or the update file.
File nameFile versionFile sizeDateTimePlatform
Microsoft.dynamics.framework.patterns.dll1.3.10803.3271,64016-Oct-200906:30x86
Microsoft.dynamics.framework.ui.dll1.3.10803.32698,31216-Oct-200906:30x86
Microsoft.dynamics.framework.ui.mapping.dll1.3.10803.32104,40816-Oct-200906:30x86
Microsoft.dynamics.framework.ui.navigation.dll1.3.10803.3234,78416-Oct-200906:30x86
Microsoft.dynamics.framework.ui.ux2006.dll1.3.10803.3288,02416-Oct-200906:30x86
Microsoft.dynamics.framework.ui.ux2006.winforms.dll1.3.10803.3263,46416-Oct-200906:30x86
Microsoft.dynamics.framework.ui.windows.dll1.3.10803.3283,92816-Oct-200906:30x86
Microsoft.dynamics.framework.ui.winforms.controls.dll1.3.10803.322,111,47216-Oct-200906:30x86
Microsoft.dynamics.framework.ui.winforms.dll1.3.10803.32686,04816-Oct-200906:30x86
Microsoft.dynamics.nav.client.builder.dll6.0.30045.0198,52826-Oct-200900:08x86
Microsoft.dynamics.nav.client.exe6.0.30045.0149,36026-Oct-200900:08x86
Microsoft.dynamics.nav.client.interop.communicator.dll1.0.559.18375,68026-Oct-200900:08x86
Microsoft.dynamics.nav.client.serviceconnection.dll6.0.30045.0100,24826-Oct-200900:08x86
Microsoft.dynamics.nav.client.ui.dll6.0.30045.0505,72026-Oct-200900:08x86
Microsoft.dynamics.nav.client.winforms.dll6.0.30045.0337,79226-Oct-200900:08x86
Microsoft.dynamics.nav.client.winforms.tlbNot applicable2,64423-Oct-200911:54Not applicable
Microsoft.dynamics.nav.language.dll6.0.30045.01,963,88826-Oct-200900:08x86
Microsoft.dynamics.nav.types.dll6.0.30045.0563,05626-Oct-200900:08x86
Microsoft.office.interop.outlook.dll10.0.4504.0395,12826-Oct-200900:12x86

To replace these files, follow these steps:
  1. Close the Microsoft Dynamics NAV Role Tailored Client.
  2. Locate the Microsoft Dynamics NAV Role Tailored Client installation directory. The Microsoft Dynamics NAV Role Tailored 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 Role Tailored Client installation directory.
  5. Click Yes to overwrite the files in the directory.

Step 3: 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 nameFile versionFile sizeDateTimePlatform
Httpcfg.exe5.2.3790.022,33626-Oct-200900:12x86
Microsoft.dynamics.nav.language.dll6.0.30045.01,963,88826-Oct-200900:08x86
Microsoft.dynamics.nav.ncl.dll6.0.30045.0599,91226-Oct-200900:08x86
Microsoft.dynamics.nav.server.exe6.0.30045.0141,16826-Oct-200900:08x86
Microsoft.dynamics.nav.server.exe.configNot applicable21125-Aug-200916:51Not applicable
Microsoft.dynamics.nav.service.dll6.0.30045.0145,26426-Oct-200900:08x86
Microsoft.dynamics.nav.service.runtime.dll6.0.30045.075,64826-Oct-200900:08x86
Microsoft.dynamics.nav.service.webservices.dll6.0.30045.0145,28826-Oct-200900:08x86
Microsoft.dynamics.nav.types.dll6.0.30045.0563,05626-Oct-200900:08x86
Microsoft.dynamics.nav.watson.dll6.0.30045.042,86426-Oct-200900:08x86
Nclcsrt.etxNot applicable89,52523-Oct-200908:25Not applicable
Nclcsrt.stxNot applicable91,72423-Oct-200908:25Not applicable
Nclcsrts.dll6.0.30045.01,435,97626-Oct-200900:12x86
Ndbcs.dll6.0.30045.01,348,92826-Oct-200900:12x86

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.
In the Common Files folder, replace the following files by using the hotfix or the update files.
File nameFile versionFile sizeDateTimePlatform
Customization.xmlNot applicable1,11525-Aug-200916:40Not applicable
Msoutl.olb11.0.5510.0200,24825-Aug-200916:40Not applicable

To replace the existing files, follow these steps:
  1. Locate the following folder in the Common Files directory:
    C:\Program Files\Common Files\Microsoft Dynamics NAV\OLSync
  2. Copy the files that you downloaded.
  3. Paste the files that you downloaded into the Common Files directory.
  4. Click Yes to overwrite the files in the directory.
In the Windows\System32 folder, replace the following files by using the hotfix or the update files.
File nameFile versionFile sizeDateTimePlatform
Cdo.dll6.5.7940.0775,48026-Oct-200900:12x86
Gapi32.dll6.5.7940.071,48826-Oct-200900:12x86

To replace the existing files, follow these steps:
  1. Locate the following Windows\System32 directory:
    C:\Windows\System32
  2. Copy the files that you downloaded.
  3. Paste the files that you downloaded into the Windows\System32 directory.
  4. Click Yes to overwrite the files in the directory.

↑ Back to the top


Status

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

↑ Back to the top


More Information

According to the C/SIDE Reference Guide, you should be able to handle the errors by using the optional return value.


Note The last sentence in the documentation for the GET function is as follows:

Property Value/Return Value
Type: Boolean

true if the record was found; otherwise, false.

If you omit this optional return value and if the record cannot be found, a runtime error occurs. If you include the return value, you must handle any errors.
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

↑ Back to the top


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.

↑ Back to the top


Keywords: kbmbspartner, kbexpertiseinter, kbexpertiseadvanced, kbqfe, kbhotfixserver, kberrmsg, kbmbsquickpub, kbsurveynew, kbexpertisebeginner, kbnoloc, kb, kbautohotfix, kbmbsdatabaseandplatforms, kbmbsmigrate

↑ Back to the top

Article Info
Article ID : 976543
Revision : 2
Created on : 1/31/2017
Published on : 1/31/2017
Exists online : False
Views : 319