Search code examples
c#file-iofile-permissionsgrasshopper

Request for FileIOPermisson fails


I am experiencing some strange behavior with a custom component in Rhino/Grasshopper. The code of the component is written in C# so I am assuming that the error is due to a standard .NET programming mistake I made.

I am getting the following error on some computers (it works just fine on others). I made sure that I was logged in a admin so that I have read/write access to the files. What could a possible source of that error be? Is there a special way to ask for permission? Thank you very much in advance.

Error message


Solution

  • Use a tool like ProcMon to find out, which File you are trying to access. Afterwards you can take a look at the file and fix your code.