Access Denied #2748

Closed
bbday opened this Issue Nov 16, 2016 · 6 comments

Comments

Projects
None yet
2 participants
@bbday

bbday commented Nov 16, 2016

I use last app version on wpf i have this problem sometimes 1 for day when i run app on virtual server (i dont' have this issue in my local pc)

E_ACCESSDENIED
at Standard.HRESULT.ThrowIfFailed(String message)
at Standard.HRESULT.ThrowLastError()
at MahApps.Metro.Controls.GlowWindow.GetRelativeMousePosition()
at MahApps.Metro.Controls.GlowWindow.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

@punker76

This comment has been minimized.

Show comment
Hide comment
@punker76

punker76 Nov 16, 2016

Member

@bbday It seems like you don't have the rights at this virtual server to use methods from user32.dll. What is this virtual server? I think this is not related to MahApps.

Member

punker76 commented Nov 16, 2016

@bbday It seems like you don't have the rights at this virtual server to use methods from user32.dll. What is this virtual server? I think this is not related to MahApps.

@bbday

This comment has been minimized.

Show comment
Hide comment
@bbday

bbday Nov 17, 2016

It is vultr vps

bbday commented Nov 17, 2016

It is vultr vps

@punker76

This comment has been minimized.

Show comment
Hide comment
@punker76

punker76 Nov 17, 2016

Member

@bbday Ok, and as I said before, it's maybe not a bug by MahApps

Member

punker76 commented Nov 17, 2016

@bbday Ok, and as I said before, it's maybe not a bug by MahApps

@punker76 punker76 closed this Nov 17, 2016

@bbday

This comment has been minimized.

Show comment
Hide comment
@bbday

bbday Nov 23, 2016

I found the Problem: it is with Remote Desktop if i use teamviewer i don't have this problem.

bbday commented Nov 23, 2016

I found the Problem: it is with Remote Desktop if i use teamviewer i don't have this problem.

@bbday

This comment has been minimized.

Show comment
Hide comment
@bbday

bbday Jan 14, 2017

It is a ramdon problem, sometimes happen sometimes not, alwasy only with remote desktop not with teamviewer. is it possible add something try / catch inside mapapp dll to not trigger exception, cause then app crash, i wanna just ignore error.

bbday commented Jan 14, 2017

It is a ramdon problem, sometimes happen sometimes not, alwasy only with remote desktop not with teamviewer. is it possible add something try / catch inside mapapp dll to not trigger exception, cause then app crash, i wanna just ignore error.

@punker76

This comment has been minimized.

Show comment
Hide comment
@punker76

punker76 Jan 14, 2017

Member

@bbday I will surround it with a MahAppsException

Member

punker76 commented Jan 14, 2017

@bbday I will surround it with a MahAppsException

@punker76 punker76 reopened this Jan 14, 2017

@punker76 punker76 self-assigned this Jan 14, 2017

@punker76 punker76 added this to the 1.4.2 milestone Jan 30, 2017

@punker76 punker76 closed this Jan 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment