You cannot compile a statement that compares two strings in the Role Tailored Client in Microsoft Dynamics NAV 2009

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

You cannot compile a statement that compares two strings in the Role Tailored Client (RTC) in Microsoft Dynamics NAV 2009.


Note You can compile the statement in the Classic Client in Microsoft Dynamics NAV 2009.



For example, you cannot compile the following code in the RTC in Microsoft Dynamics NAV 2009:



txt1:='ABCD';
txt2:='CDEF';

If COPYSTR(txt1,1,2)<COPYSTR(txt2,1,2) then
message('it is true');

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:

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.



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 name

File version

File size

Date

Time

Platform

Dbm.dll

6.0.29372.0

444,232

21-Jun-2009

07:05

x86

Fin.exe

6.0.29372.0

12,244,808

21-Jun-2009

07:05

x86

Finhlink.exe

6.0.29372.0

452,424

21-Jun-2009

07:05

x86

Finsql.exe

6.0.29372.0

12,330,816

21-Jun-2009

07:05

x86

Nc_netb.dll

6.0.29372.0

108,368

21-Jun-2009

07:05

x86

Nc_tcp.dll

6.0.29372.0

108,368

21-Jun-2009

07:05

x86

Nc_tcps.dll

6.0.29372.0

153,424

21-Jun-2009

07:05

x86

Ndbcs.dll

6.0.29372.0

1,337,152

21-Jun-2009

07:05

x86

Slave.exe

6.0.29372.0

161,616

21-Jun-2009

07:05

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.

  6. If the hotfix or the update includes translated versions of the fin.stx or the fin.etx files, you must replace the fin.stx or the fin.etx files that are installed in the specific language folders of the installation directory.


    To replace the fin.stx or the fin.etx, follow these steps.


    Note The following example references a German installation.

    1. Copy the W1 fin.stx and the fin.etx files to the following folder:

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

    2. Copy the fin.stx and the fin.etx files from the ENU folder to the following folder:

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

    3. Copy the fin.stx and the fin.etx files from the DEU folder to the following folder:

      C:\Program Files\Microsoft Dynamics NAV\60\Classic\DEU\
      In some cases, the new client executable files convert the database format. You must update all clients.

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 name

File version

File size

Date

Time

Platform

Dundaswinchart.dll

5.0.0.1692

2,733,904

21-Jun-2009

07:05

x86

Microsoft.dynamics.framework.patterns.dll

1.2.10579.167

71,648

20-Jun-2009

21:19

x86

Microsoft.dynamics.framework.ui.dll

1.2.10579.167

653,256

20-Jun-2009

21:19

x86

Microsoft.dynamics.framework.ui.mapping.dll

1.2.10579.167

100,320

20-Jun-2009

21:19

x86

Microsoft.dynamics.framework.ui.navigation.dll

1.2.10579.167

21,480

20-Jun-2009

21:19

x86

Microsoft.dynamics.framework.ui.ux2006.dll

1.2.10579.167

92,048

21-Jun-2009

06:54

x86

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

1.2.10579.167

38,808

21-Jun-2009

06:54

x86

Microsoft.dynamics.framework.ui.windows.dll

1.2.10579.167

83,936

20-Jun-2009

21:19

x86

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

1.2.10579.167

2,066,424

20-Jun-2009

21:19

x86

Microsoft.dynamics.framework.ui.winforms.dll

1.2.10579.167

632,792

20-Jun-2009

21:19

x86

Microsoft.dynamics.nav.client.builder.dll

6.0.29372.0

165,776

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.client.exe

6.0.29372.0

141,184

21-Jun-2009

06:54

x86

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

1.0.559.183

75,680

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.client.serviceconnection.dll

6.0.29372.0

75,680

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.client.ui.dll

6.0.29372.0

427,904

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.client.winforms.dll

6.0.29372.0

276,368

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.client.winforms.tlb

Not applicable

2,652

21-Jun-2009

02:33

Not applicable

Microsoft.dynamics.nav.language.dll

6.0.29372.0

1,865,600

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.types.dll

6.0.29372.0

382,832

21-Jun-2009

06:54

x86

Microsoft.office.interop.outlook.dll

10.0.4504.0

395,128

21-Jun-2009

07:05

x86


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 name

File version

File size

Date

Time

Platform

Httpcfg.exe

5.2.3790.0

22,336

21-Jun-2009

07:05

x86

Microsoft.dynamics.nav.language.dll

6.0.29372.0

1,865,600

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.ncl.dll

6.0.29372.0

489,336

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.server.exe

6.0.29372.0

137,072

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.server.exe.config

Not applicable

211

16-Jun-2009

19:29

Not applicable

Microsoft.dynamics.nav.service.dll

6.0.29372.0

120,688

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.service.runtime.dll

6.0.29372.0

63,376

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.service.webservices.dll

6.0.29372.0

128,904

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.types.dll

6.0.29372.0

382,832

21-Jun-2009

06:54

x86

Microsoft.dynamics.nav.watson.dll

6.0.29372.0

38,768

21-Jun-2009

06:54

x86

Nclcsrt.etx

Not applicable

87,279

20-Jun-2009

22:49

Not applicable

Nclcsrt.stx

Not applicable

81,083

20-Jun-2009

22:49

Not applicable

Nclcsrts.dll

Not applicable

1,394,512

21-Jun-2009

07:05

x86

Ndbcs.dll

6.0.29372.0

1,337,152

21-Jun-2009

07:05

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.

In the Common Files folder, replace the following files by using the hotfix or the update files.

File name

File version

File size

Date

Time

Platform

Customization.xml

Not applicable

1,115

16-Jun-2009

19:24

Not applicable

Msoutl.olb

11.0.5510.0

200,248

16-Jun-2009

19:24

Not 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 name

File version

File size

Date

Time

Platform

Cdo.dll

6.5.7940.0

775,480

21-Jun-2009

07:05

x86

Gapi32.dll

6.5.7940.0

71,488

21-Jun-2009

07:05

x86


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.

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?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

×