asp.net - Unable to publish to Azure after 2014 update -
i have aps.net mvc project have been publishing azure while. change laptop , moved sql server 2014. when try publish 3 errors. fist 1 looks root course:
error 3 .net sqlclient data provider: msg 2812, level 16, state 62, line 1 not find stored procedure 'sp_addextendedproperty'
the other 2 errors are:
error 4 script execution error. executed script: execute sp_addextendedproperty @name = n'ms_diagrampane1', @value = n'[0e232ff0-b466-11cf-a24f-00aa00a3efff, 1.00] begin designproperties = begin paneconfigurations = begin paneconfiguration = 0 numpanes = 4 configuration = "(h (1[40] 4[20] 2[20] 3) )" end begin paneconfiguration = 1 numpanes = 3 configuration = "(h (1 [50] 4 [25] 3))" end begin paneconfiguration = 2 numpanes = 3 configuration = "(h (1 [50] 2 [25] 3))" end begin paneconfiguration = 3 numpanes = 3 configuration = "(h (4 [30] 2 [40] 3))" end begin paneconfiguration = 4 numpanes = 2 configuration = "(h (1 [56] 3))" end begin paneconfiguration = 5 numpanes = 2 configuration = "(h (2 [66] 3))" end begin paneconfiguration = 6 numpanes = 2 configuration = "(h (4 [50] 3))" end begin paneconfiguration = 0 0 amscan
and
error 5 web deployment task failed. (could not deploy package. warning sql0: project specifies sql server 2014 target platform may experience compatibility issues microsoft azure sql database. error sql72014: .net sqlclient data provider: msg 2812, level 16, state 62, line 1 not find stored procedure 'sp_addextendedproperty'. error sql72045: script execution error. executed script: execute sp_addextendedproperty @name = n'ms_diagrampane1', @value = n'[0e232ff0-b466-11cf-a24f-00aa00a3efff, 1.00] begin designproperties = begin paneconfigurations = begin paneconfiguration = 0 numpanes = 4 configuration = "(h (1[40] 4[20] 2[20] 3) )" end begin paneconfiguration = 1 numpanes = 3 configuration = "(h (1 [50] 4 [25] 3))" end begin paneconfiguration = 2 numpanes = 3 configuration = "(h (1 [50] 2 [25] 3))" end begin paneconfiguration = 3 numpanes = 3 configuration = "(h (4 [30] 2 [40] 3))" end begin paneconfiguration = 4 numpanes = 2 configuration = "(h (1 [56] 3))" end begin paneconfiguration = 5 numpanes = 2 configuration = "(h (2 [66] 3))" end begin paneconfiguration = 6 numpanes = 2 configuration = "(h (4 [50] 3))" end begin paneconfiguration = learn more at: http://go.microsoft.com/fwlink/?linkid=221672#error_executing_method.) 0 0 amscan
doing research understand there expended stored procedure in 2014 not available in azure sql seems case number of earlier versions including 2012 using previously.
any thoughts on how remedy this.
cheers, kevin.
there multiple options available you, think below 2 best meet demand:
- integrated in visual studio have sql server data tools. when switch target deployment azure sql db you'll list of incompatibilities, can fix in project.
details on how move db azure ssdt: https://msdn.microsoft.com/en-us/library/azure/jj156163.aspx - use sql server migration wizard. tool inspect database, allow select items want migrate , generate migration script you.
more details on how use it: http://blogs.msdn.com/b/prasanna/archive/2015/04/13/migrating-sql-server-on-premise-db-to-sql-azure-using-sql-server-migration-wizard.aspx , https://msdn.microsoft.com/en-us/library/azure/jj156166.aspx
Comments
Post a Comment