Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Connectivity » View Thread |
Messages 1 to 4 of 4 total |
Bug in 225b4 ADO.NET Driver? |
Tue, Apr 25 2017 12:17 PM | Permanent Link |
Hedley Muscroft | Hi - I just updated my C# Visual Studio project from EDB 224b3 to 225b4.
None of my code has changed (apart from this update) and as soon as I launch the application, I get the following error message :- EDB Error : Thread is running or terminated; it cannot restart. Here's the stack trace :- ======================================= Server stack trace: at System.Threading.Thread.StartupSetApartmentStateInternal() at System.Threading.Thread.Start(StackCrawlMark& stackMark) at System.Threading.Thread.Start() at Elevate.ElevateDB.Data.Engine.TEDBThread.Start() at Elevate.ElevateDB.Data.Engine.TEDBThreadTimer.UpdateTimer() at Elevate.ElevateDB.Data.Engine.TEDBRemoteSessionManager.StartPinging() at Elevate.ElevateDB.Data.Engine.TEDBRemoteSessionManager.Login(String UserName, String Password) at Elevate.ElevateDB.Data.Engine.TEDBConnectionManager.Connect() at Elevate.ElevateDB.Data.EDBConnection.Open() at ClinicOffice.cEDBHelper.GetDatabasesAndPaths(String ConnectionStr) ======================================= My code which triggers this is the first point at which my app opens a connection to the EDB Server, as follows :- ======================================= static public Dictionary<string, string> GetDatabasesAndPaths(string ConnectionStr) { Dictionary<string, string> dic = new Dictionary<string, string>(); using (EDBConnection con = new EDBConnection(ConnectionStr)) { DataTable tbl = new DataTable(); con.Open(); using (EDBDataAdapter adap = new EDBDataAdapter("select * from databases order by name", con)) { adap.Fill(tbl); } foreach (DataRow row in tbl.Rows) dic.Add(row["Name"].ToString(), row["Path"].ToString()); } return dic; } ======================================= Presumably something has changed in 225? Please let me know if this can be fixed, or if I'm doing something wrong. Many thanks, Hedley |
Tue, Apr 25 2017 1:54 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hedley,
<< None of my code has changed (apart from this update) and as soon as I launch the application, I get the following error message :- >> Hmm, yeah, the threading changed so that it doesn't pause/resume threads anymore (which is deprecated in .NET), and there's something wrong with the timing of the start calls. I'll have a fix for this shortly. Tim Young Elevate Software www.elevatesoft.com |
Wed, Apr 26 2017 4:00 AM | Permanent Link |
Hedley Muscroft | << I'll have a fix for this shortly. >>
Thanks Tim - any update at all please? I'm hoping to roll out an update to my app today, but I'm not sure whether to hold fire for this to be fixed, or to go back to 224b3 - thanks. |
Thu, Apr 27 2017 9:04 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hedley,
<< Thanks Tim - any update at all please? I'm hoping to roll out an update to my app today, but I'm not sure whether to hold fire for this to be fixed, or to go back to 224b3 - thanks. >> Per email: Please be patient. It takes about a day to a day and a half to prepare a new EDB build. The builds are going up right now, and you should get an email notification soon. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |