Changes between Initial Version and Version 1 of UnauthorizedAccessException
- Timestamp:
- 06/06/13 21:18:49 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UnauthorizedAccessException
v1 v1 1 = !UnauthorizedAccessException = 2 3 There are different reasons why you might get this exception. One of them is that you are trying to delete an assembly that you loaded (but obviously don't need any more). The solution is to change this: 4 5 {{{ 6 #!cobra 7 assembly = Assembly.loadFrom(path) 8 }}} 9 10 to this: 11 {{{ 12 #!cobra 13 assembly = Assembly.load(File.readAllBytes(path)) 14 }}} 15 16 == See Also == 17 18 * http://social.msdn.microsoft.com/forums/en-US/clr/thread/999cca57-bd8b-4c5f-ba9e-bc5463c2aa94 19 * MiscellaneousTopics