Hi,
I'm trying to use a smart client application, running the server works fine localy, but when I run the client it failes when trying to access the local disk on the server. What I have done is creating a key for the server and made it a strong name. Adding the server to the windows\assembl y directory and checking that the public key matches the one I get running sn -T smartServer.exe . Furthermore I have included the serverapplicati on in the .net framework configuration, giving it full trust.
Is there som trick to doing this? Do i have to include the same key to the client? Does the client have to be included on the serverside .net framework configuration?
The exception I get is this:
Request for the permission of type 'System.Securit y.Permissions.F ileIOPermission , mscorlib, Version=2.0.0.0 , Culture=neutral , PublicKeyToken= b77a5c561934e08 9' failed.
Hope someone has a idea what to try next.
y.s.
lars arve
I'm trying to use a smart client application, running the server works fine localy, but when I run the client it failes when trying to access the local disk on the server. What I have done is creating a key for the server and made it a strong name. Adding the server to the windows\assembl y directory and checking that the public key matches the one I get running sn -T smartServer.exe . Furthermore I have included the serverapplicati on in the .net framework configuration, giving it full trust.
Is there som trick to doing this? Do i have to include the same key to the client? Does the client have to be included on the serverside .net framework configuration?
The exception I get is this:
Request for the permission of type 'System.Securit y.Permissions.F ileIOPermission , mscorlib, Version=2.0.0.0 , Culture=neutral , PublicKeyToken= b77a5c561934e08 9' failed.
Hope someone has a idea what to try next.
y.s.
lars arve