Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception has been thrown by the target of an invocation. #92

Open
realworld666 opened this issue Mar 8, 2017 · 0 comments
Open

Exception has been thrown by the target of an invocation. #92

realworld666 opened this issue Mar 8, 2017 · 0 comments

Comments

@realworld666
Copy link
Contributor

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Windows.Markup.XamlParseException:  [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Cannot create instance of type 'Microsoft.Phone.Maps.Controls.Map' [Line: 93 Position: 41] ---> System.Exception: A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration. (Exception from HRESULT: 0x80070511)
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.TileHostV2_SetNativeContentProvider(TileHostV2 tileHostV2, String dllName, String activateFnName, String className)
   at Microsoft.Phone.Maps.Controls.MOSMapModel..ctor(MapCallbacks mapCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.MapCompatibility.GetLifetimeManager(MapVersion mapVersion, Control mapControl, MapCallbacks mapInteropCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.Map..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Cyclestreets.CustomClasses.CycleStreetsMap.InitializeComponent()
   at Cyclestreets.CustomClasses.CycleStreetsMap..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Cyclestreets.Pages.MainPage.InitializeComponent()
   at Cyclestreets.Pages.MainPage..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult)
   at System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)
   at System.Windows.Navigation.PageResourceContentLoader.BeginLoad_OnUIThread(AsyncCallback userCallback, PageResourceContentLoaderAsyncResult result)
   at System.Windows.Navigation.PageResourceContentLoader.<>c__DisplayClass4.<BeginLoad>b__0(Object args)
   at BugSense.Core.BugSenseSyncContextHandler.AsyncSynchronizationContext.<>c__DisplayClass10.<WrapCallback>b__f(Object state)
--- Inner exception of type System.Windows.Markup.XamlParseException start ---
--- Message:  [Line: 0 Position: 0] ---
System.Windows.Markup.XamlParseException:  [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Cannot create instance of type 'Microsoft.Phone.Maps.Controls.Map' [Line: 93 Position: 41] ---> System.Exception: A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration. (Exception from HRESULT: 0x80070511)
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.TileHostV2_SetNativeContentProvider(TileHostV2 tileHostV2, String dllName, String activateFnName, String className)
   at Microsoft.Phone.Maps.Controls.MOSMapModel..ctor(MapCallbacks mapCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.MapCompatibility.GetLifetimeManager(MapVersion mapVersion, Control mapControl, MapCallbacks mapInteropCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.Map..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Cyclestreets.CustomClasses.CycleStreetsMap.InitializeComponent()
   at Cyclestreets.CustomClasses.CycleStreetsMap..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Cyclestreets.Pages.MainPage.InitializeComponent()
   at Cyclestreets.Pages.MainPage..ctor()
--- End of inner exception stack trace ---
--- Inner exception of type System.Windows.Markup.XamlParseException start ---
--- Message: Cannot create instance of type 'Microsoft.Phone.Maps.Controls.Map' [Line: 93 Position: 41] ---
System.Windows.Markup.XamlParseException: Cannot create instance of type 'Microsoft.Phone.Maps.Controls.Map' [Line: 93 Position: 41] ---> System.Exception: A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration. (Exception from HRESULT: 0x80070511)
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.TileHostV2_SetNativeContentProvider(TileHostV2 tileHostV2, String dllName, String activateFnName, String className)
   at Microsoft.Phone.Maps.Controls.MOSMapModel..ctor(MapCallbacks mapCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.MapCompatibility.GetLifetimeManager(MapVersion mapVersion, Control mapControl, MapCallbacks mapInteropCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.Map..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Cyclestreets.CustomClasses.CycleStreetsMap.InitializeComponent()
   at Cyclestreets.CustomClasses.CycleStreetsMap..ctor()
--- End of inner exception stack trace ---
--- Inner exception of type System.Exception start ---
--- Message: A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration. (Exception from HRESULT: 0x80070511) ---
System.Exception: A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration. (Exception from HRESULT: 0x80070511)
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.TileHostV2_SetNativeContentProvider(TileHostV2 tileHostV2, String dllName, String activateFnName, String className)
   at Microsoft.Phone.Maps.Controls.MOSMapModel..ctor(MapCallbacks mapCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.MapCompatibility.GetLifetimeManager(MapVersion mapVersion, Control mapControl, MapCallbacks mapInteropCallbacks, Dispatcher dispatcher)
   at Microsoft.Phone.Maps.Controls.Map..ctor()
--- End of inner exception stack trace ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant