dBExpress with Terminal Server 2008R2

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
streatley
Posts: 25
Joined: Mon 09 Oct 2006 18:10
Location: Reading, England

dBExpress with Terminal Server 2008R2

Post by streatley » Fri 15 Oct 2010 16:36

We have a client who is running our Delphi app with version 3 – the application runs just fine on XP, Vista & Windows 7 and also on Terminal Server 2003. The client is testing a move to Terminal Server 2008R2 and the gets an immediate crash on application startup – we believe that this occurs when the app is trying to connect to SQL Server (ie the app gets passed all the points up to the connection being opened up). The Windows error is :

Problem Event Name: APPCRASH
Application Name: dEWin.exe
Application Version: 5.1.5.20
Application Timestamp: 2a425e19
Fault Module Name: StackHash_2264
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 0259b530
OS Version: 6.1.7600.2.0.0.18.10
Locale ID: 2057
Additional Information 1: 2264
Additional Information 2: 2264db07e74365624c50317d7b856ae9
Additional Information 3: 875f
Additional Information 4: 875fa2ef9d2bdca96466e8af55d1ae6e

It’s puzzling that it works on TS 2003 but not on TS2008R2 and that there is no helpful error message, just the crash!

Any suggestions about how we might get this application up and running on TS2008R2?

Regards
Anton

AndreyZ

Post by AndreyZ » Tue 26 Oct 2010 08:35

Hello,

Please try the following:
- install SDAC (you can download them here: http://www.devart.com/sdac/download.html);
- create a new project and place the TMSConnection component on the form;
- try establishing connection to the server on the Terminal Server 2008R2 computer.

streatley
Posts: 25
Joined: Mon 09 Oct 2006 18:10
Location: Reading, England

Terminal Server 2008 R2

Post by streatley » Tue 26 Oct 2010 09:04

Hi

I've tried using the latest (that I had) dBExpress version - 4.20 and that works OK. We've just upgraded to 4.75 so will try that as well. But it looks as if it's a 'version' issue - would that make sense to you?

Regards
Anton

AndreyZ

Post by AndreyZ » Thu 28 Oct 2010 12:28

I cannot reproduce the problem. Please try testing SDAC as I described in the previous post.

streatley
Posts: 25
Joined: Mon 09 Oct 2006 18:10
Location: Reading, England

Post by streatley » Thu 28 Oct 2010 12:42

Hi Andrey

The application is now working fine on RDS 2008 R2 with v4.2 or v4.75 - it fails only on v3.10. We can't easily run tests on RDS 2008R2 without visiting the customers site and, as it's now working, it's not viewed as an issue.

Many thanks for your input - if we get any further problems surfacing with RDS 2008R2 we'll set up a test application and use SDAC as you suggest.

Kind regards
Anton

AndreyZ

Post by AndreyZ » Fri 29 Oct 2010 07:52

I am happy that this problem doesn't bother you. Feel free to contact us if you have any further questions.

Post Reply