MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

There is an error in blog editor page (Closed) (Mono Support )

Viewed 14908 time(s), 3 post(s) 10/21/2011 4:30:09 AMby cosmogonor
cosmogonor

cosmogonor

10/21/2011 4:32:48 AM
Hi

I got the following error , i even checked AddThisCodeCount.htm file but no use.
did i miss anything in Monox4.5 upgrade?
executed all DB scripts.

I even tested with fresh installation of Monox4.5 but still getting the same error.

Please confirm me ASAP.

the error occurring in ~\MonoX\Portal\MonoX\Code\ContentSharing\ContentSharingEngine.cs line 75


to replicate issue

1. login as admin
2.click on blog tab in the horizontal menu
3.click on edit button of any blog
4.click on publish

error follows

Server Error in '/' Application.Value cannot be null.
Parameter name: streamDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: stream

Source Error:

Line 100: //Add This Code loading
Line 101: Stream mainStream = typeof(AddThisEngine).Assembly.GetManifestResourceStream(AddThisCodeCountNamespace);
Line 102: StreamReader reader = new StreamReader(mainStream);
Line 103: _addThisCodeCount = reader.ReadToEnd();
Line 104: }
Source File: F:\Community\MonoX\Portal\MonoX\Code\ContentSharing\AddThis\AddThisEngine.cs Line: 102

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: stream]
System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) +9487985
System.IO.StreamReader..ctor(Stream stream) +30
MonoSoftware.MonoX.AddThis.AddThisEngine.get_AddThisCodeCount() in F:\Community\MonoX\Portal\MonoX\Code\ContentSharing\AddThis\AddThisEngine.cs:102
MonoSoftware.MonoX.ModuleGallery.Blog.BlogPostView.get_ProviderClientSideCode() in F:\Community\MonoX\Portal\MonoX\ModuleGallery\Blog\BlogPostView.ascx.cs:345
MonoSoftware.MonoX.ContentSharing.ContentSharingEngine.ContentSharingEngine_RenderContentSharingItem(Object sender, Control container, String title, String url) in F:\Community\MonoX\Portal\MonoX\Code\ContentSharing\ContentSharingEngine.cs:75
MonoSoftware.MonoX.ModuleGallery.Blog.BaseBlogFormattedDisplayPart.ParseBlogPostTemplateTags(BlogPostEntity post, Int32 maxTitleChars, Int32 maxDescriptionChars, String dateFormatString) in F:\Community\MonoX\Portal\MonoX\ModuleGallery\Blog\BaseBlogFormattedDisplayPart.cs:413
MonoSoftware.MonoX.ModuleGallery.Blog.BlogPostView.BindData() in F:\Community\MonoX\Portal\MonoX\ModuleGallery\Blog\BlogPostView.ascx.cs:305
MonoSoftware.MonoX.ModuleGallery.Blog.BlogPostView.OnLoad(EventArgs e) in F:\Community\MonoX\Portal\MonoX\ModuleGallery\Blog\BlogPostView.ascx.cs:221
System.Web.UI.Control.LoadRecursive() +110
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3364

Thanks
RRR :)

This content has not been rated yet. 
1176 Reputation 140 Total posts
khorvat

khorvat

10/21/2011 7:09:52 AM
Hi,

we will handle your issue in the Priority topic that you have just created, so I'm closing this one (Duplicate).

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

10/21/2011 3:30:57 PM
Hi,

solution to this issue is to change the Build Action to Embedded Resource on the AddThisCodeCount.htm as it was set by default in the MonoX Source Package.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts