Greetings -
I'm using the System.Windows.Form.Clipboard .NET class in some NAv 2009 R2 code. Because I'm reading from the clipboard, I need the assembly to run on the client. So, I've set the RunOnClient property for the variable to Yes. My problem is that the user gets the security prompt to allow the component to run...that is fine, but unlike automation variables there is no option to "Always Allow". The only options are to Allow and Ask each time, or not allow it. I don't want the user to have to Allow the action every time. Is there something I'm missing here?
0
Comments
Do you have a screenshot of the error dialog?
Henrik Metzger, Software Development Engineer, Dynamics NAV
MSFT
http://www.epimatic.com
http://www.epimatic.com
I might actually have misunderstood the question the first time I read it. Any dotNet object will be required to be approved on the client everytime you start up the client. However you should only get the question once per client. Is that what you see?
The only way to get around this is to ensure that your setup uses SPN. There are a number of articles describing this also on this forum.
Mibuso:
viewtopic.php?f=32&t=37962
A few external links:
http://msdn.microsoft.com/en-us/library/dd301254.aspx (Take a look at the Setup Delegation section)
http://blogs.msdn.com/b/nav_developer/a ... -2009.aspx
http://blogs.msdn.com/b/nav_developer/a ... -2009.aspx
http://dynamicsuser.net/blogs/kine/arch ... -spns.aspx
Henrik Metzger, Software Development Engineer, Dynamics NAV
MSFT
http://www.epimatic.com