System.IO.FileLoadException: Невозможно загрузить файл или сборку "DTAPINET, Version=4.7.3.136, Culture=neutral, PublicKeyToken=8f326389dc760240" или один из зависимых от них компонентов. 

The application could not be started because its parallel configuration is incorrect. Additional information is contained in the application event log. (Exception from HRESULT: 0x800736B1 )
File name: " DTAPINET, Version=4.7.3.136, Culture=neutral, PublicKeyToken=8f326389dc760240" ---> System.Runtime.InteropServices.COMException (0x800736B1) : The application failed to start because its parallel configuration is incorrect. Additional information is contained in the application event log. (Exception from HRESULT: 0x800736B1 )

  в DtLoop.Device..ctor() в DtLoop.DtLoop.DtLoop_Load(Object sender, EventArgs e) в System.Windows.Forms.Form.OnLoad(EventArgs e) в System.Windows.Forms.Form.OnCreateControl() в System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) в System.Windows.Forms.Control.CreateControl() в System.Windows.Forms.Control.WmShowWindow(Message& m) в System.Windows.Forms.Control.WndProc(Message& m) в System.Windows.Forms.ScrollableControl.WndProc(Message& m) в System.Windows.Forms.ContainerControl.WndProc(Message& m) в System.Windows.Forms.Form.WmShowWindow(Message& m) в System.Windows.Forms.Form.WndProc(Message& m) в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 
  • Comrades tell me how to win this error! - IGOR
  • 1. Is there such an assembly in the directory where the program starts from? If not, only you can help yourself, we will not copy it for you there. 2. From your stack trace, it is clear that you have model functionality implemented in View. Do not do so, break honestly into architectural levels. 3. To debug boot problems, use FusionLog on Exception. (Rummage, he should be there.) - VladD
  • Yes, the assembly is present !! Tried a lot of methods that are offered by google. I deploy the program on the win server gives this error, on win 7 everything works. The platform and all dependencies are installed !! But I do not understand where the "legs grow" from this error. - IGOR
  • @IGOR: COMException ? See if you are using COM components (maybe indirectly). Maybe you forgot regsvr? (Or did it not run from the admin account?) Look at the dependencies of your build (depends.exe), what is missing? Maybe you are collecting the wrong configuration. - VladD

1 answer 1

The problem was that FrameWork 2.0 on the server 2008 could not be removed and it also did not allow to reinstall, and he could not open my library of version 2.0 of the assembly.