Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 3rd, 2006, 07:44 AM
skea skea is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 10 skea User rank is Private First Class (20 - 50 Reputation Level)skea User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 h 41 m 5 sec
Reputation Power: 0
FbConnection failing me here.

I ve gotten a big...bigggg Problem with firebird, before i was using oledbConnection and i would easily run the sub below without any problem and the results would come very first.
But when i run this sub now, an exception below is thrown. i have tried to uncheck the ContextSwitchDeadLock and the LoaderLock but phew!! my application hangs when i click more that three cells in the datagridview.
Quote:
Managed Debugging Assistant 'ContextSwitchDeadlock' has detected a problem in 'C:\Documents and Settings\skea\Desktop\IncidentsFB\Incidents\bin\Debug\Incidents Tracker.exe'.
Additional Information: The CLR has been unable to transition from COM context 0x1a8c28 to COM context 0x1a8ab8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

Code:
Private Sub dgvIncidents_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvIncidents.CellClick
        getID()
        PopulateIncidentTypeCombo()
        PopulateIncidentCauseCombo()
        PopulateDistrictCombo()
        PopulateForm()
        getDistValueByID()        
    End Sub

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > FbConnection failing me here.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway