Strange Error in System Log

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/23/2010 12:05:02 AM
Gravatar
Total Posts 25

Strange Error in System Log

Hi Joe:

In my system log I get the following error

"2010-09-22 23:36:56,945 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.InvalidOperationException: There is an error in XML document (20, 64740). ---> System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: content, IndexItem. Line 20, position 64740."

Also when I enable NotifyAdminsOn Registration.. and I try registering I do not get any email. I looked at the log and it looks like it is trying to send

"2010-09-22 23:37:16,460 INFO mojoPortal.Web.EmailMessageTask - deserialized EmailMessageTask task
2010-09-22 23:37:16,460 INFO mojoPortal.Web.EmailMessageTask - Queued EmailMessageTask on a new thread
2010-09-22 23:37:16,632 INFO mojoPortal.Web.EmailMessageTask - started EmailMessageTask task "

2010-09-22 23:37:47,052 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.InvalidOperationException: There is an error in XML document (20, 64740). ---> System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: content, IndexItem. Line 20, position 64740.

Please assist.

Thanks

9/23/2010 7:55:10 AM
Gravatar
Total Posts 18439

Re: Strange Error in System Log

Hi Uday,

Those email messages are INFO not errors. See Email Configuration for information about how to configure email.

The error about IndexWriterTask happens when it is indexing content into the search index. The content first gets serialized into the database then processed to write into the search index. It sounds like the content is too big for the field and the xml serialized content is getting truncated in the database and then it cannot parse the xml.

What database platform are you using?

You may need to delete the bad rows from mp_IndexingQueue

Hope it helps,

Joe

9/23/2010 8:18:44 AM
Gravatar
Total Posts 25

Re: Strange Error in System Log

Joe:

Thanks for your superfast response. My email is configured correctly as per the document. I also tried to rebuid the index. I am using MySql. How do I identify the bad rows in the mp_IndexingQueue to delete them?

Do I need to rebuild my index after that?

 

Thanks

Uday

9/23/2010 8:27:34 AM
Gravatar
Total Posts 18439

Re: Strange Error in System Log

I had a feeling you were going to say MySql, this was also reported on this thread. The field is a text field which should be large enough, but David emailed me and said he was able to resolve it by changing the field SerializedItem in mp_IndexingQueue to VARCHAR(65535)

I would try changing the field type then rebuild the index and see if it goes without errors.

You must have some very large articles in your content.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.