Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows Server 2008

17 views
Skip to first unread message

Jim Elden

unread,
Jul 29, 2008, 3:16:58 PM7/29/08
to
Hi All,

What server roles need to be set on Windows Server 2008 for a DataSnap
server to run properly?

We've just installed our first Windows Server 2008 and get the message
"Application Server has stopped working" whenever we try to start our
DataSnap server. Our server was compiled with D7.

Thanks,
--
Jim

Craig Stuntz [TeamB]

unread,
Jul 29, 2008, 3:23:19 PM7/29/08
to
Jim Elden wrote:

> We've just installed our first Windows Server 2008 and get the
> message "Application Server has stopped working" whenever we try to
> start our DataSnap server. Our server was compiled with D7.

You don't say on which OSs your application server does work, but my
wild guess is that you're being bitten by Data Execution Prevention.
This is an RTL bug which is fixed in later versions of Delphi. The
workaround for D7 is to disable DEP for your application, or run the
application in a security context which disables DEP by default.

--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Want to help make Delphi and InterBase better? Use QC!
http://qc.borland.com -- Vote for important issues

Jim Elden

unread,
Jul 30, 2008, 7:58:32 AM7/30/08
to
>>You don't say on which OSs your application server does work

XP, and Windows 2000, 2003 Servers

>>Data Execution Prevention.

Yep. The "Application Server has stopped working" message was a bit
misleading, though.

>>run the application in a security context which disables DEP by default.

This is the best solution for us.

Thanks Craig.
--
Jim


bis...@bishopphillips.com

unread,
Aug 14, 2008, 8:33:24 AM8/14/08
to
DEP was introduced in W2003, so if it works there without DEP disabled
for the app, I doubt that is your problem. Does it work in Vista?

If not, and you are writing/reading to the registry, the registry
access may be your problem. We re-wrote the D7 registry access
routines and our D7 apps now work in Vista without problems. I seem
to remember that W2008 has the same registry protection that Vista
has. The registry problem was that D7 opened the registry in God mode
regardless of what it was doing, so if you revise the registry access
to use only the permissions over the specific keys you explicity need
for the action being performed you may find some joy.

We haven't trialled on W2008 yet, but in W2003, at least you could
disable DEP for specific application - so I imagine that may be
possible under W2008 as well - check the properties for the
application.

Regards
JB

0 new messages