468,457 Members | 1,620 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,457 developers. It's quick & easy.

System.Security.Permissions.FileIOPermission

KM
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 4004

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 NPC403 | last post: by
1 post views Thread by subhajit12345 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.