Hi Ken,
Thank you for posting in the community!
Based on my understanding, you created an assembly on your machine, which
works well. Then you move this assembly to another machine, and its access
gets a security exception.
==============================================
I agree with Mickey that your network assembly does not enough permissions.
So you should increase your assembly permission.
The simplest way to get this done is creating a New code group, which use
your assembly's strong name as condition. Then use "FullTrust" permission
set for this code group.
I think you need to know much about .Net Code Access Security theory, there
is a good article talks about this, please refer to "Understanding .NET
Code Access Security" at:
http://www.codeproject.com/dotnet/UB_CAS_NET.asp
This article gives you a step by step sample of how to control access
permission.
==============================================
Please apply my suggestion above and let me know if it helps resolve your
problem.
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Have a nice day!!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.