Вы находитесь на странице: 1из 1

System.

TypeInitializationException: The type initializer for


'Teigha.TG.TG_DbPINVOKE' threw an exception. --->
System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper'
threw an exception. ---> System.DllNotFoundException: Unable to load DLL
'TG_SwigDb_4.00_10.dll': The specified module could not be found. (Exception from
HRESULT: 0x8007007E)
at
Teigha.TG.TG_DbPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_TG_Db(Exc
eptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate,
ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate,
ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate,
ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate,
ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate,
ExceptionDelegate systemExceptionDelegate)
at Teigha.TG.TG_DbPINVOKE.SWIGExceptionHelper..cctor()
--- End of inner exception stack trace ---
at Teigha.TG.TG_DbPINVOKE.SWIGExceptionHelper..ctor()
at Teigha.TG.TG_DbPINVOKE..cctor()
--- End of inner exception stack trace ---
at Teigha.TG.TG_DbPINVOKE.new_OdExDgnSystemServices()
at Teigha.TG.OdExDgnSystemServices..ctor()
at A.c884693ac016fee5113685710609131ae.c548a2477bcec154d8779e9e43720b840()
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at
MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority
priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam,
IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at A.c3202ec5c444aa6858a57364481e1089b.ce41cebf0979f01ddab4f136b4e159b74()