【问题标题】:SQL Server Import & Export Wizard Crashes When Choosing Excel File As Data Source选择 Excel 文件作为数据源时 SQL Server 导入和导出向导崩溃
【发布时间】:2021-09-06 05:07:29
【问题描述】:

我经常使用导入向导将 Excel 数据插入 SQL 表中,突然导入向导崩溃。我选择了一个 Excel 文件,第二次点击 Next,向导锁定,然后在大约 30 秒后自行关闭。我已经完全重新安装了 SSMS 并运行了 Office 2019 的修复程序,但无济于事。

我检查了事件查看器,它产生了 3 个错误。第一个是带有以下详细信息的 .NET 运行时错误:

Application: DTSWizard.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c06d007e, exception address 769AA6F2

接下来的 2 个都是非常相似的应用程序错误。第一个是:

Faulting application name: DTSWizard.exe, version: 15.0.2000.162, time stamp: 0x606e8728
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1023, time stamp: 0xcbf6f7d1
Exception code: 0xc06d007e
Fault offset: 0x0012a6f2
Faulting process ID: 0x244
Faulting application start time: 0x01d767797bed8aa2
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn\DTSWizard.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: 287c5a71-552a-4d49-8594-456dd32cf17c
Faulting package full name: 
Faulting package-relative application ID: 

除了异常代码是 0xc000041d 之外,第二个几乎相同。

我已经测试了导出到 excel 并且效果很好。我尝试的每个 excel 文件都会发生这种情况。

【问题讨论】:

  • 在向导的“选择数据源”页面上,大约有七个版本/格式的 Excel 文件可供选择。您在那里选择了正确的版本吗?

标签: sql-server excel import crash ssms


【解决方案1】:

想通了。我不得不重新安装 Access 数据库引擎,但我收到有关安装“Office 16 即点即用扩展性组件 64 位注册”的错误消息。找到下面的步骤来卸载它,然后在安装 Access Database Engine 后全部排序。

1. Press Win + R to open the Run window, type "installer" and click Enter to open the folder in File Explorer.
2. Add the column "Subject". Right click the column headers, then click More and select Subject
3. Sort on the Subject column and scroll down until you locate the name "Office 16 Click-to-Run Extensibility Component 64-bit Registration".
4. Right click the MSI file and choose uninstall.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-03-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-05
    • 2017-05-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多