Page 1 of 1

MyDeveloper Tools causing errors

Posted: Tue 08 Apr 2008 11:45
by kazachok
Hi, I am currently using MyDirect 4.50.26 and MyDeveloper Tools 2.10.79 with Visual Studio 2005.
I am also using the latest DevExpress library version 8.1.1.
I noticed that you are utilizing the same library but older version.

Every time I launch table editor from Database Explorer I get the "Visual Studio has encountered a problem and needs to close" error. In the report Error Signature I saw the devexpress.coderush.core

====
EventType : clr20r3 P1 : devenv.exe P2 : 8.0.50727.762 P3 : 45716759
P4 : devexpress.coderush.core P5 : 3.0.5.0 P6 : 476f8c25 P7 : 3328
P8 : 287 P9 : system.invalidoperationexception
====

Any help will be very appreciated.
Thanks.

Posted: Wed 09 Apr 2008 12:49
by Alexey.mdr
We will investigate this problem.
Also please contact DevExpress support, it's likely the issue of the version 8.1.1.

Error is still happening

Posted: Thu 17 Apr 2008 15:33
by kazachok
Hi, I am still experiencing this issue, but this time I have a little more information.

It looks like this is a conflict between DevEx libraries you use and I am using.
I am also using DevExpress CodeRush and Refactor Pro, and I when I disable these plugins, your table Editor works.

Here is some info from the Core Lab Error Report that was generated:
============================
=========================
General
=========================
Application: Microsoft Visual Studio 2005
Assembly: CoreLab.DbTools.Vs, Version=2.55.121.0, Culture=neutral, PublicKeyToken=09af7300eec23701
C:\Program Files\Common Files\CoreLab\Database Developer Tools\VS8\CoreLab.DbTools.Vs.dll
Global cache: False
Framework: 2.0.50727.1433

=========================
Exception Information
=========================
Message: BufferedGraphicsContext cannot be disposed of because a buffer operation is currently in progress.
Source: CoreLab.DbTools.Controls
TargetSite: Void Dispose(Boolean)
HelpLink:
Type: System.InvalidOperationException
Stack:
at CoreLab.DbTools.Common.UnhandledExceptionHelper.a(Object A_0, Exception A_1, Boolean A_2, Boolean A_3)
at CoreLab.DbTools.Common.UnhandledExceptionHelper.HandleException(Object sender, Exception ex)
at CoreLab.DbTools.Common.UnhandledExceptionHelper.a(Object A_0, ThreadExceptionEventArgs A_1)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at CoreLab.Common.UnsafeNativeMethods.CallWindowProcW(IntPtr lpPrevWndFunc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at CoreLab.DbTools.Common.UnhandledExceptionHelper.a(IntPtr A_0, Int32 A_1, IntPtr A_2, IntPtr A_3)

=========================
Connections
=========================
tooldb.poseidon - 'User Id=root;Host=poseidon;Database=tooldb;Unicode=True'
Root on tooldb.poseidon (current) - 'User Id=root;Host=poseidon;Database=tooldb;Unicode=True'. Server version 5.0.52-enterprise-nt

=========================
Window Layout
=========================
Active document window: 'Data - tooldb_axiscorrectionfactors*' (Design)

=========================
Loaded Assemblies
=========================
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2.0.0.0 C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Microsoft.VisualStudio.CommonIDE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 8.0.0.0 C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.CommonIDE/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.CommonIDE.dll
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2.0.0.0 C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2.0.0.0 C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2.0.0.0 C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
CoreLab.MySql.Vs, Version=4.50.26.0, Culture=neutral, PublicKeyToken=09af7300eec23701 4.50.26.0 C:/Program Files/CoreLab/MyDirect.NET2/CoreLab.MySql.Vs.dll
Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2.0.0.0 C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Shell/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.dll
Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 7.1.40304.0 C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.Shell.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.dll
Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 7.1.40304.0 C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.OLE.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.OLE.Interop.dll
Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 8.0.0.0 C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.Shell.Interop.8.0/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.8.0.dll
Microsoft.VisualStudio.Data, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 8.0.0.0 C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/Microsoft.VisualStudio.Data.DLL
EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 8.0.0.0 C:/WINDOWS/assembly/GAC/EnvDTE/8.0.0.0__b03f5f7f11d50a3a/EnvDTE.dll
System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2.0.0.0 C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
CoreLab.Data.Design, Version=4.50.21.0, Culture=neutral, PublicKeyToken=09af7300eec23701 4.50.21.0 C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Data.Design/4.50.21.0__09af7300eec23701/CoreLab.Data.Design.dll
CoreLab.MySql.Design, Version=4.50.26.0, Culture=neutral, PublicKeyToken=09af7300eec23701 4.50.26.0 C:/Program Files/CoreLab/MyDirect.NET2/CoreLab.MySql.Design.DLL
CoreLab.Data, Version=4.50.21.0, Culture=neutral, PublicKeyToken=09af7300eec23701 4.50.21.0 C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Data/4.50.21.0__09af7300eec23701/CoreLab.Data.dll
DevExpress.DXCore.Shell, Version=3.0.5.0, Culture=neutral, PublicKeyToken=35c9f04b7764aa3d 3.0.5.0 C:/WINDOWS/assembly/GAC_MSIL/DevExpress.DXCore.Shell/3.0.5.0__35c9f04b7764aa3d/DevExpress.DXCore.Shell.dll
DevExpress.CodeRush.Common, Version=3.0.5.0, Culture=neutral, PublicKeyToken=35c9f04b7764aa3d 3.0.5.0 C:/WINDOWS/assembly/GAC_MSIL/DevExpress.CodeRush.Common/3.0.5.0__35c9f04b7764aa3d/DevExpress.CodeRush.Common.dll
DevExpress.DXCore.Controls.Utils.v6.3, Version=3.0.5.0, Culture=neutral, PublicKeyToken=35c9f04b7764aa3d 3.0.5.0 C:/WINDOWS/assembly/GAC_MSIL/DevExpress.DXCore.Controls.Utils.v6.3/3.0.5.0__35c9f04b7764aa3d/DevExpress.DXCore.Controls.Utils.v6.3.dll
DevExpress.DXCore.Controls.XtraBars.v6.3, Version=3.0.5.0, Culture=neutral, PublicKeyToken=35c9f04b7764aa3d 3.0.5.0 .............
============================
Please let me know if I can explain DevExpress that I am using your product that uses older versions of DevExpress Dlls.

Also, let me know if you need the full Error Report.

Thanks.

Posted: Fri 18 Apr 2008 15:34
by Alexey.mdr
This version of CodeRush from DevExpress 8.1.1 tries to work with unsupported version of DevExpress library v. 6.3.
Please contact the support team of DevExpress and describe the situation.
MyDeveloper Tools use DevExpress library v. 6.3.
You are working with DevExpress dll v. 8.1.1.
CodeRush throws the mentioned above exception, which is caught by MyDeveloper Tools.
What are their suggestions?
We think that the problem is in the downgrade compatibility of CodeRush.

Some References

Posted: Fri 18 Apr 2008 17:12
by kazachok
I submitted a bug report to DevExpress:
here is the link: http://www.devexpress.com/Support/Center/p/B93824.aspx

I will keep you posted.

Thanks

Posted: Mon 21 Apr 2008 10:18
by Alexey.mdr
Hi!

I've reviewed the link. So basically we are waiting for Devexpress guys now.
Please let me know about the results.

Regards,
Alexey.