Why does showing the Automation Server table require RunAs Administrator?

pdj
Member Posts: 643
(NAV2009R2 build 35179, Classic, SQL)
We have solution running at multiple sites without any issues, but now one of the sites changed the security settings for their Citrix Servers. This caused the following code to fail:
If I use RunAsAdministrator for FINSQL, then it works fine.
The code doesn't actually fail, but it hangs and uses 100% of one of the cpu cores.
The same thing happens, if I try to Design an object which uses Automation Servers. (I guess it internally uses the AutomationServer tabel to convert the GUID to a name)
The same thing happens, if I create a form on the Automation Server table. It hangs as soon as I click next, where I expect it to show the list of fields I can add to the form.
Does anyone have an idea which setting to change back, to ensure this doesn't happen?
I have compared the output from "gpresult /Scope User /v" and "gpresult /Scope Computer /v" between a Citrix server with the new settings and one with the old settings, but there are way to many changes to take them one by one. I fear they just applied some best practice GPO file they found somewhere :-(
We have solution running at multiple sites without any issues, but now one of the sites changed the security settings for their Citrix Servers. This caused the following code to fail:
AutomationServers.SETRANGE(GUID,'{3B311C81-140E-11D5-8B18-00D0590B4EC5}'); // 'Navision Timer 1.0'.Timer IF AutomationServers.FIND('-') THEN ...
If I use RunAsAdministrator for FINSQL, then it works fine.
The code doesn't actually fail, but it hangs and uses 100% of one of the cpu cores.
The same thing happens, if I try to Design an object which uses Automation Servers. (I guess it internally uses the AutomationServer tabel to convert the GUID to a name)
The same thing happens, if I create a form on the Automation Server table. It hangs as soon as I click next, where I expect it to show the list of fields I can add to the form.
Does anyone have an idea which setting to change back, to ensure this doesn't happen?
I have compared the output from "gpresult /Scope User /v" and "gpresult /Scope Computer /v" between a Citrix server with the new settings and one with the old settings, but there are way to many changes to take them one by one. I fear they just applied some best practice GPO file they found somewhere :-(
Regards
Peter
Peter
0
Best Answer
-
I suggest you use Sysinternals' procmon to watch NAV build the virtual table rows. NAV will almost certainly scan the registry for automation servers and maybe even access the registered provider binaries. Watch out for irregularities especially shortly before the process blocks.5
Answers
-
I suggest you use Sysinternals' procmon to watch NAV build the virtual table rows. NAV will almost certainly scan the registry for automation servers and maybe even access the registered provider binaries. Watch out for irregularities especially shortly before the process blocks.5
-
Thank you for your suggestion - that might be a solution, but we ended up re-writing the code. Now it doesn't check if the Automation is installed, but simply use it.Regards
Peter0
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