I Have made an exe i.e Windows Control Library in vb.net
it is image editor which have embedded image as in Buid action property to Embedded recources.
That exe i m calling in Web page . it is executing Properly but
in Exe I am renaming the requested image with the earlier set embedded image and taking the backup of the embedded image. I do this activity by giving the absolute path of the image.
Now the issue is, when I run the EXE it works properly but when it is called thru a web page its giving an exception saying,
"System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Please suggest solution to this problem.
Regards,
Hemant S.
it is image editor which have embedded image as in Buid action property to Embedded recources.
That exe i m calling in Web page . it is executing Properly but
in Exe I am renaming the requested image with the earlier set embedded image and taking the backup of the embedded image. I do this activity by giving the absolute path of the image.
Now the issue is, when I run the EXE it works properly but when it is called thru a web page its giving an exception saying,
"System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Please suggest solution to this problem.
Regards,
Hemant S.