Problem calling a simple fill in a webform


Author
Message
Keith Chisarik
Keith Chisarik
StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
I have no clue what this error means....... it occurs when my webform calls the fill method from the load, the fill is a simple top x to get things going.



System.NotImplementedException was unhandled by user code

Message="The class [commonClasses.transactionBO] must override the property 'TableName' since it derives from MicroFour.StrataFrame.Business.BusinessLayer."

Source="MicroFour StrataFrame Business"

StackTrace:

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

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

at MicroFour.StrataFrame.Business.BusinessLayer.get__CurrentDataTable(Boolean IsSharedTable)

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

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

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

at MicroFour.StrataFrame.Business.BusinessLayer.ChangeCurrentDataTable(DataTable NewTable)

at MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(String SelectStatement)

at commonClasses.transactionBO.FillTop100() in C:\Documents and Settings\kchisarik\My Documents\Visual Studio 2005\Projects\drsAS400\commonClassesandBOs\transactionBO.vb:line 68

at Default.Page_Load(Object sender, EventArgs e) in V:\2005 Projects\websites\drsAS400\Default.aspx.vb:line 8

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

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

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


Keith Chisarik
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Well, I am not sure how you achieved getting this message to appear, but the problem is that the TableName property in your business object has not been overwritten (or it is missing the Implements tag at the end of the declaration).  Go to you business object and look in the transactionBO.Designer.vb file.  See if the TableName property exists within this code.  If not, rebuild your partial class and see if it exists after the rebuild of that class.

If the TableName property exists, see if there is an Implements tag at the end of the property declaration line.  If it is missing this it will cause an issue as well.

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