Solved

Application terminate on start on Win 2003 server after delphi upgrade

Posted on 2004-09-23
12
218 Views
Last Modified: 2010-04-05
After I have upgraded Delphi to 7.1 I get an error when starting the application on Windows 2003 server machines. The application shows the splash screen and then exits. In the event viewer I get this error:

Source: Application Error
Category: (100)
ID: 1000
Type: Error
Message:
Faulting application <Application name>, version <version>, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000249d3.

Can anyone help me?
0
Comment
Question by:norc
12 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12132548
start it from Delphi and debug it run-time...
0
 
LVL 1

Author Comment

by:norc
ID: 12132651
Yeah but I really don't want to install delphi on the server with all the plugins. I saw others have the same problem but no solution or cause is specified anywhere.
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12132676
add madexcept (get it at www.madshi.net) to your application and run it on the server....
Then see the madexcept log to see wich entries causes the crash...

BTW from wich delphi version have you upgraded?
0
 
LVL 1

Author Comment

by:norc
ID: 12132718
Upgraded from 7.0
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12132838
Well the Delphi 7.1 update is still in beta test and isn't already certified.
You first must be sure to have rebuilded the whole project (but i guess that it is).
As you don't want to install delphi on the server (and that's legitim) i stay with my suggestion....Install madexcept into IDE, compile and run the program on the server.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 13

Expert Comment

by:BlackTigerX
ID: 12136635
I would use a utility like this one:
http://support.businessobjects.com/communityCS/FilesAndUpdates/modules.zip.asp

to find all the DLLs in use by your program

then, make sure you have all those DLLs in the 2003 machine
0
 
LVL 1

Author Comment

by:norc
ID: 12140405
Integrated MadExcept and it did not catch the error. I suspect because the application terminates before it even initializes the main form it just shows the splash screen and then exits.
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12140491
Are you sure about madExcept settings? In your EVent Log there's a Kernel32 load error that is called by your app, so Madexcept should report it....

BTW the application starts correctly, so what about the main form oncreate? I guess that there're some DB opening there (or in a DataModule loading), as most of the changes in the 7.1 upg are about DB vcl's and modules....
0
 
LVL 1

Author Comment

by:norc
ID: 12141128
Solved the problem by accident! The problem was that Crystal reports engine was not installed on the server. I don't know how it worked before the Delphi upgrade but it did. Usualy on other operating sistems the application shows an error message that it can not access crystal libraries but on win 2003 server it does not. It just terminates. Thanks for the help.

Administrator please refund the points for this question.
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12141281
--> I don't know how it worked before the Delphi upgrade but it did.

as i've already said --> I guess that there're some DB opening there (or in a DataModule loading), as most of the changes in the 7.1 upg are about DB vcl's and modules....

That's why, as Crystal reports works with DB interfaces too...
Ar you sure that this my comment didn't point you to the right direction? :))

Just joking, BTW to close and refund ask for that into the Community SUpport TA posting a link to this Q.
Or ask for the PE (kretzschmar) same action by mailing him the request and the link (see his profile)

F68 ;-)
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12169934
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi OLE Error 8 93
proper way to parse text with delphi 7 99
SUM 2 INTEGER ARRAYS INTO 1 10 93
Firemonkey webbrowser scrollbars ? 1 29
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

930 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now