New Mojoportal releases & the Web.Config file

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.
10/18/2012 9:53:45 AM
Gravatar
Total Posts 83
-- Joe

New Mojoportal releases & the Web.Config file

Should I always overwrite my Web.config file with the Web.Config file in the latest release?

If yes, do I always have to manually edit all my web.config files to <machineKey configSource="machineKey.config" /> ? 

Or is there a way to override this by placing the machineKey in the user.config? (which doesnt seem to work)

Thanks again for your time - and an outstanding CMS product!

-- Joe Vago

 

10/18/2012 9:58:37 AM
Gravatar
Total Posts 83
-- Joe

Re: New Mojoportal releases & the Web.Config file

To be more clear, I would like to place the setting

<machineKey configSource="machineKey.config" />

In the user config - and have it override the machineKey setting in the web.config.  But that doesnt work.

 

10/18/2012 10:00:28 AM
Gravatar
Total Posts 18439

Re: New Mojoportal releases & the Web.Config file

Yes, generally you should always use the new web.config

Unfortunately there is no way around the maintenance required for machine key, you will always need to do that manually to ensure the machine key never changes. user.config only works for the <appSettings section

Best,

Joe

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