Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: You receive error messages when you use the BULK INSERT statement in SQL Server 2005 to import data in bulk


View products that this article applies to.

Bug #: 50001062 (SQL Hotfix)

↑ Back to the top


Microsoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release.

↑ Back to the top


Summary

This article describes the following about this hotfix release:
  • The issues that are fixed by the hotfix package
  • The prerequisites for installing the hotfix package
  • Whether you must restart the computer after you install the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes
  • The files that are contained in the hotfix package

↑ Back to the top


Symptoms

When you use the BULK INSERT statement in Microsoft SQL Server 2005 to import data in bulk, you receive error messages that resemble the following:
Error message 1
Msg 4866, Level 16, State 7, Line 2

The bulk load failed. The column is too long in the data file for row 1, column 2. Verify that the field terminator and row terminator are specified correctly.
Error message 2
Msg 7399, Level 16, State 1, Line 2

The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
Error message 3
Msg 7330, Level 16, State 2, Line 2

Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
This problem occurs if the following conditions are true:
  • You specify a format file when you run the BULK INSERT statement.
  • In the format file, you skip importing a table column.
  • The data type of the skipped table column is the NTEXT data type, or the data type of the skipped table column is the NVARCHAR data type.
  • The size of the skipped table column is more than 4,000 characters.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

  • SQL Server 2005 Service Pack 1

    For more information about how to obtain SQL Server 2005 Service Pack 1, 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

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This 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 item in Control Panel.
SQL Server 2005 32-bit version
File nameFile versionFile sizeDateTimePlatform
Bcp.exe2005.90.2229.069,48813-Apr-200707:08x86
Databasemailengine.dll9.0.2229.075,12013-Apr-200707:08x86
Logread.exe2005.90.2229.0400,75213-Apr-200707:08x86
Microsoft.analysisservices.adomdclient.dll9.0.2229.0546,16013-Apr-200707:08x86
Microsoft.analysisservices.deploymentengine.dll9.0.2229.0140,65613-Apr-200707:08x86
Microsoft.analysisservices.dll9.0.2229.01,217,90413-Apr-200707:08x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2229.078,19213-Apr-200707:08x86
Microsoft.sqlserver.sqlenum.dll9.0.2229.0910,70413-Apr-200707:08x86
Msasxpress.dll9.0.2229.024,94413-Apr-200707:08x86
Msgprox.dll2005.90.2229.0200,56013-Apr-200707:08x86
Msmdlocal.dll9.0.2229.015,646,06413-Apr-200707:08x86
Msmdredir.dll9.0.2229.03,993,96813-Apr-200707:08x86
Mssqlsystemresource.ldfNot Applicable524,28811-Apr-200717:35Not Applicable
Mssqlsystemresource.mdfNot Applicable40,108,03211-Apr-200717:35Not Applicable
Odsole70.dll2005.90.2229.059,76013-Apr-200707:08x86
Qrdrsvc.exe2005.90.2229.0369,52013-Apr-200707:08x86
Rdistcom.dll2005.90.2229.0643,44013-Apr-200707:08x86
Repldp.dll2005.90.2229.0187,24813-Apr-200707:08x86
Replmerg.exe2005.90.2229.0320,88013-Apr-200707:08x86
Replprov.dll2005.90.2229.0550,25613-Apr-200707:08x86
Replrec.dll2005.90.2229.0784,75213-Apr-200707:08x86
Replsub.dll2005.90.2229.0407,40813-Apr-200707:08x86
Spresolv.dll2005.90.2229.0177,00813-Apr-200707:14x86
Sqlaccess.dll2005.90.2229.0350,57613-Apr-200707:14x86
Sqlagent90.exe2005.90.2229.0321,39213-Apr-200707:14x86
Sqlservr.exe2005.90.2229.028,980,13613-Apr-200707:14x86
Sysdbupg.sqlNot Applicable218,48605-Apr-200710:52Not Applicable
Xmlsub.dll2005.90.2229.0195,44013-Apr-200707:14x86
Xpstar90.dll2005.90.2229.0295,28013-Apr-200707:14x86
Xpstar90.rll2005.90.2229.0155,50413-Apr-200707:09x86
SQL Server 2005 x64-based version
File nameFile versionFile sizeDateTimePlatform
Bcp.exe2005.90.2229.088,94412-Apr-200712:51x64
Databasemailengine.dll9.0.2229.075,12012-Apr-200712:51x86
Logread.exe2005.90.2229.0525,16812-Apr-200712:51x64
Microsoft.analysisservices.adomdclient.dll9.0.2229.0546,16012-Apr-200712:51x86
Microsoft.analysisservices.adomdclient.dll9.0.2229.0546,16013-Apr-200707:08x86
Microsoft.analysisservices.deploymentengine.dll9.0.2229.0140,65613-Apr-200707:08x86
Microsoft.analysisservices.dll9.0.2229.01,217,90413-Apr-200707:08x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2229.094,06412-Apr-200712:51x64
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2229.078,19213-Apr-200707:08x86
Microsoft.sqlserver.sqlenum.dll9.0.2229.0877,93612-Apr-200712:51x86
Msasxpress.dll9.0.2229.030,06412-Apr-200712:51x64
Msasxpress.dll9.0.2229.024,94413-Apr-200707:08x86
Msgprox.dll2005.90.2229.0262,00012-Apr-200712:51x64
Msmdlocal.dll9.0.2229.015,646,06413-Apr-200707:08x86
Msmdredir.dll9.0.2229.03,993,96813-Apr-200707:08x86
mssqlsystemresource.ldfNot Applicable524,28811-Apr-200717:35Not Applicable
mssqlsystemresource.mdfNot Applicable40,108,03211-Apr-200717:35Not Applicable
Odsole70.dll2005.90.2229.090,99212-Apr-200712:51x64
Qrdrsvc.exe2005.90.2229.0434,03212-Apr-200712:51x64
Rdistcom.dll2005.90.2229.0836,46412-Apr-200712:51x64
Repldp.dll2005.90.2229.0237,93612-Apr-200712:51x64
Repldp.dll2005.90.2229.0187,24813-Apr-200707:08x86
Replmerg.exe2005.90.2229.0417,64812-Apr-200712:51x64
Replprov.dll2005.90.2229.0747,88812-Apr-200712:51x64
Replrec.dll2005.90.2229.01,010,54412-Apr-200712:51x64
Replsub.dll2005.90.2229.0528,24012-Apr-200712:51x64
Spresolv.dll2005.90.2229.0225,64812-Apr-200712:51x64
Sqlaccess.dll2005.90.2229.0357,74412-Apr-200712:51x86
Sqlagent90.exe2005.90.2229.0392,56012-Apr-200712:51x64
Sqlservr.exe2005.90.2229.039,364,97612-Apr-200712:51x64
Sysdbupg.sqlNot Applicable218,48605-Apr-200710:52Not Applicable
Xmlsub.dll2005.90.2229.0319,85612-Apr-200712:51x64
Xpstar90.dll2005.90.2229.0543,60012-Apr-200712:52x64
Xpstar90.rll2005.90.2229.0156,01612-Apr-200712:51x64

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packages

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kb, kbautohotfix, kbsql2005engine, kbexpertiseadvanced, kbpubtypekc, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 935446
Revision : 1
Created on : 1/7/2017
Published on : 10/8/2011
Exists online : False
Views : 688