SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrote a little utility, which let's me import discussions from a different forum into SharePoint 2010. So far so good. It passed the "works on my machine" test successfully. Unfortunate I cannot say this about the client's machine.

For some very strange reason all discussions as well as all replies are being imported, but the ItemCount of the discussion stays at 0.

Looking at the ULS doesn't reveal any problems.

Has anyone any kind of hint?

share|improve this question
Just curious.. if everything is being imported, why does the ItemCount matter? Not saying it isn't a problem... ;) – Kit Menke Nov 29 '11 at 14:56
I am not really sure what your problem is but here you can find some info on discussions and ItemCount… – Vedran Rasol Nov 29 '11 at 20:36
Can you please the code for the utility you had creted for Importing Discussion threads with replies. Thanx in advance..!!! Thanks Yatharth – user7289 Mar 9 '12 at 9:25
Sorry for taking so long ... I wrote a small blog-bost containing a sample on how to create threads and replies in code. – nyn3x Apr 10 '12 at 17:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.