Import Exceldata to sql

Sharon01 41 Reputation points
2023-01-19T08:35:54.1066667+00:00

Hi,

I was trying to import data into sql via import export wizard functionality

But i get this error in the first step itself. Any tips to solve this issue so that i can do the import.

The ConnectionString property has not been initialized. (System.Data)

------------------------------
Program Location:

   at System.Data.Odbc.OdbcConnection.PermissionDemand()
   at System.Data.Odbc.OdbcConnectionFactory.PermissionDemand(DbConnection outerConnection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.Odbc.OdbcConnection.Open()
   at Microsoft.SqlServer.Dts.DtsWizard.DTSWizard.GetOpenedConnection(WizardInputs wizardInputs, String connEntryName)
   at Microsoft.SqlServer.Dts.DtsWizard.Step1.OnLeavePage(LeavePageEventArgs e)

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,539 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharon01 41 Reputation points
    2023-01-19T09:06:11.74+00:00

    I have figured it out .

    [https://learn.microsoft.com/en-us/answers/questions/582292/errro-message-the-operation-could-not-be-completed

    No comments