Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing ModbusIpMaster while remote debugging throws SecurityException #72

Closed
GoogleCodeExporter opened this issue Oct 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a Project using ModbusIpMaster 
2. Deploy it on another machine using remore debugger

What is the expected output? What do you see instead?
On executing ModbusIpMaster code while remote debugging it throws a 
SecurityException "That assembly does not allow partially trusted callers". 

What version of the product are you using? On what operating system?
1.11.0.0

Please provide any additional information below.
If one runs the project directly from the deploy PC all is OK.
I have tried with Win7, WinXP as developing environemt and WinXP as deploying 
environment.

Original issue reported on code.google.com by matteo...@gmail.com on 22 Jul 2014 at 1:03

@GoogleCodeExporter
Copy link
Author

corrected inserting 
using System.Security;
[assembly: AllowPartiallyTrustedCallers]
in Modbus.cs and recompiling

Original comment by matteo...@gmail.com on 26 Aug 2014 at 8:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants