Features missing in production server

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/21/2009 8:07:04 AM
Gravatar
Total Posts 6

Features missing in production server

Hello, please help me out on installing mojoPortal features in production server.

The setup page displays that everything has been installed OK, but when I want to add a new page, the features dropdown list is empty and therefore can't add any page at all.

I am using version 2.3.3.2, MS SQL Server 2008, Windows 2008

Thanks for any help.

Edwin

 

 

12/21/2009 8:44:16 AM
Gravatar
Total Posts 550

Re: Features missing in production server

Hi Edwin ,

How you package your production files? and how you uploads them to your production server?

12/21/2009 9:05:13 AM
Gravatar
Total Posts 6

Re: Features missing in production server

Hi, thanks. I downloaded mojoPortal by way of SVN, then I made some local testing with VS 2008, then I built the solution in Release (MS SQL Server) mode, and then I zipped and uploaded the compiled binaries to the server with FileZilla. I don't know if I missed any other required building steps.

Thanks for any help.

Edwin 

12/21/2009 9:18:42 AM
Gravatar
Total Posts 550

Re: Features missing in production server

It seems you compile mojoportal-core.sln solution that contains only core features. To have all features you must compile mojoportal_mssql_only.sln if your database platform is MS SQL .

In your way you have more and more extra files in you package that not require for production.

The best way for deploying  is following the steps here.

12/21/2009 10:01:19 AM
Gravatar
Total Posts 18439

Re: Features missing in production server

You cannot use the Visual Studio Publish feature to produce a correct package with all the features.

I recommend use the free UnleashIt Tool.

Hope it helps,

Joe

12/21/2009 11:48:37 PM
Gravatar
Total Posts 6

Re: Features missing in production server

Thanks. The problem persists. I followed the step-by-step instructions described in http://www.mojoportal.com/deploymentfromwindows.aspx.

I made sure I was compiling mojoportal_mssql_only.sln. I deleted all files in production server, I used Unleash It to filter the files from the Release folder, uploaded them to the server, deleted the database and created a new one, hit /setup/Default.aspx, waited for all scripts to execute successfully. Then I logged in as Admin, and when attempting to add content to a page, the Feature dropdown list is just empty. So I can't select anything at all, and if I click "Create New Content" button, I get a JavaScript error message (Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500)

Why would something so essential fail to get configured correctly during setup anyway?

Thanks for any help.

12/22/2009 6:14:58 AM
Gravatar
Total Posts 18439

Re: Features missing in production server

When the first site is created it gets a flag in mp_Sites for "IsServerAdminSite", sites with this flag set to true automatically get configured with all installed features by the setup page. Additional sites created after that do not get that flag set to true and features must be added to those sites from the first site in site settings by choosing the child site and adding the features through the UI. So you might check that flag in the db and if it is 0 then change it to 1 and visit setup again.

I am not sure what you are doing but my builds work so I must conclude you are doing something differently. 

12/22/2009 12:52:21 PM
Gravatar
Total Posts 6

Re: Features missing in production server

Thanks Joe, I have tried everything you say. I've checked the IsServerAdminSite column in mp_Sites table, and it is set to True. And its SiteID is 1. Then I added a new site via Site Settings, and I could see a Features tab in that new site. I clicked the Features tab as instructed in http://www.mojoportal.com/muliplesites.aspx , but right there I found exactly the same problem: the "All Features" and "Selected Features" listboxes are both empty, so there is nothing to select from. Everything else in the Administration menu seems to working fine, except for this Features issue.

I don't know what else to try.

Thanks for any help.

12/22/2009 2:00:10 PM
Gravatar
Total Posts 550

Re: Features missing in production server

Hi Edwin,

Is there any record in mp_ModuleDefinitions table?.

12/22/2009 2:17:09 PM
Gravatar
Total Posts 6

Re: Features missing in production server

Thanks Asad, you got it. There are no records in mp_ModuleDefinitions table. Why did the setup scripts fail to configure that? Anyway, should I add the module definitions manually, or should I modify some configuration to activate them automatically?

Thanks for your help.

12/22/2009 2:19:47 PM
Gravatar
Total Posts 18439

Re: Features missing in production server

It sounds like the package you produced is missing a lot of files from under /Setup

you should compare the files in your package with my deployment zip files from the download page and see what is missing in yours and then figure out why they are missing from the way you produce a package.

You have not really told us step by step what you did to produce your package for deployment.

Hope it helps,

Joe

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