Exception unknown software exception (0x0eedfade)

MBL1175
MBL1175 used Ask the Experts™
on
Hi,

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 0.0.0.0 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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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

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.

Commented:
I would suggest updating your computers MDAC version, u can get it from microsoft.com just search for MDAC
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Author

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.

Author

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???

Author

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

Author

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??

Author

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.
Commented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial