.NET interoperability in R2
Rob_Hansen
Member Posts: 296
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?
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?
Rob Hansen
http://www.epimatic.com
http://www.epimatic.com
0
Comments
-
To get the object running on the client - you should do as you describe.
Do you have a screenshot of the error dialog?“This posting is provided "AS IS" with no warranties, and confers no rights.”
Henrik Metzger, Software Development Engineer, Dynamics NAV
MSFT0 -
-
-
Sorry for the delay in replying.
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“This posting is provided "AS IS" with no warranties, and confers no rights.”
Henrik Metzger, Software Development Engineer, Dynamics NAV
MSFT0 -
Thanks a lot for the links Henrik - I'll look into those. Much appreciated.Rob Hansen
http://www.epimatic.com0 -
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
- 322 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