In usercontrol Settings page does not opens

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.
9/13/2011 12:44:48 AM
Gravatar
Total Posts 26

In usercontrol Settings page does not opens

Hello friends,
                      1. I added my user control in one of the page in my site, when click that page my user control design comes on that page after if I click the settings of that user control it goes to setup page like:

mojoPortal Content Management System
Welcome to mojoPortal Setup
Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
3 site(s) found.
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

                        2.If I go to server log this error arises:

Error: 2011-09-13 11:02:02,978 ERROR mojoPortal.Web.mojoBasePage - 10.0.3.40-en-GB - /Admin/ModuleSettings.aspx?mid=477&pageid=313
System.IndexOutOfRangeException: GroupName
   at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
   at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
   at System.Data.SqlClient.SqlDataReader.get_Item(String name)
   at mojoPortal.Business.ModuleSettings.GetDefaultSettings(Int32 moduleDefId)
   at mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings()
   at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-09-13 11:02:02,984 INFO mojoPortal.Web.mojoBasePage - detected need for upgrade so redirecting to setup


                          Please help me!
Thanks,
Nalini.

9/13/2011 8:09:50 AM
Gravatar
Total Posts 18439

Re: In usercontrol Settings page does not opens

You've posted all kinds of errors in the last few days that mainly convince me you are doing strange things, using older versions of the source code to upgrade and probably have a mismatch of files and you've got yourself into a mess. I don't know how to help you out of such a mess because I don't know all the steps you took to get into it. 

database core schema needs upgrade.

When I see what you posted from the setup page where it says it needs to upgrade but it doesn't run any upgrade scripts it means the upgrade scripts are either missing on disk or the permissions don't allow reading them so it cannot run them. The upgrade scripts should exist on disk at /Setup/applications/[applicationname]/SchemUpgradeScripts/mssql/

for mojoPortal core the [applicationname] is mojoportal-core

also in regards to your previous posts, please don't post the same question more than once it does not help you get answers.

 

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