Umbraco crashes with exception when you browse to it
I am migrating Umbraco from one server to another. I have copied the files and exported/imported the database. But when I browse to the migrated site I get this message.
Object reference not set to an instance of an object.
Line 9:
<script type="text/javascript">
Line 10: function startUmbraco() {
Line 11: window.open('umbraco.aspx', 'u<%=Request.ServerVariables["SERVER_NAME"].Replace(".","").Replace("-","")%>', 'height=600,width:850,scrollbars=yes,resizable=yes,top=0,left=0,status=yes');
Line 12: }
Line 13: </script>
Hi Scott and welcome to the Umbraco developer forum :)
I'm wondering what steps you took in order to do the migration? Did you copy over the TEMP folder from the /App_Data folder as well for instance? Please try to ellaborate a bit more on the steps you took since it will make it easier to give you some more exact answers.
If so then it might be worth trying to wipe all of it's contents and then also go to the /config/ClientDependency.config folder and increase the version number and then recycle the app pool to see if this has any effect.
Umbraco crashes with exception when you browse to it
I am migrating Umbraco from one server to another. I have copied the files and exported/imported the database. But when I browse to the migrated site I get this message.
Object reference not set to an instance of an object.
Line 9:
[NullReferenceException: Object reference not set to an instance of an object.] umbraco.presentation.urlRewriter.UrlRewriterFormWriter.WriteAttribute(String name, String value, Boolean fEncode) +421 System.Web.UI.HtmlControls.HtmlForm.RenderAttributes(HtmlTextWriter writer) +740 System.Web.UI.HtmlControls.HtmlControl.RenderBeginTag(HtmlTextWriter writer) +41 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +20 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53 umbraco.presentation.urlRewriter.FormRewriterControlAdapter.Render(HtmlTextWriter writer) +49 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +106 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40 ASP.umbracodefaultaspx.Rendercontrol1(HtmlTextWriter _w, Control parameterContainer) in \n5200-2\iis7www\s\a\samex.co.nz\www\umbraco\Default.aspx:11 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386
I was hoping someone can point me where to troubleshoot.
Scott
Hi Scott and welcome to the Umbraco developer forum :)
I'm wondering what steps you took in order to do the migration? Did you copy over the TEMP folder from the /App_Data folder as well for instance? Please try to ellaborate a bit more on the steps you took since it will make it easier to give you some more exact answers.
If so then it might be worth trying to wipe all of it's contents and then also go to the /config/ClientDependency.config folder and increase the version number and then recycle the app pool to see if this has any effect.
Looking forward to hearing from you.
Cheers, Jan
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.