Error on Admin Page - Does not contain a property with the name 'DisplayName'.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/11/2009 7:19:41 PM
Gravatar
Total Posts 22

Error on Admin Page - Does not contain a property with the name 'DisplayName'.

DataBinding: 'System.Data.Common.DataRecordInternal' does not contain a property with the name 'DisplayName'.
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.Web.HttpException: DataBinding: 'System.Data.Common.DataRecordInternal' does not contain a property with the name 'DisplayName'.

Source Error:


Line 180: AlternateText='<%# Resources.Resource.ManageUsersRemoveFromRoleButton %>' runat="server"
Line 181: ID="btnRemoveRole" />
Line 182: <asp:Label Text='<%# DataBinder.Eval(Container.DataItem, "DisplayName") %>' runat="server"
Line 183: ID="Label1" />
Line 184: &nbsp;&nbsp;&nbsp;

 

8/12/2009 2:36:50 AM
Gravatar
Total Posts 550

Re: Error on Admin Page - Does not contain a property with the name 'DisplayName'.

Do you visit setup page([yourdomain]/setup/default.aspx) after upgrading?

Best,

Asad

8/12/2009 6:31:22 AM
Gravatar
Total Posts 18439

Re: Error on Admin Page - Does not contain a property with the name 'DisplayName'.

Hi,

You didn't mention that you are using the source code from svn trunk but that must be the case. This was a bug briefly in svn trunk but if you do svn update, rebuild solution and visit the setup page it is already fixed.

Hope it helps,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.