我试图将Excel文件加载到SQL Server 2012中,并收到以下错误。
错误讯息1:
SQL Server Integration Services向导未准备好处理的错误。
其他信息:
GDI +中发生了一般性错误。 (System.Drawing中)
按钮:
技术细节1:
===================================
SQL Server Integration Services向导未准备处理的错误。 (SQL Server导入和导出向导)
===================================
GDI +中发生了一般性错误。 (System.Drawing中)
计划地点:
at System.Drawing.Graphics.MeasureCharacterRanges(String text, Font font, RectangleF layoutRect, StringFormat stringFormat)
at System.Windows.Forms.LinkLabel.EnsureRun(Graphics g)
at System.Windows.Forms.LinkLabel.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
错误消息2:
此向导将关闭,因为它遇到以下错误:
其他信息:
GDI +中发生了一般性错误。 (System.Drawing中)
按钮:
技术细节2:
===================================
此向导将关闭,因为它遇到以下错误:(Microsoft SQL Server)
GDI +中发生了一般性错误。 (System.Drawing中)
计划地点:
at System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat)
at System.Windows.Forms.Label.GetPreferredSizeCore(Size proposedConstraints)
at System.Windows.Forms.Control.GetPreferredSize(Size proposedSize)
at System.Windows.Forms.Label.GetPreferredSize(Size proposedSize)
at System.Windows.Forms.Layout.TableLayout.GetElementSize(IArrangedElement element, Size proposedConstraints)
at System.Windows.Forms.Layout.TableLayout.InflateColumns(ContainerInfo containerInfo, Size proposedConstraints, Boolean measureOnly)
at System.Windows.Forms.Layout.TableLayout.ApplyStyles(ContainerInfo containerInfo, Size proposedConstraints, Boolean measureOnly)
at System.Windows.Forms.Layout.TableLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.TableLayoutPanel.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.PerformLayout()
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at System.Windows.Forms.Control.ResumeLayout()
at Microsoft.NetEnterpriseServers.ExceptionMessageBoxForm.AddAdditionalInfoMessage(Int32 messageCount, String strText, Exception ex)
at Microsoft.NetEnterpriseServers.ExceptionMessageBoxForm.InitializeMessage()
at Microsoft.NetEnterpriseServers.ExceptionMessageBoxForm.PrepareToShow()
at Microsoft.NetEnterpriseServers.ExceptionMessageBox.Show(IWin32Window owner)
at Microsoft.SqlServer.Dts.DtsWizard.DTSWizard.DisplayExceptionMessageBox(String errorMessage, Exception ex)
at Microsoft.SqlServer.Dts.DtsWizard.Step1.OnLeavePage(LeavePageEventArgs e)
at Microsoft.SqlServer.Management.UI.WizardPage.RaiseLeavePage(WizardButton button)
at Microsoft.SqlServer.Management.UI.WizardForm.NextPage(WizardPage nextPage)
at Microsoft.SqlServer.Management.UI.WizardForm.Next_Click(Object sender, EventArgs e)