Error when fill data


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 faced the error below when I try to fill data to gridview. Please advice.

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 3/26/2009 7:56:51 PM

Event time (UTC): 3/26/2009 11:56:51 AM

Event ID: 7d958c12b0b24dbc914673797c88316c

Event sequence: 98

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/1/Root/FlexHR-1-128825415997787500

Trust level: Full

Application Virtual Path: /FlexHR

Application Path: C:\VisualSolutions\FlexHR\

Machine name: VISUALSVR

Process information:

Process ID: 5968

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:

Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.

Request information:

Request URL: http://visualsvr/FlexHR/Leave/Forms/FormPendingLeaves.aspx

Request path: /FlexHR/Leave/Forms/FormPendingLeaves.aspx

User host address: 10.228.210.56

User:

Is authenticated: False

Authentication Type:

Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:

Thread ID: 7

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at MicroFour.StrataFrame.Business.BusinessBindingSource.BusinessObject_CurrentDataTableRefilled()

at MicroFour.StrataFrame.Business.BusinessLayer.raise_CurrentDataTableRefilled()

at MicroFour.StrataFrame.Business.BusinessLayer.OnCurrentDataTableRefilled()

at MicroFour.StrataFrame.Business.BusinessLayer.ChangeCurrentDataTable(DataTable NewTable, Boolean AcceptChanges, Boolean IsSharedTable)

at MicroFour.StrataFrame.Business.BusinessLayer.FillByStoredProcedure(String ProcedureName, DbParameter[] Parameters)

at Vfs.Leave.Business.BusinessObject.LVELeavesBO.FillPendingLeavesByApprover(String approverEmpNo, DateTime wflwEffectiveDate)

at Vfs.Leave.Business.BusinessObject.LVELeavesBO.FillPendingLeavesByApprover(String approverEmpNo)

at Vfs.Leave.UI.Web.Forms.FormPendingLeaves.Initialize()

at Vfs.Leave.UI.Web.Forms.FormPendingLeaves.Page_Load(Object sender, EventArgs e)

at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

at System.Web.UI.Control.OnLoad(EventArgs e)

at Vfs.Generic.UI.Web.Strataframe.Forms.BasePage.OnLoad(EventArgs e)

at Vfs.Generic.UI.Web.Strataframe.Forms.DataEntryBasePage.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

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

Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This looks like a permissions or authentication issue.  Can you reproduce this on your development machine or just your production server?  I would ask for a sample, but I am willing to bet that this is not going to be reproducable in a sample. 
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
This looks like a permissions or authentication issue.


May I know what permission? We tested in production which is using Business DLL hat fix the memory leak problem, and hit the error. It is working fine in our dev machine (1.6.6.5)



Please advice. It is urgent!
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This is not an easy question to answer.  The problem is most likely due to IIS or site permissions.  For example, uou will need to have script and execute permissions on the site. You will also want to make sure that you have full trust on the site as well.  The version of ISS can also make a difference.  This falls more into the setup nd configuration of IIS. 

These types of issues are generally never something that we can just dump out a blanket answer for...but rather it is something that requires hands on.  The first thing that I do when facing an issue like this is to grant the most permissions possible.  Full admin rights, foor example, and then start working backwards until I can determine what is going on.  In this case full admin rights really isn't the annswer, but give as many rights possible on the site and site configuration and then start backing it off until you can determine the bottleneck.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search