I have seen numerous explanations about .NET security and the
System.Security.Permissions.FileIOPermission but any suggestions I
have tried have failed.
I have a an exe which is launched from a URL. The user must then
select an Excel file using the open file dialog box. This all happens
fine on my local machine. However, when I try to perform this on
another machine on the intranet, when I access the FileName I receive
this error:
Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib .....failed.
I understand that it is running on partially-trusted code and that I
need to give special permission to access the file system, but I
really feel like I have tried everything to remedy this.
I have created this as a strong named assembly and have granted full
access in the .NET configuration tool. I have also tried creating my
own permission set which gives full control of absolutely everything,
but to no avail.
What else can I do to access the filename the user has chosen in the
OpenDialog box??
Thanks in advance!