MojoPortal and certificates

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.
1/27/2015 10:15:44 AM
Gravatar
Total Posts 18439

Re: MojoPortal and certificates

ok, I've updated the patch with changes that I think should fix this

download it again and replace the mojoPortal.Web.dll in your /bin folder and see if it solves the problem

1/27/2015 12:02:28 PM
Gravatar
Total Posts 83

Re: MojoPortal and certificates

Great, it works! Good job!

Now I need to force https on all pages. The start page could go on regular http if possible. So I set the force all pages to SSL in settings but http is still working and it is not redirected?

1/27/2015 12:16:08 PM
Gravatar
Total Posts 18439

Re: MojoPortal and certificates

Setting "Require SSL on All Pages" to checked from site settings should work. I would check that setting again to make sure it stuck.

There is really no good reason to make your home page not use ssl, it is better to make the whole site use it.

1/27/2015 12:37:24 PM
Gravatar
Total Posts 83

Re: MojoPortal and certificates

Thanks, it did work now :)

There is only one problem left, the webpage is vary vary slow after the update. Every time I visit a new page it take about 2-3 min, next time I visit the same page it is down to 2-3 sec.

When looking at the Network tab in the Chrome Dev toolbox I can see that the aspx is taking almost all the time. The webpage was a lot faster before the update, any idea?

1/27/2015 12:59:37 PM
Gravatar
Total Posts 18439

Re: MojoPortal and certificates

nothing changed in recent versions of mojoPortal that would affect performance and there have not been any other reports of it being slower after upgrading. the last few releases have only been small maintenance updates.

slow startup is a very common issue with asp.net in general, the asp.net compiler has to compile all the .aspx, .ascx, and .resx files as it encounters the use of them in a request so when the files all get replaced during upgrades it has to do a lot of that. normally after visiting a page with each feature it should be warmed up and faster. all that compilation happens down below the windows folder in the temporary asp.net files

when the application has been shut down or restarted it also has to re-compile some things, for low traffic sites people sometimes use an external service to ping the pages of a site periodically to keep the application awake because by default IIS will shut down an application that has not received a web request in the past 20 minutes

you mentioned using the language pak, that adds a lot of resx files in the App_GlobalResources folder which is a lot more files to compile during startup. My advice is keep only the English files and the files for specific languages that you are targeting. Keep in mind also that adding or removing files from that folder forces it to recompile again and causes another temporary slow down.

another thing that can impact performance is if you have <compilation debug="true" in Web.config, that should always be false in production.

That is all I really know about that, but if you continue to have questions please use a new thread, this thread has already deviated way outside its original topic to a lot of tangential things.

1/28/2015 2:11:59 AM
Gravatar
Total Posts 83

Re: MojoPortal and certificates

Thanks for all your help!!

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