REGEDIT4 [HKEY_CLASSES_ROOT\Microsoft.Navision.Mail.SmtpMessage] @="Microsoft.Navision.Mail.SmtpMessage" [HKEY_CLASSES_ROOT\Microsoft.Navision.Mail.SmtpMessage\CLSID] @="{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}" [HKEY_CLASSES_ROOT\CLSID\{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}] @="Microsoft.Navision.Mail.SmtpMessage" [HKEY_CLASSES_ROOT\CLSID\{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}\InprocServer32] @="mscoree.dll" "ThreadingModel"="Both" "Class"="Microsoft.Navision.Mail.SmtpMessage" "Assembly"="Microsoft.Navision.Mail, Version=1.0.2615.23507, Culture=neutral, PublicKeyToken=null" "RuntimeVersion"="v2.0.50727" [HKEY_CLASSES_ROOT\CLSID\{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}\InprocServer32\1.0.2615.23507] "Class"="Microsoft.Navision.Mail.SmtpMessage" "Assembly"="Microsoft.Navision.Mail, Version=1.0.2615.23507, Culture=neutral, PublicKeyToken=null" "RuntimeVersion"="v2.0.50727" [HKEY_CLASSES_ROOT\CLSID\{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}\ProgId] @="Microsoft.Navision.Mail.SmtpMessage" [HKEY_CLASSES_ROOT\CLSID\{F9DAE2A4-D2F8-37C3-86D5-E4FFE166D860}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}][/code]
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
1. Close Navision.
2. Copy the .tlb and .dll to the Client folder of Navision.
3. Run Mail.reg.
4. Open Navision.
The only thing I can think of at the moment is that they haven't followed the instructions correctly as every computer I test it on, works.
i came up with that problem like you before..after trying to register and being not able to register it, i have written my own codeunit that uses CDO... it works, but i had spended lots of time to register that dll.. now i wonder how you generated this .reg file or you found it somewhere?.. if you found somewhere, where did you find it?
I created the .reg file myself. Only I don't remember how I did it. I think I used the regasm.exe tool that comes with the .NET Framework.
Hi ayhan06, in my investigations today I realised how I created the .reg file again. I used the Microsoft.NET framework too regasm.exe. You can find it in the following location:
%systemroot%\Microsoft.NET\Framework\[dotnetversion]\regasm.exe if you run the /? switch on it it will list the available options.
I think the command would be something like:
regasm "C:\Program Files\Navision\Client\Microsoft.Navision.Mail.DLL" \regfile:"c:\mail.reg"
This should generate the mail.reg file which can be run and will register the dll (make sure the dll is in the same directory as the Mail.DLL and make sure the .tlb is also in the same directory as the DLL.
thanks deltoid.. i ll try it.
what was eventually the solution to your problem ?
Hi
How to run this?
Hi ayhan
did you succeed with this command?
I have both files:
Microsoft.Navision.Mail.DLL and Microsoft.Navision.Mail.tlb in this path
C:\Program Files\Microsoft Dynamics NAV\60\Classic
but what is mail.reg, help me out plz
I got it =D>
now the problem is :
file format error, plz see the attachment
please help out here
I missed space after microsoft.navision.mail.dll"/
correction microsoft.navision.mail.dll" \