{"action":"reopened","issue":{"url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/33","repository_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet","labels_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/33/comments","events_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/33/events","html_url":"https://github.com/maxmind/MaxMind-DB-Reader-dotnet/issues/33","id":176465123,"number":33,"title":"UnauthorizedAccessException when accessing same memory mapped file from separate IIS AppPools","user":{"login":"coolkev","id":319334,"avatar_url":"https://avatars.githubusercontent.com/u/319334?v=3","gravatar_id":"","url":"https://api.github.com/users/coolkev","html_url":"https://github.com/coolkev","followers_url":"https://api.github.com/users/coolkev/followers","following_url":"https://api.github.com/users/coolkev/following{/other_user}","gists_url":"https://api.github.com/users/coolkev/gists{/gist_id}","starred_url":"https://api.github.com/users/coolkev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolkev/subscriptions","organizations_url":"https://api.github.com/users/coolkev/orgs","repos_url":"https://api.github.com/users/coolkev/repos","events_url":"https://api.github.com/users/coolkev/events{/privacy}","received_events_url":"https://api.github.com/users/coolkev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T19:39:51Z","updated_at":"2016-09-16T20:49:14Z","closed_at":null,"body":"Here is the exception:\r\n\r\n> [UnauthorizedAccessException: Access to the path is denied.]\r\n>    System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +634\r\n>    System.IO.MemoryMappedFiles.MemoryMappedFile.OpenCore(String mapName, HandleInheritability inheritability, Int32 desiredAccessRights, Boolean createOrOpen) +102\r\n>    System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(String mapName, MemoryMappedFileRights desiredAccessRights, HandleInheritability inheritability) +119\r\n>    MaxMind.Db.MemoryMapBuffer..ctor(String file, FileInfo fileInfo) +344\r\n>    MaxMind.Db.Reader.BufferForMode(String file, FileAccessMode mode) +144\r\n>    MaxMind.GeoIP2.DatabaseReader..ctor(String file, IEnumerable`1 locales, FileAccessMode mode) +91\r\n\r\nI have confirmed it is not a permissions issue, and it works fine when using FileAccessMode.Memory.\r\n\r\nThe problem only occurs when the second app pool (running under a different identity) tries to open the memory mapped file."}}
{"actor":{"display_login":"oschwald"}}