Error: Automation objects can't be mixed - RTC

sridhar
Member Posts: 171
Hi All,
I have been facing lot of errors by using automation variables and not able to resolve. Following is one of those errors.
"Unable server-side invoked and client-side invoked automation objects can't be mixed". I wonder this error is because I have installed all the 3 tiers in one machine. Please guide.
Thanks,
N.Sridhar
I have been facing lot of errors by using automation variables and not able to resolve. Following is one of those errors.
"Unable server-side invoked and client-side invoked automation objects can't be mixed". I wonder this error is because I have installed all the 3 tiers in one machine. Please guide.
Thanks,
N.Sridhar
0
Answers
-
Check, if you are using server side and client side automations in one object (the second parameter of CREATE function).0
-
Hi Kine,
Thanks for your reply.
I was using CREATE(oReconcileTaxHistoryRequest);
Now I have modified as CREATE(oReconcileTaxHistoryRequest,TRUE,TRUE); and able to overcome the error message.
But now my client side application is crashing...
any idea...
Is there any proper documentation as how to access COM object (dll) method in RTC. Because I am not facing any problem in Classic Client version with the same code.
Thanks0 -
You need to understand, that in RTC, you can select, if the automation is running on Service Tier or on the client. But you cannot mix these two ways in one object. You can use the ISSERVICETIER variable to select correct CREATE parameters for situations, when code is running under RTC or under classic client.0
-
use createobject(obj,false,true)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