Problems posting via NNTP

rated by 0 users
Not Answered This post has 0 verified answers | 5 Replies | 1 Follower

J-O Eriksson
Top 25 Contributor
1,127 Posts
Points 34,945
MVPs
By: J-O Eriksson
Posted: Sun, Mar 12 2006 5:05 PM

I've setup the NNTP AddOn and can read forums in my NewsReader. But when I try to reply to a message, I get the following error message in the log file:

2006-03-12 22:59:58,610 [5372] ERROR [] - Exception occurred in Server.ThreadPool_WaitCallback
Exception: System.TypeInitializationException
Message: The type initializer for "CommunityServer.Mail.Common.Components.CSMDataProvider" threw an exception.
Source: CommunityServer.Mail.Common
   at CommunityServer.Mail.Common.Components.CSMDataProvider.Instance()
   at CommunityServer.Mail.Common.Components.MailingLists.GetMailingListsTable(Boolean ignorePermissions, Boolean cacheable, Boolean flush)
   at CommunityServer.Mail.Common.Components.MailingLists.GetMailingList(Int32 sectionID)
   at CommunityServer.Discussions.Components.ForumEmails.ForumTracking(Post post)
   at CommunityServer.Discussions.Components.Posts.AddPost(ForumPost post, User postAuthor)
   at CommunityServer.Discussions.Components.Posts.AddPost(ForumPost post)
   at CommunityServer.NntpServer.Components.NntpForumPosts.AddPost(NntpContext context, Forum forum, MimeMessage message, ArrayList attachments)
   at CommunityServer.NntpServer.Components.CommandProcessor.?(NntpContext )
   at CommunityServer.NntpServer.Components.CommandProcessor.ProcessCommand(NntpContext context, String command)
   at CommunityServer.NntpServer.Components.Server.?(Object )

Nested Exception

Exception: CommunityServer.Components.CSException
Message: Unable to load CSMDataProvider
Source: CommunityServer.Components
   at CommunityServer.Components.DataProviders.ProviderException(String providerName)
   at CommunityServer.Components.DataProviders.CreateInstance(Provider dataProvider)
   at CommunityServer.Mail.Common.Components.CSMDataProvider.CreateDefaultCommonProvider()
   at CommunityServer.Mail.Common.Components.CSMDataProvider..cctor()

Before this I can see in the console that the login was successful.

J-O

J-O Eriksson's blog
 
  • Post Points: 20 |

All Replies

Ken Robertson
Top 10 Contributor
5,180 Posts
Points 47,450
CS Developers
By: Ken Robertson
Posted: Mon, Mar 13 2006 10:41 AM In reply to
Are you using Mail Gateway as well?
 
  • Post Points: 20 |
J-O Eriksson
Top 25 Contributor
1,127 Posts
Points 34,945
MVPs
By: J-O Eriksson
Posted: Mon, Mar 13 2006 11:54 AM In reply to
Yes I am
J-O

J-O Eriksson's blog
 
  • Post Points: 20 |
Ken Robertson
Top 10 Contributor
5,180 Posts
Points 47,450
CS Developers
By: Ken Robertson
Posted: Mon, Mar 13 2006 12:03 PM In reply to
Try copying the CommunityServer.Mail.Data.SqlDataProvider.dll and CommunityServer.Mail.Common.dll from the CS bin directory to the NNTP Server directory.  Do not apply the communityserver.config settings for Mail Gateway to the NNTP Server's config file.
 
  • Post Points: 20 |
J-O Eriksson
Top 25 Contributor
1,127 Posts
Points 34,945
MVPs
By: J-O Eriksson
Posted: Mon, Mar 13 2006 12:31 PM In reply to

This seems to have fixed the problem! Thanks Ken!

So is the Mail Gateway packed with the wrong version of those DLLs?

J-O

J-O Eriksson's blog
 
  • Post Points: 20 |
Ken Robertson
Top 10 Contributor
5,180 Posts
Points 47,450
CS Developers
By: Ken Robertson
Posted: Mon, Mar 13 2006 2:34 PM In reply to
From the looks of it, it was packaged with the Common one, but not the data provider (since it isn't directly referenced... it is dynamically loaded).
 
  • Post Points: 5 |
Page 1 of 1 (6 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com