Could not create an instance of the OLE control

gtr
Member Posts: 131
Hello
Dynamics NAV 2009 R2 Classic on Windows7
I tried to install Shauravs smtp port code at http://saurav-nav.blogspot.fr/2013/12/before-nav-2013-smtp-setup-with-port-no.html
but it did not work : even if the controlk registered successfully, it diappeared in dynamics and so automation variable was not more declared
So I decided to try use of a smtp adresse where the default port 25 is applied so that I do not need Shauravs code.
But now when I try to install the previous dll & tlb (that I saved before proceeding) - here aussi the regasm command is successful and this time I can see come back the Microsoft Navision Mail control SmtpMessage
But when I execute code using CU400 then I get :
Could not create an instance of the ole control or Automation server identified by ...
Please if someone has an idea to get work again this mail function would be nice
Dynamics NAV 2009 R2 Classic on Windows7
I tried to install Shauravs smtp port code at http://saurav-nav.blogspot.fr/2013/12/before-nav-2013-smtp-setup-with-port-no.html
but it did not work : even if the controlk registered successfully, it diappeared in dynamics and so automation variable was not more declared
So I decided to try use of a smtp adresse where the default port 25 is applied so that I do not need Shauravs code.
But now when I try to install the previous dll & tlb (that I saved before proceeding) - here aussi the regasm command is successful and this time I can see come back the Microsoft Navision Mail control SmtpMessage
But when I execute code using CU400 then I get :
Could not create an instance of the ole control or Automation server identified by ...
Please if someone has an idea to get work again this mail function would be nice

0
Comments
-
Hi,
After registering the file did you tried to find the automation.
After registering you need to select the automation of type mail helper. just check and let me know if you don't find it.
I will find the exact name for you and will update.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions