Two special characters are added at the end of the value when you copy a cell value from an Excel worksheet to Microsoft Dynamics NAV 5.0 Service Pack 1

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

Symptoms

When you copy a cell value from an Excel worksheet to Microsoft Dynamics NAV 5.0 Service Pack 1 (SP1), two special characters are added at the end of the value. These special characters are rectangle signs as line feed characters.

Note If you run Microsoft Dynamics NAV and Microsoft Excel on a Windows 7-based computer, these two characters are not visible. If you run Microsoft Dynamics NAV and Microsoft Excel on a Windows Server 2003-based computer, the characters are visible.

These characters are added to the fields in Microsoft Dynamics NAV. Therefore, you must delete the special characters manually.

Cause

This problem occurs because the carriage return (CR) character (ASCII 13) or the line feed (LF) character (ASCII 10) is added when a cell value is copied from an Excel worksheet to an application. The RoleTailored client (RTC) uses the text control, based on the standard .NET text control. If the .NET text control has the Multiline property set to "No," when you paste a control text that contains the CR character or the LF character, only the text before the characters is copied. If the text control has the Multiline property set to "True," the "new line" character can be used. For more information, visit the following Microsoft website:
TextBoxBase.Multiline Property
In a classic client, Microsoft Dynamics NAV must implement special processing for the Paste method of text edit controls. The "new line" characters must be removed from the end of line.

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

https://mbs.microsoft.com/support/newst art.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 websites:

Partners

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

https://mbs.microsoft.com/customersource/support/information/SupportIn formation/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 Microsoft Dynamics NAV Client installation file

In the Microsoft Dynamics NAV 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

5.0.32009.0

434,176

09-Dec-2010

19:53

x86

Fin.exe

5.0.32009.0

10,747,904

09-Dec-2010

19:31

x86

Finhlink.exe

5.0.32009.0

339,968

09-Dec-2010

19:44

x86

Finsql.exe

5.0.32009.0

10,809,344

09-Dec-2010

20:17

x86

Nc_netb.dll

5.0.32009.0

102,400

09-Dec-2010

19:54

x86

Nc_tcp.dll

5.0.32009.0

102,400

09-Dec-2010

19:54

x86

Nc_tcps.dll

5.0.32009.0

147,456

09-Dec-2010

19:55

x86

Ndbcs.dll

5.0.32009.0

1,286,144

09-Dec-2010

20:20

x86

Slave.exe

5.0.32009.0

151,552

09-Dec-2010

19:44

x86

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

  1. Close Microsoft Dynamics NAV.

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

    C:\Program Files\Microsoft Dynamics NAV\CSIDE Client\

  3. Copy the files that you downloaded.

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

  5. When you are prompted, click Yes to overwrite the files in the installation directory.

Step 2: Replace the Microsoft Dynamics NAV Application Server installation file

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

File name

File version

File size

Date

Time

Platform

Dbm.dll

5.0.32009.0

434,176

09-Dec-2010

19:53

x86

Nas.exe

5.0.32009.0

1,859,584

09-Dec-2010

19:41

x86

Nassql.exe

5.0.32009.0

1,916,928

09-Dec-2010

20:19

x86

Ndbcs.dll

5.0.32009.0

1,286,144

09-Dec-2010

20:20

x86

Slave.exe

5.0.32009.0

151,552

09-Dec-2010

19:44

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\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. When you are prompted, click Yes to overwrite the files in the installation directory.

  6. Start the Microsoft Dynamics NAV Application Server.

Step 3: Replace the Microsoft Dynamics NAV ODBC driver installation file

If you have the Microsoft Dynamics NAV ODBC driver installed, replace the following files in the Microsoft Dynamics NAV ODBC driver installation.

File name

File version

File size

Date

Time

Platform

Cfront.dll

5.0.32009.0

1,294,336

09-Dec-2010

19:55

x86

Dbm.dll

5.0.32009.0

434,176

09-Dec-2010

19:53

x86

Nc_netb.dll

5.0.32009.0

102,400

09-Dec-2010

19:54

x86

Nc_tcp.dll

5.0.32009.0

102,400

09-Dec-2010

19:54

x86

Nc_tcps.dll

5.0.32009.0

147,456

09-Dec-2010

19:55

x86

Nodbc.dll

5.0.32009.0

2,650,112

09-Dec-2010

19:35

x86

Nodbc.xml

Not applicable

1,209

07-Apr-2008

01:09

Not applicable

Nodbccfg.cfg

5.0.32009.0

614,400

09-Dec-2010

19:36

Not applicable

Nodbccfg.xml

Not applicable

2,472

07-Apr-2008

01:09

Not applicable

Slave.exe

5.0.32009.0

151,552

09-Dec-2010

19:44

x86

To replace the files, follow these steps.

  1. Locate the Microsoft Dynamics NAV ODBC driver installation directory. The Microsoft Dynamics NAV ODBC driver is usually installed in the following directory:

    C:\Program Files\Common Files\Dynamics NAV\NODBC\

  2. Copy the files that you downloaded.

  3. Paste the files that you downloaded into the Microsoft Dynamics NAV ODBC driver installation directory.

  4. When you are prompted, click Yes to overwrite the files in the installation directory.

Prerequisites

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

Workaround

To work around, edit the cell and mark the cell as "Text Only."

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

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.

Need more help?

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

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×