"TargetInvocationException" ?????? ????? ?? ??? visual Studio ??-?? ?????

???? ?????? ???? ??????
???? ID: 2923556 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?????

?? ???? ??-?? ?? ?????? ????? ??? ??? ???, ?? Microsoft Visual Studio 2013 System.Reflection.TargetInvocationException ?????? ?? ?? ????? ? ???? ??? ????? ?? ??? ????????? ??? ?? ??? ?? ???? ???

????????? ????? ??? ???, ?? ???? ?? ??? ???? ??? ?? ??? ????????? ?????? ???????:

????????? ????????? ?? ???: devenv.exe, ???????: 12.0.21005.1, ??? ???????: 0x524fcb34
????????? ??????? ?? ???: KERNELBASE.dll, ???????: 6.1.7601.18229, ??? ???????: 0x51fb10c6
????? ???: 0xe0434352
??? ??????: 0x0000812f
????????? ????????? ????: 0xe3c
????????? ??????? ??? ????????: 0x01cf0b21c6346ea8
????????? ????????? ??: C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
????????? ??????? ??: C:\Windows\system32\KERNELBASE.dll

Thisis ?? ??? ??? ???? ????? withtext .NET ?????? ?? ??? byan ????? ?? ???? ???:

?????????: devenv.exe
????? ???????: v4.0.30319
?????: ????????? ?? ????? ? ???? ??? ????? ?? ???? ??? ?? ???? ??? ???
????? ???????: System.Reflection.TargetInvocationException
?????:
System.RuntimeMethodHandle.InvokeMethod (System.Object, System.Object [], System.Signature, ??????) ??
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal (System.Object, System.Object [], System.Object[]) ??
?? System.Delegate.DynamicInvokeImpl(System.Object[])
System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) ??
MS ???Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate)
?? System.Windows.Threading.DispatcherOperation.InvokeImpl()
?? System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, ??????) ??
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, ??????) ??
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) ??
?? System.Windows.Threading.DispatcherOperation.Invoke()
?? System.Windows.Threading.Dispatcher.ProcessQueue()
System.Windows.Threading.Dispatcher.WndProcHook (IntPtr, Int32, IntPtr, IntPtr, ?????? ?? ByRef) ??
MS ???Win32.HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, ?????? ?? ByRef)
MS ???Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) ??
MS ???Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate)
System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) ??
MS ???Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr)

????

Thisissue ??????? ???? ?? ??????? ??? ????? ???????? IDE ??? 2013 ??? ????????? ???? ?? .NET System.IO.File ???? ?????? ????? ?? ??? ??? ????? ?? ??? ???? ?? ?? ??????????? ?? ???????? ???? ??? Visual Studio ???? System.ArgumentException ?? TargetInvocationException ?? ??? ??? IDE ?? ?????? ?? bubbled ?? ?? ????????? ????? ??? ???? ?? ???? ????

????????

?? ?? ???? ?? ????????? ???? ?? ???? ????????? ??? ???? ? Win32 ????? ??? ??? ?? ?????? ?? ????? ??? ?? ???? ????

Visual Studio 2013 ?????? 2 ?? Visual Studio ?? ??? ?? ????????? ??? ?? ?????? ???? ?? ???

???? ???????

TargetInvocationException ?? ?? ?????? ??? ????? ?? ???? ?????? ??? ??? ?? ????? ? ???? ??? ????? ?? ?????? ??? ?? ?? WindDdbg ????? ??? ????? ???????? ??? ????? ????????? ???? ?? ??? ????? ??? ??? ????????? ?? ????? ?? ????????? ?? ?? ????????? ??? ????? ?? ??:


????? ?? CLR ??????: System.Reflection.TargetInvocationException
"????? ?? ?? ???????? ?? ?????? ?????? ?????? ???? ??? ??."
??????: ?????? ????? ???? ??? ???? ?????? C:\Windows\system32\KERNELBASE.dll ?? ??? ??????? ???? ?? ??? defaulted-
eax = 0027eb88 ebx = 00000005 ecx = 00000005 edx 00000000 esi = 0027ec48 ??????? = = 00000001
eip 7528812f esp = 0027eb88 ebp = 0027ebd8 iopl = = 0 ei ???? nz ac pe ?? nv nc
cs 001b ss = = 0023 ds = 0023 es ???????? 0023 fs = 003b = 0000 efl = = 00200216
KERNELBASE!RaiseException + 0x54:
7528812f c9 ??????
0:000 >! loadby ????? ??? ??? clr
0:000 >! ????? ??? ????PrintException
????? ????????: 136eb7f8
????? ??????: System.Reflection.TargetInvocationException
?????: ????? ?? ?? ???????? ?? ?????? ?????? ?????? ???? ??? ???
InnerException: System.ArgumentException, ?? ????? ????!?? ???? ????? ?? ??? PrintException 136e9f10.
StackTrace (???????):
SP IP ???????
00000000 00000001 mscorlib_ni!System.RuntimeMethodHandle.InvokeMethod (System.Object, System.Object [], System.Signature, ??????) + 0x2
0033BEC8 60D99BC1 mscorlib_ni!System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal (System.Object, System.Object [], System.Object[])+0xc1
0033BEEC 60D904B6 mscorlib_ni!System.Delegate.DynamicInvokeImpl (System.Object []) + 0x76
0033BF00 6079C5BD WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) + 0xad
0033BF20 6079C49A WindowsBase_ni! MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate)+0x3a
0033BF64 6079EE4C WindowsBase_ni!(System.Windows.Threading.DispatcherOperation.InvokeImpl) + 0xac
0033BF9C 6079ED88 WindowsBase_ni!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object) + 0x38
0033BFA4 60E14157 mscorlib_ni!System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, ??????) + 0xa7
0033 ? 010 60E14096 mscorlib_ni!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, ??????) + 0x16
0033 ? 024 60E14051 mscorlib_ni!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)+0x41
0033C03C 6079EC9B WindowsBase_ni!(System.Windows.Threading.DispatcherOperation.Invoke) + 0x5b
0033 ? 074 6079B21B WindowsBase_ni!(System.Windows.Threading.Dispatcher.ProcessQueue) + 0x16b
0033C0B8 6079B3DA WindowsBase_ni!System.Windows.Threading.Dispatcher.WndProcHook (IntPtr, Int32, IntPtr, IntPtr, ?????? ?? ByRef) + 0x5a
0033 104 6079C75B WindowsBase_ni C! MS.Win32.HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, ?????? ?? ByRef) + 0x9b
0033 140 6079C6AB WindowsBase_ni C! MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object) + 0x6b
0033C 150 6079C 562 WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) + 0x52
0033 170 6079C49A WindowsBase_ni C! MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate)+0x3a
0033C1B4 6079AABE WindowsBase_ni!System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) + 0x10e
0033 208 6079BFF1 WindowsBase_ni C! MS.Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr) + 0xf1
00000000 00000001 System_Windows_Forms_ni!System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop (IntPtr, Int32, Int32) + 0x2
0033C4D8 5C35DFC7 System_Windows_Forms_ni!System.Windows.Forms.ComponentManagerProxy.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (IntPtr, Int32, Int32) + 0x27
0033C4F0 5BBBF8D1 System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner (Int32, System.Windows.Forms.ApplicationContext)+0x155
0033 ? 540 5BBBF742 System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoop (Int32, System.Windows.Forms.ApplicationContext)+0x4a
0033C56C 5BB67004 System_Windows_Forms_ni!+ 0x18 (System.Windows.Forms.Application.DoEvents)
0033 ? 574 0682B972 MyAddin!(???????) + 0x6fa

StackTraceString:<none>
HResult: 80131604

InnerException ????????? ????? ?????? ?? ?????? ??:

0:000 >!PrintException 136e9f10
????? ????????: 136e9f10
????? ??????: System.ArgumentException
?????: ?????? ???? ?? ??? ???
InnerException:<none>
StackTrace (???????):</none></none>Br / > SP IP ???????
0033BA18 617FFD07 mscorlib_ni!System.IO.Path.CheckInvalidPathChars (System.String, ??????) + 0xa68db7
0033BA28 60E05936 mscorlib_ni!System.IO.Path.GetExtension (System.String) + 0x16
0033BA40 6D60F8E7 Microsoft_VisualStudio_Shell_UI_Internal_ni!Microsoft.VisualStudio.Services.VsImageService.GetIconForFileEx (System.String, Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT, Microsoft.VisualStudio.Shell.Interop.__VSIconSource ?? ByRef) + 0x3f
0033BA64 6D60F88C Microsoft_VisualStudio_Shell_UI_Internal_ni!Microsoft.VisualStudio.Services.VsImageService.GetIconForFileEx (System.String, Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT, UInt32 ?? ByRef) + 0x14
0033BA74 16D5ABD8 Microsoft_VisualStudio_Platform_WindowManagement_ni!Microsoft.VisualStudio.Platform.WindowManagement.UtilityMethods.GetDocumentTabImage (System.String, Microsoft.VisualStudio.Shell.Interop.__TABIMAGEFLAGS ?? ByRef) + 0x38
0033BA90 6DE8F8F6 Microsoft_VisualStudio_Platform_WindowManagement_ni!(Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.UpdateDocumentIcon) + 0x131e2a

StackTraceString:<none>
HResult: 80070057

?? ?? ?? ????? ???? ?????? ????? ??? ????????? ??? ?????? ???? ??? ?? ???? ?? ??? ??? ??????? ????? ????????? ???? ?? ?? ?? ?????? c# ??? ??????????? ??:</none>
static void Main(string[] args) { string path = null; path = @"A09F9925-32BC-47E1-9DC0-1F71C64E9A6E@SAMPLE.""ADEFUSR0"""; string extension = System.IO.Path.GetExtension(path); }
?? ??? System.ArgumentException GetExtension ??? ?? ???? ?????

???

???? ID: 2923556 - ????? ???????: 27 ??? 2014 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Visual Studio Premium 2013
  • Microsoft Visual Studio Professional 2013
  • Microsoft Visual Studio Ultimate 2013
??????: 
kbmt KB2923556 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:2923556

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com