문제

I can't export scripts from my LocalDB database (localdb)\v11.0. (SQL Express is fine)

The error I get is

Save or Publish Scripts Report

Getting the list of objects from 'XXX'. Failed

System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.SqlServer.Management.SqlScriptPublish.GeneratePublishPage.worker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

This is using SQL Server 2008 R2.

Does anyone know what is causing this?

도움이 되었습니까?

해결책

As LocalDb is SQL Server 2012, you should use SSMS 2012 or later for this scripting task

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top