Multiple Sites produce Collection is Read Only Error

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.
3/5/2011 4:16:14 PM
Gravatar
Total Posts 11

Multiple Sites produce Collection is Read Only Error

In your documentation for multiple sites on a single host, you say it must run in fulltrust or it wont work properly.  Then you say if we get the 'Collection is Read Only Error, use mediuim trust.  I've switched to fulltrust web config, but am now getting 'Collection is Read Only' error.

What must I do to get multiple sites from a single installation working.  I'm using multiple host names, rather than multiple web sites to reduce resource usage.

Operating system of CyberHostPro is Microsoft Windows NT 6.1.7601 Service Pack 1

Database is MSSQL

Version is 2.3.5.5 MSSQL

Help!

Colin Begg

 

3/6/2011 5:48:07 AM
Gravatar
Total Posts 18439

Re: Multiple Sites produce Collection is Read Only Error

If your hosting is Medium Trust hosting, you cannot change it to Full Trust from Web.config. It does work the other way where if you are hosted in Full Trust you can set it to Medium Trust from web.config because that is more restrictive, but it will not let you configure it for less restrictive than what th ehost defines for trust level in machine.config.

The mojoPortal full trust web.config does not change it to full trust it just has the right settings for use with full trust.

The same is true of our main Web.config, it has the right configuration settings to work with medium trust but it does not control the trust level.

If you are hosted in medium trust you should not try to use the full trust web.config file

The main thing you need to support multiple sites by host name is a dedicated fixed ip address that you can point the host names to from your DNS management. If you can reach your site directly by using the ipp address instead of the host name then you know you have a dedicated ip and it should be able to work. Without  a dedicated ip address, it would require your host to create host headers on your site for the additional host names or they will never resolve to your site.

Hope it helps,

Joe

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