Automation table - 2000000046

ckndr47
Member Posts: 100
Since Automation table (2000000046) is not supported anymore so whats the substitute?
0
Comments
-
what do you use automation table for?
The table is still there. What do you mean it's not supported anymore?0 -
Its not supported in RTC.
So suppose if you have any code like this where we are checking something in table AutomationIsOCXDLLInstalled(ptxtRegistryName : Text[100];ptxtVersion : Text[30]) : Boolean lrecAutServers.SETRANGE(Name,ptxtRegistryName); lrecAutServers.SETRANGE(Version,ptxtVersion); EXIT(lrecAutServers.FINDSET(FALSE,FALSE));
it works allright in the classic client, but when the same code is called from RTC Page, you will get this error:
"Table 2000000046 is not available and cannot be opened"
And just to double check, open codeunit AttachmentManagement, see function UseComServer and read the commented out code
// 5.1 do not support Automation Server table. We assume that MS Word is installed and has a valid version
0 -
It will be problem to support it under RTC. You can create Automation on server side or on client side, from which one you will see the automations in this table? ;-)0
-
Thanks, i understand that but what should be the solution in my case.
that code is getting transformed to my page, so i can:
a) add something in coderules that will not transform that code
b) or easy way just delete that code from the page itself.
But i am still confused.0 -
You can use the ISSERVICETIER variable to skip the part of the code...0
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