YAFLogo

vkwyaf
  • vkwyaf
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Hi,

we are permanently getting the following error when a user tries to add a new topic:

[InvalidOperationException: Sequence contains no elements]

System.Linq.Enumerable.First(IEnumerable`1 source) +446

YAF.Pages.posts.BindData() +1778

YAF.Pages.posts.Page_Load(Object sender, EventArgs e) +4145

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

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

System.EventHandler.Invoke(Object sender, EventArgs e) +0

System.Web.UI.Control.OnLoad(EventArgs e) +132

System.Web.UI.Control.LoadRecursive() +66

System.Web.UI.Control.LoadRecursive() +191

System.Web.UI.Control.LoadRecursive() +191

System.Web.UI.Control.LoadRecursive() +191

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

OS: Windows Server 2003 R2 x64 SP2 (IIS 6.0)

Framework 3.5

In fact the new topic is saved, go to the forum overview the topic is there. I can open it and post an answer (without error). Is this a known issue?

Thx for help.

Sponsor

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
11 years ago
Originally Posted by: vkwyaf 

I can open it and post an answer (without error). Is this a known issue?

.

I can't reproduce it. Maybe an integration issue.

vkwyaf
  • vkwyaf
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Originally Posted by: bbobb 

Maybe an integration issue.

Bingo! You are right; We use Deutsch(Deutschland) setting. I switched to English(United States), and guess what? It worked.

BUT, to make it more complex for you. :twisted:

When I switched back to Deutsch(Deutschland), the error did not reappear. So maybe this is an installation issue.

By the way, there is another language issue. When you are not loged in, there is the following text on top of the page:

Quote:

Welcome Guest! To enable all features please Anmelden or Registrieren.

You see..... Is there a quick way to solve this problem?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
Quote:

You see..... Is there a quick way to solve this problem?

Use my updated German language File

vkwyaf
  • vkwyaf
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
And my special thanks to tha_watcha! You made my day,.... (wie der anglophile zu sagen pflegt). 👍