Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : COM+ ErrorSearch Forum

Forum Home > FlexODBC - ODBC Driver for DataFlex Embedded DBMS > FlexODBC Forum

 New Topic 
 
 Post Reply 
[1]  
 COM+ Error 
 Author   Message 
  Chen 
  
 Group: Members 
 Posts: 4 
 Joined: 2007-12-15 
 Profile
 Posted : 2008-08-16 01:09:39
Hi,

I encounter an error while using FlexODBC driver (it does not happen offten, but like randomly and when you has a lot of SQL to run continuously). The error casued a access violation exception and halt the application. Here are something recorded in the Event Log:

Event Type:     Error

Event Source:  COM+

Event Category:          Unknown

Event ID:        4786

Date:               8/8/2008

Time:               12:36:55 PM

User:                N/A

Computer:       ALABAMADB

Description:

The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.

Component Prog ID: 0[ODBC][Env 34f14e8]

Method Name: IDispenserDriver::CreateResource

Process Name: AL_DataReader.Hoster.Service.exe

Exception: C0000005

Address: 0x10025D34

Call Stack:

APID0001! + 0x25D34


Anyone has clue?

Thanks!

Chen 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-08-18 11:26:08
Your application needs to use a STA (single-threaded-apartment) threading model. Multi-threading can cause exception errors.

See the msdn .NET Framework Developer Center:  http://msdn2.microsoft.com/en-us/library/system.stathreadattribute.aspx for more information.

 

  Top 
  Chen 
  
 Group: Members 
 Posts: 4 
 Joined: 2007-12-15 
 Profile
 Posted : 2008-08-18 23:21:20
Thanks!

Chen 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to