FIX: You may receive an error message when you try to load data by using CLR functions in a Transact-SQL job in SQL Server 2005 (910414)
The information in this article applies to:
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Workgroup
Bug #: 412358 (SQLBUDT) Bug #: 406946 (SQLBUDT)
SUMMARYThis article
describes the following about this hotfix release:
- The issues that are fixed by this hotfix
package.
- The prerequisites for installing the hotfix
package.
- Information about whether you must restart the computer after you apply the hotfix package.
- Information about whether the hotfix package is replaced by any other hotfix
package.
- Information about whether you must make any registry changes.
- The files that are contained in the hotfix
package.
SYMPTOMSConsider the following scenario. In Microsoft SQL Server 2005, you try to use common language runtime (CLR) functions to load data. You do this by running a Transact-SQL job. This Transact-SQL job is started by SQL Server Agent. In this scenario, the job fails, and you receive the following error message: Error 563. ETL
Load: Error Number 6535, Severity 16, State {2), In Routine
RoutineName, At Line 25, Full Message : .NET Framework execution was
aborted. Another query caused the AppDomain framework.dbo[runtime].2 to be
unloaded or an unhandled .NET exception happened. 54 Additionally, the following messages are written to the SQL Server
error log: DateTime spid1s
AppDomain 2 (framework.dbo[runtime].1) doomed due to memory pressure.
DateTime spid1s AppDomain 2
(framework.dbo[runtime].1) unloaded.
DateTime Logon Error: 17830,
Severity: 20, State: 2.
DateTime Logon A network error
occurred while establishing a connection; the connection has been closed. This
may have been caused by client or server login timeout expiration. Time spent
during login: total 26 ms, enqueued 1 ms, network writes 1 ms, network reads 25
ms, establishing SSL 25 ms, negotiating SSPI 0 ms, validating login 0 ms.
[CLIENT: 10.218.40.134]
DateTime spid83 AppDomain 3
(framework.dbo[runtime].2) created. CAUSEThis problem
occurs because CLR parallel threads are incorrectly shut down when you run
parallel queries. Typically, this problem occurs when the following conditions
are true:
- A correct shutdown occurs in the main thread, and subthreads have not exited. In this scenario, the subthreads will stop the main
thread, and the CLR thread is ended.
- An exception is not managed when you try to enter an
aborted CLR thread, and you are stopped on the stub.
RESOLUTIONService pack information
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913089 How to obtain the latest service pack for SQL Server 2005
Hotfix informationPrerequisitesYou must have SQL Server 2005 installed to apply this hotfix. Restart informationYou do not have to restart the computer after you apply this
hotfix. Hotfix file informationThis hotfix contains only those files that are required to correct
the issues that this article lists. This hotfix may not contain all the files
that you must have to fully update a product to the latest
build.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. SQL Server 2005, 32-bit versions|
Dtspipeline.dll | 2005.90.1500.0 | 600,280 | 09-Nov-2005 | 04:19 | x86 | Microsoft.datatransformationservices.vsintegration.dll | 9.0.1500.0 | 330,456 | 09-Nov-2005 | 04:19 | x86 | Microsoft.reportingservices.excelrendering.dll | 9.0.1500.0 | 326,360 | 09-Nov-2005 | 04:19 | x86 | Msmdlocal.dll | 9.0.1500.0 | 15,581,912 | 09-Nov-2005 | 04:19 | x86 | Msmdpp.dll | 9.0.1500.0 | 3,824,856 | 09-Nov-2005 | 04:19 | x86 | Msmdpump.dll | 9.0.1500.0 | 3,912,408 | 09-Nov-2005 | 04:19 | x86 | Msmdredir.dll | 9.0.1500.0 | 3,926,744 | 09-Nov-2005 | 04:19 | x86 | Msmdsrv.exe | 9.0.1500.0 | 14,559,448 | 09-Nov-2005 | 04:19 | x86 | Msmgdsrv.dll | 9.0.1500.0 | 5,935,320 | 09-Nov-2005 | 04:19 | x86 | Msolap90.dll | 9.0.1500.0 | 4,202,200 | 09-Nov-2005 | 04:19 | x86 | Nsservice.exe | 9.0.1500.0 | 18,648 | 09-Nov-2005 | 04:19 | x86 | Reportingservicesservice.exe | 9.0.1500.0 | 14,552 | 09-Nov-2005 | 04:19 | x86 | Sqlaccess.dll | 2005.90.1500.0 | 349,400 | 09-Nov-2005 | 04:19 | x86 | Sqlca.dll | 2005.90.1500.0 | 3,207,384 | 09-Nov-2005 | 04:19 | x86 | Sqldiscoveryapi_s.dll | 2005.90.1500.0 | 527,064 | 09-Nov-2005 | 04:19 | x86 | Sqlncli.dll | 2005.90.1500.0 | 2,208,528 | 09-Nov-2005 | 04:19 | x86 | Sqlservr.exe | 2005.90.1500.0 | 28,769,040 | 09-Nov-2005 | 04:20 | x86 |
SQL Server 2005, 64-bit version
|
Dtspipeline.dll | 2005.90.1500.0 | 1,054,936 | 09-Nov-2005 | 18:50 | x64 | Microsoft.reportingservices.excelrendering.dll | 9.0.1500.0 | 326,360 | 09-Nov-2005 | 18:50 | x86 | Msmdlocal.dll | 9.0.1500.0 | 30,001,368 | 09-Nov-2005 | 18:51 | x64 | Msmdpp.dll | 9.0.1500.0 | 4,881,112 | 09-Nov-2005 | 18:51 | x64 | Msmdpump.dll | 9.0.1500.0 | 4,951,256 | 09-Nov-2005 | 18:51 | x64 | Msmdredir.dll | 9.0.1500.0 | 4,830,936 | 09-Nov-2005 | 18:51 | x64 | Msmdsrv.exe | 9.0.1500.0 | 29,326,040 | 09-Nov-2005 | 18:51 | x64 | Msmgdsrv.dll | 9.0.1500.0 | 8,907,992 | 09-Nov-2005 | 18:51 | x64 | Msolap90.dll | 9.0.1500.0 | 5,663,960 | 09-Nov-2005 | 18:51 | x64 | Nsservice.exe | 9.0.1500.0 | 18,648 | 09-Nov-2005 | 18:50 | x86 | Reportingservicesservice.exe | 9.0.1500.0 | 14,552 | 09-Nov-2005 | 18:50 | x86 | Sqlaccess.dll | 2005.90.1500.0 | 356,568 | 09-Nov-2005 | 18:50 | x86 | Sqlca.dll | 2005.90.1500.0 | 4,278,488 | 09-Nov-2005 | 18:50 | x64 | Sqldiscoveryapi_s.dll | 2005.90.1500.0 | 745,688 | 09-Nov-2005 | 18:50 | x64 | Sqlncli.dll | 2005.90.1500.0 | 3,151,632 | 09-Nov-2005 | 18:50 | x64 | Sqlservr.exe | 2005.90.1500.0 | 39,466,712 | 09-Nov-2005 | 18:51 | x64 |
SQL Server 2005, IA 64-bit version
|
Dtspipeline.dll | 2005.90.1500.0 | 1,915,608 | 09-Nov-2005 | 17:17 | IA-64 | Microsoft.reportingservices.excelrendering.dll | 9.0.1500.0 | 326,360 | 09-Nov-2005 | 17:17 | x86 | Msmdlocal.dll | 9.0.1500.0 | 48,409,304 | 09-Nov-2005 | 17:18 | IA-64 | Msmdpp.dll | 9.0.1500.0 | 6,469,848 | 09-Nov-2005 | 17:17 | IA-64 | Msmdpump.dll | 9.0.1500.0 | 6,519,512 | 09-Nov-2005 | 17:17 | IA-64 | Msmdredir.dll | 9.0.1500.0 | 6,071,512 | 09-Nov-2005 | 17:17 | IA-64 | Msmdsrv.exe | 9.0.1500.0 | 47,369,944 | 09-Nov-2005 | 17:18 | IA-64 | Msmgdsrv.dll | 9.0.1500.0 | 12,840,152 | 09-Nov-2005 | 17:18 | IA-64 | Msolap90.dll | 9.0.1500.0 | 7,683,800 | 09-Nov-2005 | 17:17 | IA-64 | Nsservice.exe | 9.0.1500.0 | 18,648 | 09-Nov-2005 | 17:17 | x86 | Reportingservicesservice.exe | 9.0.1500.0 | 14,552 | 09-Nov-2005 | 17:17 | x86 | Sqlaccess.dll | 2005.90.1500.0 | 351,448 | 09-Nov-2005 | 17:17 | x86 | Sqlca.dll | 2005.90.1500.0 | 10,563,288 | 09-Nov-2005 | 17:18 | IA-64 | Sqldiscoveryapi_s.dll | 2005.90.1500.0 | 1,924,312 | 09-Nov-2005 | 17:17 | IA-64 | Sqlncli.dll | 2005.90.1500.0 | 5,384,464 | 09-Nov-2005 | 17:17 | IA-64 | Sqlservr.exe | 2005.90.1500.0 | 72,186,584 | 09-Nov-2005 | 17:18 | IA-64 | Note Because of file dependencies, the most recent hotfix that
contains these files may also contain additional files. STATUSMicrosoft has confirmed that this is a
bug in the Microsoft products that are listed in the "Applies to"
section. This problem was first corrected in Microsoft SQL Server 2005 Service Pack 1.
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbsql2005sp1fix kbsql2005clr kbsql2005presp1fix kbsql2005tsql kbbug kbfix kbHotfixServer kbQFE kbpubtypekc KB910414 kbAudITPRO kbAudDeveloper |
---|
|