Forums

 
ForumForumMainstream Foru...Mainstream Foru...BugsBugsAssigning a task to a project -> Acceskey is too longAssigning a task to a project -> Acceskey is too long
Previous Previous
 
Next Next
New Post
 1/7/2008 3:50 AM
 
 

Server Error in '/SplendidCRM' Application.

AccessKey too long, cannot be more than one character.
Parameter name: value

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.ArgumentOutOfRangeException: AccessKey too long, cannot be more than one character.
Parameter name: value

Source Error:

Line 57: 	<asp:Panel ID="pnlPopupButtons" CssClass="button-panel" runat="server">
Line 58: 		<asp:Button ID="btnPopupClear"  OnClientClick="Clear(); return false;"  CssClass="button" Text='<%# "  " + L10n.Term(".LBL_CLEAR_BUTTON_LABEL" ) + "  " %>' ToolTip='<%# L10n.Term(".LBL_CLEAR_BUTTON_TITLE" ) %>' AccessKey='<%# L10n.AccessKey(".LBL_CLEAR_BUTTON_KEY" ) %>' Visible='<%# (Request["ClearDisabled"] == "1") ? false : true %>' runat="server" />
Line 59: 		<asp:Button ID="btnPopupCancel" OnClientClick="Cancel(); return false;" CssClass="button" Text='<%# "  " + L10n.Term(".LBL_CANCEL_BUTTON_LABEL") + "  " %>' ToolTip='<%# L10n.Term(".LBL_CANCEL_BUTTON_TITLE") %>' AccessKey='<%= L10n.AccessKey(".LBL_CANCEL_BUTTON_KEY") %>' runat="server" />
Line 60: 		<asp:Label ID="lblError" ForeColor="Red" EnableViewState="false" Runat="server" />
Line 61: 	</asp:Panel>

Source File: c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx    Line: 59

Stack Trace:

[ArgumentOutOfRangeException: AccessKey too long, cannot be more than one character.
Parameter name: value]
   System.Web.UI.WebControls.WebControl.set_AccessKey(String value) +1821541
   ASP.projects_popup_aspx.__BuildControlbtnPopupCancel() in c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx:59
   ASP.projects_popup_aspx.__BuildControlpnlPopupButtons() in c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx:57
   ASP.projects_popup_aspx.__BuildControlcntBody(Control __ctrl) in c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx:21
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.app_masterpages_sugar_popupview_master.__BuildControlcntBody() in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:31
   ASP.app_masterpages_sugar_popupview_master.__BuildControlfrmMain() in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:28
   ASP.app_masterpages_sugar_popupview_master.__BuildControlhtmlRoot() in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:22
   ASP.app_masterpages_sugar_popupview_master.__BuildControlTree(app_masterpages_sugar_popupview_master __ctrl) in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:1
   ASP.app_masterpages_sugar_popupview_master.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\splendidcrm\39d9217b\e43b7469\App_Web_6f01gdgw.5.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1978544
   System.Web.UI.Page.get_Master() +48
   System.Web.UI.Page.ApplyMasterPage() +18
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543



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

 

everytime i want to assign a project task to a project, i get this error. Is there a way to solve this problem>?

New Post
 1/7/2008 8:47 AM
 

We should use <%# in the access key and not <%=

Thanks for catching this.

 

Previous Previous
 
Next Next
ForumForumMainstream Foru...Mainstream Foru...BugsBugsAssigning a task to a project -> Acceskey is too longAssigning a task to a project -> Acceskey is too long