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.
.
File information
The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.File name | File version | File size | Date | Time | Platform |
---|
Microsoft.navision.mail.dll | 7.2.0.0 | 26,480 | 05-Dec-2010 | 15:50 | x86 |
Microsoft.navision.mail.tlb | Not applicable | 3,612 | 05-Dec-2010 | 09:26 | Not applicable |
To resolve this problem, follow these steps:
- Copy the files that you extracted from the hotfix files to the following folder:
C:\Program Files\Common Files\Microsoft Dynamics NAV\Mail
- Register the new Navision.Mail.dll assembly in the following folder:
regasm /codebase /tlb:Navision.Mail.tlb Navision.Mail.dll
- Add column 6 in the SMTP Mail Setup table(409) as follow:
...
{ 6 ; ;SMTP Server Port ;Integer ;InitValue=25; }
...
- Add the SMTP Server Port field in the SMTP Mail Setup form(409) as follow:
...
{ 14 ;TextBox ;3850 ;1540 ;5500 ;440 ;Name=<SMTP Server Port>;
ParentControl=1;
InPage=0;
DecimalPlaces=0:0;
NotBlank=Yes;
Numeric=Yes;
SourceExpr="SMTP Server Port";
MinValue=1 }
{ 15 ;Label ;440 ;1540 ;3300 ;440 ;ParentControl=14; }
...
- Change the code in the SMTP Mail codeunit(400) as follows:
Existing code 1...
Mail@1000 : Automation "{68AEAA7B-9523-3511-AF5F-F2381D2C6F04} 1.0:{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}:'Microsoft Navision Mail'.SmtpMessage";
...
Replacement code 1...
Mail@1000 : Automation "{68AEAA7B-9523-3511-AF5F-F2381D2C6F04} 7.2:{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}:'Microsoft Navision Mail'.SmtpMessage";
...
Existing code 2 PROCEDURE Send@3();
VAR
Result@1000 : Text[1024];
BEGIN
WITH SMTPMailSetup DO
Result :=
Mail.Send(
"SMTP Server",Authentication <> Authentication::Anonymous,"User ID",Password,"SMTP Server Port");
CLEAR(Mail);
IF Result <> '' THEN
ERROR(Text003,Result);
END;
Replacement code 2 PROCEDURE Send@3();
VAR
Result@1000 : Text[1024];
BEGIN
WITH SMTPMailSetup DO
Result :=
Mail.Send(
"SMTP Server",Authentication <> Authentication::Anonymous,"User ID",Password,"SMTP Server Port");
Mail.Dispose;
CLEAR(Mail);
IF Result <> '' THEN
ERROR(Text003,Result);
END;
Prerequisites
You must have Microsoft Dynamics NAV 2009 Service Pack 1 installed to apply this hotfix.