New deployment - cannot find skin 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.
1/28/2012 10:12:22 AM
Gravatar
Total Posts 18409

Re: New deployment - cannot find skin error

Hi Danny,

The problem is that you should not "publish". mojoPortal is a web application project type not a web site project, the packages on codeplex are already compiled and ready for deployment, they have no C# source code, re-publishing them messes it up.

When you open the deployment files in WebMatrix or VS its treating it like a web site project rather than a web app which is what the actual source code is. And when you publish it is further compiling it into a pre-compiled web site. The problem with that is that VirtualPathProviders do not work in pre-compiled web sites, therefore the VirtualPathProvider we use to map the the theme.skin file from the skin folder does not work and therefore skins don't work.

There is a kind of hacky way to solve that problem as discussed on this thread but, the hacky solution won't work in medium trust hosting which most hosts use.

To work with mojoPortal in Visual Studio it is best to get the source code rather than try to use the already compiled deployment packages for development.

Hope that helps,

Joe

1/28/2012 10:26:30 AM
Gravatar
Total Posts 9

Re: New deployment - cannot find skin error

Hi Joe

 

Thanks for the explanation, that explains everything!  I'll get the latest code and start again Smile

Thanks

Danny

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