Ok, the title might not be 100% clear, but i'll be more precise here
When i attempt to read an XML into an Dataset, i use the following line of code
Dataset1.ReadXm l("C:\test.xml" );
This works fine on my portable, but if i use it on a second PC, i get the following error.
Security Exception Was Unhandled
Request for the permission of type System.Security .Permissions.Fi leIOPermission, ... (this contains the public key, wich isn't too important for you guys i think)
if you didn't know, the language is C#, .NET framework 2.0.
I suspect it might be the permissions, i have the administrator name and pasword, is it possible to give my program those as well?
or is there another problem thats causing this?
any help so i can come to a solution would be apriciated :)
When i attempt to read an XML into an Dataset, i use the following line of code
Dataset1.ReadXm l("C:\test.xml" );
This works fine on my portable, but if i use it on a second PC, i get the following error.
Security Exception Was Unhandled
Request for the permission of type System.Security .Permissions.Fi leIOPermission, ... (this contains the public key, wich isn't too important for you guys i think)
if you didn't know, the language is C#, .NET framework 2.0.
I suspect it might be the permissions, i have the administrator name and pasword, is it possible to give my program those as well?
or is there another problem thats causing this?
any help so i can come to a solution would be apriciated :)
Comment