LilMoke
  •  LilMoke
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
2010-08-27T14:58:24Z
Hello,

I am using yaf integrated into my sites asp.net membership and when I login is the admin and click the 'Roles' option i receive the error below.


Does anyone know why I am receiving this error?

Thanks


Server Error in '/' 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: CS0117: 'object' does not contain a definition for 'BinaryAnd'

Source Error:

Line 86: </td>
Line 87: <td class="post">
Line 88: <%# this.Eval( "Flags" ).BinaryAnd(2) %>
Line 89: </td>
Line 90: <td class="post">


Source File: e:\clnts\...\Forum\pages\admin\groups.ascx Line: 88
Sponsor
LilMoke
  •  LilMoke
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
2010-08-27T16:05:34Z
I have researched it a little further and still believe it has to do with the role manager. I have the following in my web.config.

Can anyone tell me if I am missing something here:

<membership defaultProvider="MyProvider">
<providers>
<clear/>
<remove name="AspNetSqlMembershipProvider"/>
<add name="MyProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</membership>

<roleManager enabled="true" defaultProvider="MyRoleProvider">
<providers>
<clear/>
<add name="MyRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider"/>
</providers>
</roleManager>

<profile automaticSaveEnabled="true" defaultProvider="MyProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
<providers>
<clear/>
<add name="MyProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="/"/>
</providers>
</profile>


Thanks for the help.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved