Version upgrade from 2.3.6.2 to latest version

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.
4/17/2014 3:34:30 AM
Gravatar
Total Posts 1

Version upgrade from 2.3.6.2 to latest version

Hi,

I upgrade my present version 2.3.6.2 to latest version. But, I am getting the below issue while running the application. Please help me anyone about my issue.

Server Error in '/' Application.

Failed to map the path '/App_Themes/userpersonal1 /'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Failed to map the path '/App_Themes/userpersonal1 /'.

Source Error:
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:
 

[InvalidOperationException: Failed to map the path '/App_Themes/userpersonal1 /'.] System.Web.Configuration.ProcessHostServerConfig.System.Web.Configuration.IServerConfig.MapPath(IApplicationHost appHost, VirtualPath path) +12166925 System.Web.Hosting.MapPathBasedVirtualPathEnumerator..ctor(VirtualPath virtualPath, RequestedEntryType requestedEntryType) +285 System.Web.Hosting.MapPathBasedVirtualPathCollection.System.Collections.IEnumerable.GetEnumerator() +43 mojoPortal.Web.mojoThemeVirtualDirectory.BuildChildren() +157 mojoPortal.Web.mojoThemeVirtualDirectory..ctor(VirtualDirectory requestedDirectory) +246 mojoPortal.Web.mojoVirtualPathProvider.GetDirectory(String virtualDir) +110 System.Web.Hosting.VirtualPathProvider.GetDirectoryWithCheck(String virtualPath) +25 System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName) +688 System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName) +145 System.Web.UI.Page.PerformPreInit() +118 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1844

4/17/2014 8:07:54 AM
Gravatar
Total Posts 18439

Re: Version upgrade from 2.3.6.2 to latest version

"Failed to map the path '/App_Themes/userpersonal1 /'."

There is no such folder included with mojoPortal, mojoportal is designed to load the theme.skin file from the skin folder under /Data/Sites/[SiteID]/skins/[skinname], not from the /App_Themes folder that asp.net normally loads theme files from, and nothing in mojoPortal would tell it to try to load from there.

My best guess is that your site was previously running a forked version of mojoPortal that used that folder and now you broke it by upgrading because your custom code is gone now. 

Hopefully you backed up the site and database before upgrading so you can delete the files and restore the files and restore the database.

4/17/2014 8:24:13 AM
Gravatar
Total Posts 18439

Re: Version upgrade from 2.3.6.2 to latest version

only thing I can think to try is to create that folder

/App_Themes/userpersonal1/

and copy the theme.skin file from the skin folder into that folder

maybe that would get it past the error

if you can access the database, then look in the mp_Sites table, set AllowUserSkins to 0

and try changing to a different skin in the Skin filed to the name of a newer skin. You can copy the newer skins from /Data/skins into /Data/Sites/1/skins

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