Exception if two person access the same page at the same time


Author
Message
ChanKK
ChanKK
StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)
Group: Forum Members
Posts: 190, Visits: 1.3K
Hi,

I hit the error below if two person access the same page at the same time. Even though I have replaced the latest Business.dll (this time confirmed is replaced) Please advice. Thank you



Server Error in '/FlexHR' Application.



--------------------------------------------------------------------------------



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 184: protected override void OnPreRender(EventArgs e)

Line 185: {

Line 186: base.OnPreRender(e);

Line 187:

Line 188: this.ErrorIcon = "../images/ErrorIcon.png";







Source File: C:\FlexHR\Trunk\Mainline\Generic\UI\Web\Strataframe\Forms\BasePage.cs Line: 186



Stack Trace:





[NullReferenceException: Object reference not set to an instance of an object.]

System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +143

System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +11

MicroFour.StrataFrame.Business.TypePropertyCache.GetPropertyInfo(Type OwnerType, String PropertyName) +259

MicroFour.StrataFrame.Business.TypePropertyCache.GetPropertyInfo(Object Owner, String PropertyName) +22

MicroFour.StrataFrame.Business.BusinessLayer.BindDataToWebControl(IWebBusinessBindable ControlToBind, IWebBinding Binding) +196

MicroFour.StrataFrame.Business.BusinessLayer.BindDataToWebControlPrimary(IWebBusinessBindable ControlToBind) +62

MicroFour.StrataFrame.UI.Web.BasePage.BindControls() +150



[UIException: An error occurred while binding data to the web control 'lblDocRef'.]

MicroFour.StrataFrame.UI.Web.BasePage.BindControls() +570

MicroFour.StrataFrame.UI.Web.BasePage.Page_PreRender(Object sender, EventArgs e) +7

System.Web.UI.Control.OnPreRender(EventArgs e) +8679510

Vfs.Generic.UI.Web.Strataframe.Forms.BasePage.OnPreRender(EventArgs e) in C:\FlexHR\Trunk\Mainline\Generic\UI\Web\Strataframe\Forms\BasePage.cs:186

System.Web.UI.Control.PreRenderRecursiveInternal() +80

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842





--------------------------------------------------------------------------------



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




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
ChanKK - 15 Years Ago
Trent L. Taylor - 15 Years Ago
ChanKK - 15 Years Ago
Trent L. Taylor - 15 Years Ago
ChanKK - 15 Years Ago
ChanKK - 15 Years Ago
Trent L. Taylor - 15 Years Ago
ChanKK - 15 Years Ago
ChanKK - 15 Years Ago
                         I've wrapped most of those that needed it in a SyncLock. Several of...
StrataFrame Team - 15 Years Ago
                             Hi,
May I know when would it available for download?
...
ChanKK - 15 Years Ago
                                 We will do another build tomorrow morning.
Trent L. Taylor - 15 Years Ago
                                     I will send you a link to a custom build to test this this afternoon....
Trent L. Taylor - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search