Error changing skin

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/12/2010 6:38:08 AM
Gravatar
Total Posts 171
I am a Russian programmer

Error changing skin

Hi, Joe

At the time of the change of the skin was an error:

2010-02-12 14:15:50,078 ERROR mojoPortal.Web.UI.CmsPage - xx. xxx- Error setting master page. Will try settingto default skin
System.Web.HttpException: File '/Data/Sites/14/skins/layout.Master' not exist.
in System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
in System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
in System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
in System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
in System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
in System.Web.UI.Page.get_Master()
in mojoPortal.Web.UI.CmsPage.SetupMasterPage()
in mojoPortal.Web.UI.CmsPage.OnPreInit(EventArgs e)
 

2010-02-12 14:15:50,140 ERROR mojoPortal.Web.mojoThemeVirtualFile - Error trying to set theme
System.IO.FileNotFoundException: File "C:\D4\wwwroot\Data\Sites\14\skins\theme.skin" not found.
File name: "C:\D4\wwwroot\Data\Sites\14\skins\theme.skin"
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
in System.IO.File.OpenRead(String path)
in mojoPortal.Web.mojoThemeVirtualFile.Open()
 

I think that this could be a bug in the code, because:
1. After restart FireFox everything was perfect (I changed skin)
2. Paths specified in the error does not exist (14/skins/layout.Master') (meaning the system is not correctly identified the way)

 

Best regards, Alexander

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