Technical support This forum is closed.
Version 1.x > Technical support > NullReferenceExceptions View modes: 
User avatar
Member
Member
tomwith - 5/27/2005 12:14:13 PM
   
NullReferenceExceptions
Hi,

I've just downloaded version 6b of your CMS and installed using the example data. However, for both the main site and the cmsdesk I get null reference exceptions

KenticoCMS
--------------

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
Kentico.CMS.CMSControls.CMSEditModeButtons.CreateChildControls() +73
System.Web.UI.Control.EnsureChildControls() +100
System.Web.UI.Control.PreRenderRecursiveInternal() +38
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499





CMSDesk
------------


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 18: <td align="center"><IMG src="design/images/CMS_Desk_Logo.gif" align="middle"><br>
Line 19:  
Line 20: <cc1:logonform id="LogonForm1" runat="server" RedirectTo="default.aspx" ErrorLabel-CssClass="FormErrorLabel"
Line 21: SubmitButton-CssClass="FormButton"></cc1:logonform></td>
Line 22: </tr>


Source File: c:\inetpub\wwwroot\KenticoCMS\cmsdesk\logon.aspx Line: 20

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
Kentico.CMS.CMSControls.ResMan.GetString(String stringName) +184
Kentico.CMS.CMSControls.LogonForm..ctor() +74
ASP.Logon_aspx.__BuildControlLogonForm1() in c:\inetpub\wwwroot\KenticoCMS\cmsdesk\logon.aspx:20
ASP.Logon_aspx.__BuildControlForm1() in c:\inetpub\wwwroot\KenticoCMS\cmsdesk\logon.aspx:14
ASP.Logon_aspx.__BuildControlTree(Control __ctrl) in c:\inetpub\wwwroot\KenticoCMS\cmsdesk\logon.aspx:1
ASP.Logon_aspx.FrameworkInitialize()
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Cheers,

Tom.


User avatar
Guest
admin - 6/8/2005 6:39:21 PM
   
Re: NullReferenceExceptions
Hi Tom,

I'm very sorry for the delay in answering your message. Could you please write me which version you used (1.6 or 1.6b, C# or VB.NET)? Unfortunately, we do not know about any error that would cause such behavior right now :(

Thank you.

Best Regards,