blogroll right hand sidebar widget fail after deploy

Topics: Business Logic Layer
Feb 22, 2011 at 10:06 PM

I've successfully configured and deployed be 2.0.0.36 via webmatrix using the DbBlogProvider. http://www.grb2012.com However the blogRoll widget in the right hand side bar does not display. On initial page load what looks like what might be part of the custom error page displays in the blogRoll widget area. Subsequent page refresh doesn't show that error. (except after a bit of time (many minutes) where presumably the cache empties.)

I downloaded the source and successfully compiled and deployed 2.0.0.44 from Visual Studio 2010. Same results on the BlogRoll widget on the right hand side bar.

When I run the project locally out of either web matrix or Visual Studio against the same sql db the BlogRoll displays corectly.

 

Coordinator
Feb 23, 2011 at 8:16 AM

It may be a code access security problem, similar to what you reported in the "ysod" message.  If the suggestion in that thread to set the trust level to Full works, that could resolve the problem with the blogroll at the same time.

On a separate note, one thing I noticed on your site that is a problem with BE (not your site), is that if the "Enable Website in Comments" option is turned off in the control panel settings, it leads to a JavaScript error when trying to leave a comment.  If you go into the control panel, Settings tab -> Comments, check the box "Enable Website in Comments" and Save, that will make the Website field appear for anyone leaving a comment, and eliminate the JavaScript error.

Feb 23, 2011 at 10:58 PM

Solved!

See this thread: http://blogengine.codeplex.com/discussions/247159 

I asked the hosting provider to allow <trust level="Full" /> Which fixed an image upload problem as well as the BloggRoll widget problem.

Thank you BlogEngineers!