nerdexam
Microsoft

70-491 · Question #82

You are developing a Windows Store app named GeoLoc. You have the following code: When you run the app on some devices, you receive the following error message: "An exception of type…

The correct answer is A. Package.appxmanifest. unauthorizedaccessexception-occurred-in-mscorlib-d

Prepare for deployment

Question

You are developing a Windows Store app named GeoLoc. You have the following code:

When you run the app on some devices, you receive the following error message:

"An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll but was not handled in user code." You need to resolve the issue that causes the exception to occur. Which file should you modify?

Options

  • APackage.appxmanifest
  • BAssemblyinfo.es
  • CApp.xaml
  • DGeoloc.csproj

How the community answered

(42 responses)
  • A
    79% (33)
  • B
    14% (6)
  • C
    2% (1)
  • D
    5% (2)

Explanation

unauthorizedaccessexception-occurred-in-mscorlib-d

Topics

#Package.appxmanifest#app capabilities#UnauthorizedAccessException#location permissions

Community Discussion

No community discussion yet for this question.

Full 70-491 Practice