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