Exception unknown software exception (0x0eedfade)

Posted on 2006-04-21
Medium Priority
Last Modified: 2008-01-09

I have written an application which connects to SQL Server using ADO.  I get the following error on executing the app on a windows 2003 SBS server with MDAC 2.8 SP2 installed:

"The exception unknown software exception (0x0eedfade) occurred in the application at location 0x77e55dea"

When I look in the Application Event Log it is showing an Error 1000 with the explanation of:

"Error occured in application AQM.EXE Version faulting module Kernel32.dll, version 5.2.3790.1830 fault address 0x00015dea"

I have tried to re-engineer the changes made and have found that the error occurs when certain files are added to the uses clause of a unit even though none of the procedures or functions or variables are called.

The application works fine on Windows XP SP2 and on Windows 2000 Servers which made me think that it is something to do with the security changes made to MDAC concerning broadcasts to the sql server.  This has me completely stumped and is now a serious problem as I cannot ship the software to be run via Microsoft Terminal Server.

I am currently Developing in Delphi v5, looking to move to Delphi 2006 but this problem has taken precedence over the migration.  On the server I have logged on as the domain administrator.

Your help would be much appreciated.
Question by:MBL1175

Expert Comment

ID: 16507876
just a thought ...

Perhaps, one, some, of the files added in the uses clause, defines static links to a .DLL which exists for XP SP2 and Win2k, but, not for Win2003 ...

Author Comment

ID: 16508141
I have created a file log for when the application runs and have noticed the following line:

242      2:58 pm      wmiprvse.exe:3672      IRP_MJ_QUERY_INFORMATION      C:\SYSPRO60\aqm\aqm.exe      BUFFER OVERFLOW      FileNameInformation

I am guessing that this is to with the MDAC security fix for Buffer Overflow on accessing the database.
LVL 10

Expert Comment

ID: 16521245
I would suggest updating your computers MDAC version, u can get it from microsoft.com just search for MDAC
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 16523601
I am currently have MDAC SP1 for XP and there does not seem to be any updates since this release, I have used the component checker as well.

Author Comment

ID: 16545563
I have tested the app on another 2003 server which has the same MDAC version and it works, so this must be a security issue surely??  I used the Component checker and compared the results from the machine which it works and a machine which it does not work on and the files and versions are the same.  Checked the files using winmerge which tells me the files are the same.

The machines where the app does not seem to work are Windows 2003 SBS servers, is there is a security option which could be causing the above problem???

Author Comment

ID: 16595777
No joy ? or would it better to post this under operating system queries???

Author Comment

ID: 16629542
I have been able to find what was causing the error on Windows 2003 SBS servers, on one form I was using the EMAIL Server to connect and send emails, on removing this unit from the form the application now runs on the servers where it did not before.

Anyone have any ideas as to why this error would occur, and can I use an api call instead to create an email with a attachment to a specified email address??

Author Comment

ID: 16680696
This question can be closed as the initial query has been resolved by myself through a process of elimination as explained in the above comment.

Accepted Solution

GranMod earned 0 total points
ID: 16715763
Closed, 500 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question