Bug reports
Version 3.x > Bug reports > Error: Server Error in '/' Application. View modes: 
User avatar
WE ARE VI - 6/15/2009 9:33:17 AM
Error: Server Error in '/' Application.
I am getting the following error when trying to save a page. Any ideas ?



Value cannot be null.
Parameter name: input

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.ArgumentNullException: Value cannot be null.
Parameter name: input

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:

[ArgumentNullException: Value cannot be null.
Parameter name: input]
System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +2196323
CMS.GlobalHelper.HTMLHelper.UnResolveUrls(String mHtml, String applicationPath) +135

CMS.FCKeditorV2.FCKeditor.get_ResolvedValue() +14
CMS.Controls.CMSEditableRegion.GetContent() +70
CMS.Controls.CMSPageManager.SaveContent() +158
CMS.Controls.CMSPageManager.btnSave_Click(Object sender, EventArgs e) +29

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 6/15/2009 1:55:56 PM
RE:Error: Server Error in '/' Application.

This error says that you didn't filled in one or more fields that have to be filled in if you are getting this error in Form tab in CMS Desk. Could you please go to Site Manager -> Development -> Document types -> <document type on which you get this error> -> Edit -> Fields and here please check which fields allow null values (Allow empty value checkbox).

There were several bugs regarding editable regions and page tabs in 3.x versions. This issue therefore may be caused by problem with editable region that occurs under some certain circumstances. Could you please let us know what version of Kentico CMS are you currently using or eventually send us e-mail to support@kentcio.com so we can provide you with hotfix package? Another possible solution to this issue is upgrading to 4.0 version.

Best Regards,
Miroslav Remias