Quantcast
Channel: OpenFlows | Water Infrastructure
Viewing all articles
Browse latest Browse all 39611

Wiki Page: Opening FlowMaster, the following error occurs: "System.InvalidOperationException: DragDrop registration failed"

$
0
0
      Applies To        Product(s): Bentley FlowMaster   Version(s): 08.01.071.00   Environment:  N/A   Area:  Other   Subarea:    Original Author: Terry Foster, Bentley Technical Support Group                   Error or Warning Message InvalidOperationException Details --------------------------- Press Ctrl-C to copy details to clipboard:       System.InvalidOperationException: DragDrop registration did not succeed. --- System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.      at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)      --- End of inner exception stack trace ---      at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)      at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)      at TD.SandDock.DockContainer.OnHandleCreated(EventArgs e)      at System.Windows.Forms.Control.WmCreate(Message& m)      at System.Windows.Forms.Control.WndProc(Message& m)      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) --------------------------- OK  --------------------------- How to Resolve this Error Option 1 If you have a version later than 08.01.071.00 see Option 2. Make sure that you installed version 08.01.071.00 of FlowMaster.  The below patch will only work with this version.  You can download this version from the selectservices.bentley.com website. Make a backup of your existing FlowMaster.starter.exe file.  This is located in your FlowMaster install folder.  The default is C:\Program Files\Bentley\FlowMaster\ Download the following patched executable: ftp://ftp.bentley.com/pub/knowledgebase/attachments/FlowMaster.Starter.exe Choose to save it to the FlowMaster install folder. The program should now open without a problem.  Note that you may need to point your shortcut to the FlowMaster.starter.exe file. Option 2 If you have a version later than 08.01.071.00: Point your FlowMaster shortcut to the FlowMaster.starter.exe file in the FlowMaster installation folder, instead of FlowMaster.exe.   Option 3 uninstall/reinstall .NET runtimes: You can try uninstalling and then re-installing the .NET runtime. Our software as of April 1st, 2014 uses .NET 3.5. Installing higher version also seem to help as found on this   Forum post .  

Viewing all articles
Browse latest Browse all 39611

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>