MSSQL SMS export error

윤석 차 0 Reputation points
2024-04-03T01:48:51.9266667+00:00

We are working on automation through AutoHotkey.

When selecting the data source when exporting from MSSQL SMS, if you select SQL SERVER NATIVE CLIENT 11.0 with the mouse, the export to Excel, etc. works fine without any problem.

If you pass the FLAT FILE SOURCE when moving the cursor down without clicking with the mouse, an error message like the attached photo appears and export is not possible.

스크린샷 2024-04-03 095809

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

2 answers

Sort by: Most helpful
  1. LucyChen-MSFT 5,060 Reputation points Microsoft Vendor
    2024-04-05T01:50:24.0233333+00:00

    Hi @윤석 차,

    Thank you for your information and sorry to hear about this issue you are facing while trying to export data using the import.

    Could you please click on 'show details' to share the full error information?

    Best regards,

    Lucy Chen


  2. 윤석 차 0 Reputation points
    2024-04-08T00:29:33.4233333+00:00

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

    Unspecified error... (Microsoft JET Database Engine)


    Program Location:

    location: System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)

    location: System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)

    location: System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)

    location: System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)

    location: System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

    location: System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

    location: System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

    location: System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

    location: System.Data.OleDb.OleDbConnection.Open()

    location: Microsoft.SqlServer.Dts.DtsWizard.DTSWizard.GetOpenedConnection(WizardInputs wizardInputs, String connEntryName)

    location: Microsoft.SqlServer.Dts.DtsWizard.Step2.OnLeavePage(LeavePageEventArgs e)


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.