Missing file and question about Postgresql.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/4/2007 4:40:50 PM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

These are the two errors. I have both of them multiple times: a few times the first one and then a few times the second.

 

2007-09-04 23:41:24,828 [2496] ERROR mojoPortal.Web.Global [(null)] - System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Npgsql.NpgsqlException:
syntax error at or near ":"
Severity: ERROR
Code: 42601
at Npgsql.NpgsqlConnector.CheckErrors()
at Npgsql.NpgsqlCommand.ExecuteCommand()
at Npgsql.NpgsqlCommand.ExecuteScalar()
at mojoPortal.Data.NpgsqlHelper.ExecuteScalar(NpgsqlConnection connection, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters)
at mojoPortal.Data.NpgsqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters)
at mojoPortal.Data.dbPortal.Module_PageModuleUpdate(Int32 moduleID, Int32 pageID, String paneName, Int32 moduleOrder, DateTime publishBeginDate, DateTime publishEndDate)
at mojoPortal.Data.dbPortal.Module_Publish(Int32 moduleID, Int32 pageID, String paneName, Int32 moduleOrder, DateTime publishBeginDate, DateTime publishEndDate)
at mojoPortal.Business.Module.Publish(Int32 moduleID, Int32 pageID, String paneName, Int32 moduleOrder, DateTime publishBeginDate, DateTime publishEndDate)
at mojoPortal.Web.AdminUI.ContentManagerPage.grdPages_RowUpdating(Object sender, GridViewUpdateEventArgs e)
at System.Web.UI.WebControls.GridView.OnRowUpdating(GridViewUpdateEventArgs e)
at System.Web.UI.WebControls.GridView.HandleUpdate(GridViewRow row, Int32 rowIndex, Boolean causesValidation)
at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)
at System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_contentmanager_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


2007-09-04 23:44:22,921 [1808] INFO mojoPortal.Business.WebHelpers.IndexHelper [(null)] - IndexHelper.RebuildPageIndex - Home


2007-09-04 23:44:22,921 [1808] ERROR mojoPortal.Business.WebHelpers.IndexHelper [(null)] - IndexHelper.RebuildPageIndexAsyncCallback
System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildPageIndex(PageSettings pageSettings)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildPageIndexAsyncCallback(Object PageSettingsObject)
2007-09-04 23:50:03,312 [3744] ERROR mojoPortal.Web.Global [(null)] - System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers()
at mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

9/4/2007 4:41:57 PM
Gravatar
Total Posts 18439

Re: Missing file and question about Postgresql.

Glad that fixed it. I think you just uncovered a bug I need to fix that was introduced in my new provider model for indexbuilders. I need to make it either handle that error or initialize the search index proactively somewhere along the way.

Thanks,

Joe

9/6/2007 1:48:32 AM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

Hi,

I guess this is our thread for all sort of discussions .

Can I put my own aspx in the source folder and then when I create a new page to point to that aspx file I have already put?

The result is to be that my custom page appears in the menu and the page has the specific content I need.

Do I need the entire source tree?

 

Cheers,

Toncho

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