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/3/2009 10:55:46 PM
Gravatar
Total Posts 5

Lyout not visible

I have installed a site on godaddy using the Medium Trust, MySql 5 and the latest version of MojoPortal.  The install went fine, all of the data is there and the sample pages show, but none of the layouts work, it is just a screen with the text and links.  I tried changing styles but nothing changed.  Any advise would be appreciated.

 

Dave

5/4/2009 6:47:01 AM
Gravatar
Total Posts 70

Re: Lyout not visible

There is an item on the FAQ page that I think will help you.

http://www.mojoportal.com/faq.aspx

Steve

5/4/2009 6:42:38 PM
Gravatar
Total Posts 5

Re: Lyout not visible

Thanks for the quick response, but I already checked that.  All of the skins are in the Data/Sites/1/skins folder, I can choose them for the listing in the site setup, just nothing happens, no layout, no css, links look like the normal link hypertext.

5/5/2009 8:40:11 AM
Gravatar
Total Posts 69

Re: Lyout not visible

I'm having the same problem. I have also followed the info in the FAQ article.

5/5/2009 8:53:59 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

The next step in diagnosis is to view the source of the rendered page and get the full url for the ...csshandler.ashx?... and paste it into the browser.

Do you see css or do you get and error?

Best,

Joe 

5/5/2009 8:57:20 AM
Gravatar
Total Posts 69

Re: Lyout not visible

http://**mydomain**.com/Data/Sites/1/skins/mitchinson-earthy-alt1/csshandler.ashx?skin=mitchinson-earthy-alt1

I got the following message:

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

5/5/2009 9:09:10 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

Ok, look in the log for the error. 

5/5/2009 9:13:15 AM
Gravatar
Total Posts 69

Re: Lyout not visible

there's no error listed in the log

5/5/2009 9:15:58 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

Then you have a folder permission issue going on and it can't write to the log. You need to make sure the /Data folder and all its children is both readable and writable by the web process user. If permissions are wrong perhaps it can't even read the files for the skins and css. 

 

5/5/2009 9:17:18 AM
Gravatar
Total Posts 18439

Re: Lyout not visible

You can also find the error if you change <customErrors mode="RemoteOnly" to <customErrors mode="Off" in Web.config and then check the url for the css handler again it should show the error.

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.