繁体   English   中英

尝试将 SQL 服务器数据库导出到 Azure 并出现错误:从该平台创建 package 时不支持外部引用

[英]Attempting to export SQL Server DB to Azure and get errors: External references are not supported when creating a package from this platform

尝试将我的本地 SQL 服务器数据库部署到 Azure 时,我遇到了很多错误。 我只需右键单击有问题的数据库,然后转到任务,然后将数据库部署到 Microsoft Azure SQL 数据库即可。 我想知道是否需要一种解决方法来尝试绕过这些或者我需要做什么? 我假设过程就这么简单,但我不确定此时 go 在哪里。

TITLE: Microsoft SQL Server Management Studio
------------------------------

One or more unsupported elements were found in the schema used as part of a data package.
Error SQL71564: Error validating element [linker-SQLRS01]: The element [linker-SQLRS01] has been orphaned from its login and cannot be deployed.
Error SQL71561: Error validating element [dbo].[vw_UserAccess]: View: [dbo].[vw_UserAccess] has an unresolved reference to object [EVN].[dbo].[mms_tbl_admin]. External references are not supported when creating a package from this platform.
Error SQL71561: Error validating element [dbo].[vw_UserAccess]: View: [dbo].[vw_UserAccess] has an unresolved reference to object [EVN].[dbo].[mms_tbl_admin].[fldUsername]. External references are not supported when creating a package from this platform.
Error SQL71561: Error validating element [dbo].[vw_UserAccess]: View: [dbo].[vw_UserAccess] has an unresolved reference to object [EVN].[dbo].[mms_tbl_admin].[fldActive]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld2]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld3]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[FourDigitSSN]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[ID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld1]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld5]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld6]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld4]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld8]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld9]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder]: Procedure: [dbo].[sp_ProcessOrder] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld7]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld2]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld3]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[FourDigitSSN]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[ID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld1]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld5]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld6]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld4]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld8]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld9]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_ProcessOrder_Backup]: Procedure: [dbo].[sp_ProcessOrder_Backup] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[Fld7]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[fldCOMPANY]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [EVN].[dbo].[mms_tbl_employer].[ID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [EVN].[dbo].[DataSources]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[EmployerID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[EmployerName]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[DataDate] or [EVN].[dbo].[DataSources].[ds]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[ImportDate]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[PreviousImportDate]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[RecordCount]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[PreviousRecordCount]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[DataImportName] or [EVN].[dbo].[DataSources].[ds]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [EVN].[dbo].[DataSources].[EmployerID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [EVN].[dbo].[DataSources].[ImportDate]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@profile_name]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@recipients]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@body]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@subject]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_DatasourceAlerts]: Procedure: [dbo].[sp_Send_DatasourceAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@body_format]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] has an unresolved reference to object [msdb].[dbo].[sysjobs]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] has an unresolved reference to object [msdb].[dbo].[sysjobschedules]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[job_id], [msdb].[dbo].[sysjobs].[sj] or [msdb].[dbo].[sysjobschedules].[sj]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[sjs], [msdb].[dbo].[sysjobschedules].[job_id] or [msdb].[dbo].[sysjobschedules].[sjs]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] has an unresolved reference to object [msdb].[dbo].[sysschedules]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[sjs], [msdb].[dbo].[sysjobschedules].[schedule_id], [msdb].[dbo].[sysjobschedules].[sjs] or [msdb].[dbo].[sysschedules].[sjs]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[ss], [msdb].[dbo].[sysjobschedules].[ss], [msdb].[dbo].[sysschedules].[schedule_id] or [msdb].[dbo].[sysschedules].[ss]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[name], [msdb].[dbo].[sysjobs].[sj], [msdb].[dbo].[sysjobschedules].[sj] or [msdb].[dbo].[sysschedules].[sj]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[freq_recurrence_factor], [msdb].[dbo].[sysjobschedules].[freq_recurrence_factor] or [msdb].[dbo].[sysschedules].[freq_recurrence_factor]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[freq_type], [msdb].[dbo].[sysjobschedules].[freq_type] or [msdb].[dbo].[sysschedules].[freq_type]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[freq_interval], [msdb].[dbo].[sysjobschedules].[freq_interval] or [msdb].[dbo].[sysschedules].[freq_interval]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[Freq_interval], [msdb].[dbo].[sysjobschedules].[Freq_interval] or [msdb].[dbo].[sysschedules].[Freq_interval]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[freq_subday_type], [msdb].[dbo].[sysjobschedules].[freq_subday_type] or [msdb].[dbo].[sysschedules].[freq_subday_type]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[freq_subday_interval], [msdb].[dbo].[sysjobschedules].[freq_subday_interval] or [msdb].[dbo].[sysschedules].[freq_subday_interval]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[active_start_time], [msdb].[dbo].[sysjobschedules].[active_start_time] or [msdb].[dbo].[sysschedules].[active_start_time]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[next_run_date], [msdb].[dbo].[sysjobschedules].[next_run_date] or [msdb].[dbo].[sysschedules].[next_run_date]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[enabled], [msdb].[dbo].[sysjobs].[sj], [msdb].[dbo].[sysjobschedules].[sj] or [msdb].[dbo].[sysschedules].[sj]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[next_run_date], [msdb].[dbo].[sysjobschedules].[next_run_date] or [msdb].[dbo].[sysschedules].[next_run_date]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_VTJobSchedule]: Procedure: [dbo].[sp_VTJobSchedule] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [msdb].[dbo].[sysjobs].[Next_run_time], [msdb].[dbo].[sysjobschedules].[Next_run_time] or [msdb].[dbo].[sysschedules].[Next_run_time]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_AutoImportPopEmail]: Procedure: [dbo].[sp_AutoImportPopEmail] has an unresolved reference to object [master].[dbo].[INVOKE_WEB_PAGE]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [EVN].[dbo].[DataSources]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[EmployerID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[EmployerName]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[ImportDate]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[RecordCount]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [EVN].[dbo].[DataSources].[EmployerID]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [EVN].[dbo].[DataSources].[ImportDate]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@profile_name]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@recipients]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@blind_copy_recipients]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@body]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@subject]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts]: Procedure: [dbo].[sp_Send_EmailAlerts] has an unresolved reference to object [msdb].[dbo].[sp_send_dbmail].[@body_format]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts_HonorHealth]: Procedure: [dbo].[sp_Send_EmailAlerts_HonorHealth] has an unresolved reference to object [EVN].[dbo].[DataSources]. External references are not supported when creating a package from this platform.
Error SQL71562: Error validating element [dbo].[sp_Send_EmailAlerts_HonorHealth]: Procedure: [dbo].[sp_Send_EmailAlerts_HonorHealth] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [EVN].[dbo].[DataSources].[ds] or [EVN].[dbo].[DataSources].[EmployerID]. External references are not supported when creating a package from this platform.

您需要检查[mms_tbl_employer]和其他提到的表的列,它表示对 object 有一个未解析的引用。这意味着项目的某些viewsprocedures依赖于 [ENV] 数据库,并且只有单个数据库正在运行部署到 SQL Azure。当 object 定义(视图、过程等)包含外部引用时,DACFx 必须阻止导出,因为Azure SQL 数据库不允许跨数据库外部引用。 所以,这个错误来了。

SSMS 中没有针对此错误的任何支持。 但是在带有 SSDT 的 Visual Studio (2013) 中,这可以解决:在 VS 中,go 到SQL 服务器 Object 资源管理器,连接到服务器,右键单击数据库,提取数据层应用程序,然后调整提取设置,其中之一这是“验证提取”

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM