• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 658
  • Last Modified:

SQL Server Errors in Terminal Services

HI,

Getting the following error popping up when we connect to our SQL Server via Terminal Services:

Event Type:      Information
Event Source:      Application Popup
Event Category:      None
Event ID:      26
Date:            19/07/2006
Time:            09:51:59
User:            N/A
Computer:      ********
Description:
Application popup: sqlmangr.exe - Application Error : The instruction at "0x780104ac" referenced memory at "0x018eeba8". The memory could not be "read".

Click on OK to terminate the program
Click on CANCEL to debug the program

This causes the SQL Manager to shut down.
Also seem to get a similiar error when trying to browse available SQL servers in DTS Designer and Query Analyser, in that it causes Enterprise Manager or Query Analyser to crash.

The odd thing is that this ONLY happens when we connect via Terminal Services, and doesn't occur if I'm on on the actual SQL server.

I've already looked at [FIX 814064: SQLBrowseConnect May Cause an Access Violation in the Client Application] and we have no SQL servers hidden in the listing.

This has only happened fairly recently, and I'm pretty sure we've had no SPs or hotfixes applied to the OS.

System Info:
* Windows 2000 SP4
* SQL Server Enterprise Edition 2000 SP3 (8.00.818)

Cheers.
0
simon_kirk
Asked:
simon_kirk
  • 3
  • 2
1 Solution
 
ptjcbCommented:
What version is your MDAC? What have you installed recently?
0
 
simon_kirkAuthor Commented:
MDAC version is 2.71.9030.0
Server OS version is 5.0.2195.4.0.196882

As far as I can tell there have been no software, SPs or hotfixes applied to the server.  My thought was that something must have started causing the error, and updates are famous for having knock on effects.  Guess the only other possiility would be some sort of setting change, but again I'm not aware of any being made.
0
 
ptjcbCommented:
From this link: http://groups.google.com/group/microsoft.public.sqlserver.setup/browse_frm/thread/
7a116d43d9e83e14/2fb35ea7721ea398?lnk=st&q=SQL+Server+2000+sqlmangr.exe+-+Application+Error&rnum=5&hl=en#2fb35ea7721ea398

It looks as if there was an issue with MDAC 2.7. I don't know if this will solve it or not. It is interesting that it happens only with Terminal Services. I would check on how Terminal Services connects to SQL - ODBC? ADO? It may be how Terminal Services connects. It would be interesting to check if you can open another MMC app and if you have the same issue.

You also say that this has only started recently (so you have been connecting through terminal services for some time before this error). If that is the case then I would guess that somehow the server was updated by a hotfix/service pack or something; is it set to update without intervention?



0
 
simon_kirkAuthor Commented:
Thanks for that.

I've looked into the MDAC, and 2.7 was installed when the server was originally built, so I'm reluctant to make any changes to this.
The bugging issue is that TS worked fine before, and no changes to the way it connects to the server have been made.

I've checked with our MIS, and they assure me that no updates have been automatically applied to the server, though looking through Add Remove Programs I've noticed that .Net framework 1.1, 1.1 SP1 and 2.0 are installed.  Do you know if they can run on the same server without causing issues?

0
 
ptjcbCommented:
Yes - .NET frameworks can work side-by-side. They are created with as much backward-compatibility is possible. This link goes through the details: http://www.gotdotnet.com/team/changeinfo/

Terminal Server and SQL Server are on two different servers. Both are on two different Windows 2000 and have the same setup? It is just odd that with nothing changing you would start to receive new errors. Have you checked the logs on both servers? Have you been on the server, running a trace and had someone else (or you could do it) try and TS into the box?



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now