Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max Mumford 266 posts 293 karma points
    Aug 25, 2010 @ 16:37
    Max Mumford
    0

    Installation error - Object reference not set to an instance of an object

    Hi,
    While installing umbraco 4.0.4.2 on windows server 2003 with sql 2008 express and IIS 6 I get the following error:

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    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>

    Source File: c:\Inetpub\wwwroot\Default.aspx    Line: 11 

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.presentation.urlRewriter.UrlRewriterFormWriter.WriteAttribute(String name, String value, Boolean fEncode) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\urlRewriter\UrlRewriterFormWriter.cs:52
       System.Web.UI.HtmlControls.HtmlForm.RenderAttributes(HtmlTextWriter writer) +602
       System.Web.UI.HtmlControls.HtmlControl.RenderBeginTag(HtmlTextWriter writer) +42
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +20
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
       System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +21
       umbraco.presentation.urlRewriter.FormRewriterControlAdapter.Render(HtmlTextWriter writer) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\urlRewriter\UrlRewriterFormWriter.cs:17
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +8681849
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Inetpub\wwwroot\Default.aspx:11
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614
    Anybody know what this is?
    Thanks
    Max.
  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Aug 25, 2010 @ 16:45
    Morten Bock
    0

    At which step in the installation are you getting this error?

  • Max Mumford 266 posts 293 karma points
    Sep 01, 2010 @ 22:08
    Max Mumford
    0

    Hi,

    Dont worry, we have the problem fixed itself. unfortunately i cant remember where this was as i did so many different installations of umbraco in the past week... but all fixed. Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft