Cdu 419 SilentUpload FileSystemObject Permission

MrWhoMrWho Member Posts: 59
edited 2012-08-10 in NAV Three Tier
Hello!

When using Codeunit 419 3-Tier Automationg Mgt. function "SilentUpload", the user running RTC gets the following question:

"The server has requested to run FileSystem Object on your client." with the following options:
- "Allow this time, but ask next time"
- "Always allow"
- "Never allow"

OK / CANCEL

The Nav Service middle tier is running as a dedicated domain user and not "Network Service" account.

My question is if this is normal / expected behaviour, or should we have setup the 3-Tier architecture differently to avoid this questions on the client side when creating automation to run on client computer?

Answers

  • kinekine Member Posts: 12,562
    This is by design and you cannot disable this confirm. But you can answer the dialog first time and it will not popup again on the client (you can try to check where it is written that the automation is already confirmed and you can try to "copy" this setting to other clients).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • MrWhoMrWho Member Posts: 59
    Thank you very much for your tips kine. We'll try to see if we can find that out, otherwise we'll make a codeunit creating the different automations needed and make new users run this once, and say to the user that all of this must be allowed always? Perhaps an easier solution :)

    I've tested ClausL SaveASPDF E-mail thing, using his codeunit "ReportHelper", and here I get the question 4 times, for:
    - ScriptControl Object
    - OApplication Class
    - OSendMail Class
    - BSTRConverter Class

    It just seems to be an overflow of messages for the user. I see the security thing behind this, but there should be possible to setup some kind of trust of the domain user running the Nav Server on the users computer or something.

    If changing the Nav Server to run as Network service, the behaviour will still be the same? (Perhaps stupid question)
  • kinekine Member Posts: 12,562
    Yes, it is same, and I have tried to request some settings to disable this confirmations or something like that, but we will see (the user have no enough knowledge to decide if he need to allow or not the DLL to load...)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • SereneTigerSereneTiger Member Posts: 10
    How can I change the setting if the user has selected Never Allow?
    Serene Tiger
  • ara3nara3n Member Posts: 9,256
    I believe they are stored in Personalization.xml file. If you delete that file from your client computer, it should reset.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.