10/19/2011 3:42:18 PM
1871
Reputation
252
Total posts
When I navigate to a news page I created prev by hand I get a error..
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: 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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
MonoSoftware.Web.StringExtension.Append(String url, UrlParam`1 urlParam, T value) +44
MonoSoftware.MonoX.RssEngine.RssEngine.#lj() +255
MonoSoftware.MonoX.RssEngine.RssEngine.GenerateRss() +2334
MonoSoftware.MonoX.BasePage.#Gb() +164
MonoSoftware.MonoX.BasePage.Render(HtmlTextWriter writer) +27
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4959
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Pages worked before upgrade..
I custom coded it to set the readmore page..
<%@ Page
Language=
"C#"
AutoEventWireup=
"True"
CodeBehind=
"/Code/BaseClasses/BasePage.cs"
Inherits=
"TheScene.Web.BasePage"
Theme=
"Scene"
MasterPageFile=
"/MonoX/MasterPages/ThePittsburghSceneHeader.master"
%>
<%@ MasterType TypeName=
"MonoSoftware.MonoX.BaseMasterPage"
%>
<%@ Import Namespace=
"MonoSoftware.MonoX.Resources"
%>
<%@ Register TagPrefix=
"MonoX"
TagName=
"News"
Src=
"/MonoX/ModuleGallery/News/MainNewsModule.ascx"
%>
<%@ Register Assembly=
"MonoX"
Namespace=
"MonoSoftware.MonoX"
TagPrefix=
"portal"
%>
<asp:Content ID=
"Content1"
ContentPlaceHolderID=
"cp"
runat=
"server"
>
<div
class
=
"page_header"
><h97>ThePittsburghScene.com - News</h97></div>
<div
class
=
"page_box"
>
<portal:PortalWebPartZone HeaderText=
"Content zone"
ID=
"contentPartZone"
runat=
"server"
Width=
"100%"
ChromeTemplateFile=
"Standard.htm"
>
<ZoneTemplate>
<MonoX:News ID=
"News"
runat=
"server"
ShowRating=
"false"
ReadMorePageUrl=
"/Pages/NewsReader.aspx"
PagerPageSize=
"4"
></MonoX:News>
</ZoneTemplate>
</portal:PortalWebPartZone>
</style>
</div>
</asp:Content>
I also noticed.. when I try to add news parts to another page that loads.. I get errors then too..
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.