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.

Incorrect C# code is generated for the ISSERVICETIER statement when you use the nested "IF-THEN-ELSE" statement that includes a reference to a Dataport variable in Microsoft Dynamics NAV 2009 Service Pack 1


View products that this article applies to.

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

↑ Back to the top


Symptoms

When you use the ISSERVICETIER statement together with the "IF-THEN-ELSE" statement that includes a reference to a Dataport variable in Microsoft Dynamics NAV 2009 Service Pack 1 (SP1), incorrect C# code is generated. This problem occurs even though the reference to the Dataport variable is included in a part of the code that should only be run when the code is executing on the classic client. For example, the reference to the Dataport variable is included in the "IF NOT ISSERVICETIER()" conditional statement.

↑ 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.31414.0427,84828-Jul-201015:40x86
Fin.exe6.0.31414.012,631,36828-Jul-201015:41x86
Finhlink.exe6.0.31414.0452,43228-Jul-201015:40x86
Finsql.exe6.0.31414.012,753,23228-Jul-201015:40x86
Nc_netb.dll6.0.31414.096,59228-Jul-201015:40x86
Nc_tcp.dll6.0.31414.098,64028-Jul-201015:40x86
Nc_tcps.dll6.0.31414.0141,13628-Jul-201015:41x86
Ndbcs.dll6.0.31414.01,350,48028-Jul-201015:40x86
Slave.exe6.0.31414.0152,40028-Jul-201015:41x86
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 file.
File nameFile versionFile sizeDateTimePlatform
Microsoft.dynamics.framework.patterns.dll1.3.10803.27871,65628-Jul-201006:30x86
Microsoft.dynamics.framework.ui.dll1.3.10803.278698,32828-Jul-201006:30x86
Microsoft.dynamics.framework.ui.mapping.dll1.3.10803.278104,42428-Jul-201006:30x86
Microsoft.dynamics.framework.ui.navigation.dll1.3.10803.27834,80028-Jul-201006:30x86
Microsoft.dynamics.framework.ui.ux2006.dll1.3.10803.27888,04028-Jul-201006:30x86
Microsoft.dynamics.framework.ui.ux2006.winforms.dll1.3.10803.27863,48028-Jul-201006:30x86
Microsoft.dynamics.framework.ui.windows.dll1.3.10803.27883,94428-Jul-201006:30x86
Microsoft.dynamics.framework.ui.winforms.controls.dll1.3.10803.2782,115,58428-Jul-201006:30x86
Microsoft.dynamics.framework.ui.winforms.dll1.3.10803.278694,24828-Jul-201006:30x86
Microsoft.dynamics.nav.client.builder.dll6.0.31414.0198,54428-Jul-201015:27x86
Microsoft.dynamics.nav.client.exe6.0.31414.0149,37628-Jul-201015:27x86
Microsoft.dynamics.nav.client.interop.communicator.dll1.0.559.18375,68828-Jul-201015:27x86
Microsoft.dynamics.nav.client.serviceconnection.dll6.0.31414.0104,35228-Jul-201015:27x86
Microsoft.dynamics.nav.client.ui.dll6.0.31414.0509,82428-Jul-201015:27x86
Microsoft.dynamics.nav.client.winforms.dll6.0.31414.0341,90428-Jul-201015:27x86
Microsoft.dynamics.nav.client.winforms.tlbNot applicable2,68028-Jul-201012:19Not applicable
Microsoft.dynamics.nav.language.dll6.0.31414.02,000,76828-Jul-201015:27x86
Microsoft.dynamics.nav.types.dll6.0.31414.0567,16028-Jul-201015:27x86
Microsoft.dynamics.nav.watson.dll6.0.31414.042,88028-Jul-201015:27x86
Microsoft.office.interop.outlook.dll10.0.4504.0395,13628-Jul-201015:41x86
To replace these 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 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,35228-Jul-201015:41x86
Microsoft.dynamics.nav.language.dll6.0.31414.02,000,76828-Jul-201015:27x86
Microsoft.dynamics.nav.ncl.dll6.0.31414.0608,12028-Jul-201015:27x86
Microsoft.dynamics.nav.server.exe6.0.31414.0141,18428-Jul-201015:27x86
Microsoft.dynamics.nav.service.dll6.0.31414.0145,28028-Jul-201015:27x86
Microsoft.dynamics.nav.service.runtime.dll6.0.31414.075,66428-Jul-201015:27x86
Microsoft.dynamics.nav.service.webservices.dll6.0.31414.0145,30428-Jul-201015:27x86
Microsoft.dynamics.nav.types.dll6.0.31414.0567,16028-Jul-201015:27x86
Microsoft.dynamics.nav.watson.dll6.0.31414.042,88028-Jul-201015:27x86
Nclcsrt.etxNot applicable89,52528-Jul-201008:32Not applicable
Nclcsrt.stxNot applicable91,72428-Jul-201008:32Not applicable
Nclcsrts.dll6.0.31414.01,485,13628-Jul-201015:41x86
Ndbcs.dll6.0.31414.01,350,48028-Jul-201015:41x86
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.

Step 4: 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 nameFile versionFile sizeDateTimePlatform
Dbm.dll6.0.31414.0427,84828-Jul-201015:41x86
Nas.exe6.0.31414.02,271,04828-Jul-201015:41x86
Nassql.exe6.0.31414.02,369,36028-Jul-201015:41x86
Ndbcs.dll6.0.31414.01,350,48028-Jul-201015:41x86
Slave.exe6.0.31414.0152,40028-Jul-201015:41x86
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.

Prerequisites

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

↑ 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

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


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


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

↑ Back to the top

Article Info
Article ID : 2301052
Revision : 3
Created on : 1/31/2017
Published on : 1/31/2017
Exists online : False
Views : 264