5tu Posted May 13, 2011 Posted May 13, 2011 In web.config if I set the 'Password' tab to be shown to 'None' as follows... I get the following error: Server Error in '/Extranet' Application. Attempted to divide by zero. 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.DivideByZeroException: Attempted to divide by zero. 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: [DivideByZeroException: Attempted to divide by zero.] System.Decimal.FCallDivide(Decimal& d1, Decimal& d2) +0 HAP.Web.Default.Page_Load(Object sender, EventArgs e) +513 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
5tu Posted May 13, 2011 Author Posted May 13, 2011 Many thanks Nick for your continued efforts on a brilliant project. While I've got you can I ask you how I can update default.aspx to show the user's name when they login? I have this running well on v5.4.5 using and however it doesn't seem to work on v6.*.
robncar Posted May 16, 2011 Posted May 16, 2011 (edited) We've just run into the same error attempting to upgrade v5.4.5.0 to v6.2. stack.txt Edited May 16, 2011 by robncar
5tu Posted May 17, 2011 Author Posted May 17, 2011 Bump... While I've got you can I ask you how I can update default.aspx to show the user's name when they login? I have this running well on v5.4.5 using and however it doesn't seem to work on v6.*.
5tu Posted May 18, 2011 Author Posted May 18, 2011 Try <%=up.Username%> Thanks for the suggestion but it causes an error ..... Server Error in '/Extranet' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1010: Newline in constant Source Error: Line 34: Line 35: Line 36: ', this); return false;"><%#Eval("Name") %> Line 37: Line 38: Source File: c:\inetpub\wwwroot\Extranet\Default.aspx Line: 36
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now