We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What should I do when I get a "DragDrop registration failed" error as I try to run my application containing the Grid?

Platform: WinForms |
Control: GridControl |
Published Date: April 30, 2011 |
Last Revised Date: March 10, 2015


The most likely cause of this problem is that your Main entry point does not have the [STAThread] attribute associated with it. Without this attribute, the Essential Grid support of the OLE Drag and Drop causes this error.


There are two possible solutions. The first one is to add the [STAThread] attribute and remove the [MTAThread] attribute in case it is present. The second one is to remove the OLE Drag and Drop support from the Essential Grid.

Solution 1: Here is a sample Main entry point with the STAThread attribute.



Solution 2: To remove OLE Drag and Drop support so that you application can be MTAThread.

  • Change the Main attribute [STAThread] to [MTAThread].
  • Turn the AllowDrop off.
  • Turn off the OLE options in the ControllerOptions.
  • Set the DataObjectConsumerOptions to none.




2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon