YAFLogo

alexian
  • alexian
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
I am using ASP.NET 4.0 website + YAF-v1.9.6.1-RTW. I successfully integrated the YAF into ~/forum subdirectory using this tutorial: Integrate YAF into existing Membership 

However, I have some very frustrating problems. I was trying to solve them for a couple of hours now (tried to find out what can cause this error by inspecting the SRC script version) but without any success.

Installation procedure went without any problems, I am able to use forum as an administrator and as a user (write post and basically everything) but I am not able to manage the website using Admin and Host links.

I get the following errors (I thought that it is easier to see the problems on the screenshot, rather than copy-paste the code):

UserPostedImage
UserPostedImage

This is my Web.config:

UserPostedImage

As you can see it is slightly modified (removed db.config and put connections string inside etc.).

What is important: I handled my page authentication without any membership providers. But I was forced to write MembershipProvider and RoleProvider in order to integrate YAF (I used YAF ProfileProvider). But those (my) providers are just "empty" and implement only needed functions by YAF e.g. GetUser (registration via YAF would be disabled).

Here are sensitive parts of those two providers (I hope those would be helpful to solve my issue):

UserPostedImage
UserPostedImage

Regards
And thanks in advance for any help!! (and your time) Basically thanks for any words!!
Sponsor

alexian
  • alexian
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
I have the same problem with Standard ASP.NET Membership/Role/Profile providers. So probably, there is something wrong with the Web.Config


Please, take a look on it. Thanks.

Regards
alexian
  • alexian
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Found a solution. It's very surprising (for me it was):

You need to add id="YafHead" runat="server" to the tag
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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