Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Getting error using Import Wizard to insert data from excel, csv, or txt into an existing DB

$
0
0

I know there's a lot online about this and I've looked at a lot of it, but I'm not sure what options to choose and I dont know why I get this error. Furthermore, we have a heavy "figure it out on your own", "respect other's time" culture here so I don't want to ask. Now I've wasted a day.

Part of what I did and what happened:

Refreshing SQL Server DB:

I: Truncate or Delete DB:

II: Importing from xls to SQL Server DB:

  A: Right click on Database (not server or table).

  B: Select: Tasks > Import Data

  C: Choose source.  Flat file is probably best because the software for that is standard. I’m not sure if CSV or TXT is better.Which is best?

               

D. Choose destination:

I’m not sure which is best. Which is best? My guess is one of the first two, but I tried all four and nothing worked.

I though this information would help me select a destination, but it did not.

Error:

==================

=================

Cannot get string literals from the database connection "Provider=SSISOLEDB.4;Persist Security Info=False;User ID=mohammadhas;Data Source=\\PROVIDENCE\Tableau_datasources\ELM\Health Services;Location=\\PROVIDENCE\Tableau_datasources\ELM\Health Services". (SQL Server Import and Export Wizard)

===================================

Object reference not set to an instance of an object. (DTSWizard)

------------------------------

Program Location:

   at Microsoft.SqlServer.Dts.DtsWizard.DataSourceInfo.LoadLiterals(OleDbConnection myConnection)

   at Microsoft.SqlServer.Dts.DtsWizard.DataSourceInfo.CacheDataSourceInfo(IDbConnection myConnection)



Today, I have access to SQL Server 2012 and SSMS 11.  When I search for and open SSIS I get Visual Studio, is that right?

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>