Lyout not visible

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.
5/5/2009 9:55:43 AM
Gravatar
Total Posts 69

Re: Lyout not visible

I now get this error:

Could not load file or assembly 'Brettle.Web.NeatUpload' or one of its dependencies

5/5/2009 10:01:07 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

If you are running in medium trust then you need to disable NeatUpload, otherwise make sure you uploaded all the files in the /bin folder and make sure you are using the latest Web.config

Hope it helps,

Joe

5/5/2009 10:11:28 AM
Gravatar
Total Posts 69

Re: Lyout not visible

I'm running in full trust and have just downloaded the whole package version 2.3.0.1 but still getting the same problem

5/5/2009 10:15:08 AM
Gravatar
Total Posts 69

Re: Lyout not visible

does it matter that the server is looking for web.config but the file is Web.config (upper case W)?

5/5/2009 10:56:18 AM
Gravatar
Total Posts 69

Re: Lyout not visible

ok, just noticed that I'm running on ASPNET 2.0 not 3.5 so I changed the comments to comment out the 3.5 section of Web.config and uncomment the 2.0 section.

Now I get this error

Parser Error Message: Unrecognized configuration section system.web.extensions/scripting/webServices/roleService.

 

5/5/2009 11:01:58 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

mojoPortal requires .NET 3.5 SP1. Its not just a matter of configuration. The last version to support 2.0 .NET was mojoPortal v 2.2.7.8.

Its currently still possible (though it becomes more and more difficult and soon won't be possible) for an advanced developer to produce their own build for 2.0 but official releases require 3.5.

Best,

Joe

5/5/2009 6:09:04 PM
Gravatar
Total Posts 5

Re: Lyout not visible

Checked permissions they are all read write, checked the .NET Framework version 3.5

went to the url for the stlye sheet, getting the following error;

[No relevant source lines]


Source File: \web.config Line: 728

5/6/2009 6:33:03 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

Hi dgordley,

That doesn't give me enough info to help. Is there any more detail in the mojoportal log at /Data/currentlog.config

You are running in medium trust, did you follow the medium trust instructions?

Best,

Joe

5/6/2009 6:31:57 PM
Gravatar
Total Posts 5

Re: Lyout not visible

Here is the error log from yesterday;

2009-05-05 16:04:09,421 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-05-05 16:04:43,562 INFO mojoPortal.Web.Global - Application Started.
2009-05-05 16:04:43,578 ERROR mojoPortal.Web.Global - Application_Start Could not register VirtualPathProvider, must be running in Medium trust or lower
System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)
at System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action)
at mojoPortal.Web.Global.RegisterVirtualPathProvider()
at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) in C:\MojoSource\mojoportal\Web\Global.asax.cs:line 69
The action that failed was:
InheritanceDemand
The type of the first permission that failed was:
System.Web.AspNetHostingPermission
The Zone of the assembly that failed was:
MyComputer
2009-05-05 18:42:14,583 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
 

I did follow the Medium trust instructions.

Strange thing, this is the parent site, I have 4 other Mojoportal sites running under it (Each with it's own DB and each as it's own site) and they work fine.

Thanks for your help.

Dave

5/7/2009 9:14:19 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

Hi Dave,

Nothing from your log gives me any clues to help. In medium trust it is expected to log that error every time the application starts so there is nothing unusual.

I would make sure you are running the same version of mojoportal in the root as you are in the 4 child sites. And when you upgrade always make sure to use the new Web.config and transfer any customizations to it, don't try to keep the old one as it may not have all the latest settings.

Best,

Joe

5/11/2009 4:35:46 AM
Gravatar
Total Posts 69

Re: Lyout not visible

mine's working now, I reinstalled and re-set the permissions.

thanks for your help

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