. . . "Go to the project properties and change the ???Permission Level??? to ???Unsafe??? in the Database section. (This is only required if you are performing tasks such as writing to files and accessing system related resources." .