Jump to content

Recommended Posts

Posted

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

Posted

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.*.

Posted

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.*.

Posted
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 38:

 

 

Source File: c:\inetpub\wwwroot\Extranet\Default.aspx Line: 36

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...