Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3308584
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:32:20+00:00 2026-05-17T21:32:20+00:00

I am trying to load a file using the SQL Server Import Data function

  • 0

I am trying to load a file using the SQL Server Import Data function – appending rows to an existing table.

my existing table is created like this:

CREATE TABLE [dbo].[load](
    [Long] [varchar](50) NULL,
    [Lat] [varchar](50) NULL,
    [Geog]  AS ([geography]::STGeomFromText(((('POINT('+[Long])+' ')+[Lat])+')',(4326)))
)

however when the load tries to execute i see the following error messages. I believe the issue is around the computed column ‘Geog’ as the data loads fine when i take this out of the table definition.

Error 0xc0202009: Data Flow Task 1:
SSIS Error Code DTS_E_OLEDBERROR. An
OLE DB error has occurred. Error code:
0x80004005. An OLE DB record is
available. Source: “Microsoft SQL
Server Native Client 10.0” Hresult:
0x80004005 Description: “While
reading current row from host, a
premature end-of-message was
encountered–an incoming data stream
was interrupted when the server
expected to see more data. The host
program may have terminated. Ensure
that you are using a supported client
application programming interface
(API).”. (SQL Server Import and
Export Wizard) Error 0xc0209029:
Data Flow Task 1: SSIS Error Code
DTS_E_INDUCEDTRANSFORMFAILUREONERROR.
The “input “Destination Input” (47)”
failed because error code 0xC020907B
occurred, and the error row
disposition on “input “Destination
Input” (47)” specifies failure on
error. An error occurred on the
specified object of the specified
component. There may be error
messages posted before this with more
information about the failure. (SQL
Server Import and Export Wizard)
Error 0xc0047022: Data Flow Task 1:
SSIS Error Code
DTS_E_PROCESSINPUTFAILED. The
ProcessInput method on component
“Destination – load_school” (34)
failed with error code 0xC0209029
while processing input “Destination
Input” (47). The identified component
returned an error from the
ProcessInput method. The error is
specific to the component, but the
error is fatal and will cause the Data
Flow task to stop running. There may
be error messages posted before this
with more information about the
failure. (SQL Server Import and
Export Wizard)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:32:20+00:00Added an answer on May 17, 2026 at 9:32 pm

    So it would appear that having a computed column which contains the geography type in the definition is not supported (i tried with other types including the POINT type and it worked fine). This could be down to the lack of support that SSIS has for the spatial data types or down to the way that SQL Server processes the computed column during a batch insert.

    Either way i had to create a solution to my issue and came up with the following work around.

    In my SSIS package i start by removing the computed column which is causing the issues.
    Then i run the data load process
    Then i re-add the computed column to the table using the ALTER statement.

    This works fine for the time being, although it could cause some issues with off-line data during a run-time scenario. however, it should be simple enough to address this issue.

    This did mean that i had to create a more complex SSIS package than just using the simple ‘Import data’ wizard provided by SQL Server, and i still feel a little frustrated that i dont know the actual cause of my issue. I just found a way to work around it and move on. I would still appreciate if someone could point out why i was seeing this failure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am am trying to load a SQL table from a flat file. The
I am trying to figure how to get SQL Server 2008 to import data
I am trying to import some data to SQL Server 2008 by means of
I am trying to load a large amount data in SQL server from a
Im trying to load an xml file using the jquery ajax function,it works fine
I'm trying to load fragments of XHTML markup using jQuery's $.fn.load function, but it
I want to use BCP to load into a SQL Server 2005 table with
I'm trying to export from SQL Server to Oracle a table that consists of
I am trying to zip files to an SQL Server database table. I can't
I am trying to load an xml file that is stored as a resource

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.