Question

Photo of Jonathan Carlson

0

Trouble updating Rock after migrating to Azure

I just moved our database and www folder to Azure and it seems like it's up and running.  But when I tried opening the Rock Update page, I get this error.  Any idea what this means or how to fix it?


ArgumentException in App_Web_pxvs2xxa

Message
There is a malformed 'requires-' tag in a Rock package (1.0.12)

Stack Trace
at RockWeb.Blocks.Core.RockUpdate.ExtractRequiredVersionFromTags(IPackage package)    
at RockWeb.Blocks.Core.RockUpdate.rptPackageVersions_ItemDataBound(Object sender, RepeaterItemEventArgs e)    
at System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e)    
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)    
at System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource)    
at System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource)    
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)    
at RockWeb.Blocks.Core.RockUpdate.OnLoad(EventArgs e)    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)BeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


  • Photo of Jonathan Carlson

    0

    I figured it out. When I copied the WWW folder from a zip file straight to the new folder, it messed up some of the file names. If anyone else runs into this, this is how I fixed it. I stopped the Application Pool and Website, restarted the server, deleted the contents of my new WWW folder, copied over the files again from a backup I had, started the Application Pool and Website, and then restarted the server again.  I had to reedit my WebConnections file to get the right settings but it's all good now.