Problem in Edit Settings for Content Instance after upgrade

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.
8/3/2012 12:31:33 PM
Gravatar
Total Posts 2

Problem in Edit Settings for Content Instance after upgrade

I've developed several web apps upon this wonderful CMS platform, and our customers are very satisfied with them.

Now I got a problem after upgrading to the new version 2.3.9.0 from an old 2.3.6.7 one according to your guidance doc step by step:

Step 1: backup the whole application including files and database

Step 2: deployed the 2.3.9.0 deployment files into proper folder

Step 3: made custom changes,  merged the source code, then recompiled all the programs

Step 4: run setup process and everything seems OK

But after upgrading, I can not edit settings for content instance anymore. When click any Settings link, system crashed and gave me error messages as following. Can anyone help me?

By the way. I am using .NET Framework 3.5/4.0, Windows Server 2008R2 x64, MS SQL Server 2005

===============================================================

Server Error in '/DevpTest' 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.] mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateControls() +938 mojoPortal.Web.AdminUI.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) +342 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +73 System.Web.UI.Control.LoadRecursive() +70 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

 

8/3/2012 12:58:42 PM
Gravatar
Total Posts 18439

Re: Problem in Edit Settings for Content Instance after upgrade

I don't understand,you should either be working with source code and producing your own build or stick with pre-compiled release packages, they are not both to be used together. The pre-compiled release packges are not really intended to be used in VS, they are intended for production deployment.

If you are merging modifications into the mojoPortal source code I cannot help you and cannot offer support for forked versions of the code.

If you are working with source code I suggest set a break point and find out exactly what is null and why.

8/3/2012 2:23:52 PM
Gravatar
Total Posts 2

Re: Problem in Edit Settings for Content Instance after upgrade

Thank you Joe! What you said helped me a lot.

I made some custom changes in the source code, also developed my own projects upon them.

According to what you said, the problem might be caused by mixing them up.

Regards!

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