Exception unknown software exception (0x0eedfade)


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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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 ...
MBL1175Author Commented:
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.
I would suggest updating your computers MDAC version, u can get it from microsoft.com just search for MDAC
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

MBL1175Author Commented:
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.
MBL1175Author Commented:
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???
MBL1175Author Commented:
No joy ? or would it better to post this under operating system queries???
MBL1175Author Commented:
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??
MBL1175Author Commented:
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.
Closed, 500 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.