471,075 Members | 1,013 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.


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!
Nov 20 '05 #1
0 4101

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Olaf Baeyens | last post: by
reply views Thread by paul | last post: by
3 posts views Thread by Carl | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.