Mobile Skin with Custom JQuery Theme Not Working

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
8/7/2013 12:23:41 PM
Gravatar
Total Posts 37

Re: Mobile Skin with Custom JQuery Theme Not Working

Hey Joe,

Here is the message I get in the log.  I cleared the log first and then hit the website from my phone:

2013-08-07 11:21:58,169 ERROR 70.196.192.86 - en-US - / - mojoPortal.Web.mojoBasePage - Error setting master page. Will try setting to default skin.en-US - 70.196.192.86 
System.Web.HttpParseException (0x80004005): Could not load file or assembly 'sts.MobileKit.Web' or one of its dependencies. The system cannot find the file specified. ---> System.Web.HttpParseException (0x80004005): Could not load file or assembly 'sts.MobileKit.Web' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'sts.MobileKit.Web' or one of its dependencies. The system cannot find the file specified.
File name: 'sts.MobileKit.Web'
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)
   at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)
   at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)
   at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.get_Master()
   at mojoPortal.Web.mojoBasePage.SetupMasterPage()
   at mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)
2013-08-07 11:21:58,169 ERROR 70.196.192.86 - en-US - / - mojoPortal.Web.UI.CmsPage - Content is assigned to altcontent1 placeholder but it does not exist in layout.master so using center. 
2013-08-07 11:21:58,184 ERROR 70.196.192.86 - en-US - / - mojoPortal.Web.UI.CmsPage - Content is assigned to altcontent2 placeholder but it does not exist in layout.master so using center. 

8/7/2013 12:25:57 PM
Gravatar
Total Posts 37

Re: Mobile Skin with Custom JQuery Theme Not Working

Thanks Isaac.  I originally had the MobileKitPro standard skin installed and it was the exact same.  It could be that a dll didn't get copied over correctly, but I did take a look in the bin and the MobileKitPro dll is in there and up to date as far as I can tell.  I appreciate the help!

8/7/2013 12:27:07 PM
Gravatar
Total Posts 18439

Re: Mobile Skin with Custom JQuery Theme Not Working

That error is saying the dll for mobile kit pro is not installed

sts.MobileKit.Web.dll needs to be in the /bin folder beneath the root of the site

Hope that helps,

Joe

8/7/2013 12:32:35 PM
Gravatar
Total Posts 37

Re: Mobile Skin with Custom JQuery Theme Not Working

Hey Joe,

Very strange??  I did check and the sts.MobileKit.Web.dll is in the bin folder at the root of the site.  I'm not sure why its not finding it?

8/7/2013 12:52:01 PM
Gravatar
Total Posts 18439

Re: Mobile Skin with Custom JQuery Theme Not Working

Did you upload it by ftp? I would try uploading it again. Also make sure you use the one for your .NET framework, ie if you use .NET 4 make sure you upload the .NET 4 version of the file.Then if it still doesn't work try checking the permission on the file and make sure it is readable by the user that is the identity on the application pool.

Are you sure the folder you think you are looking at is the intended site/installation or are you sure the folder that you think is the root is the actual root folder? The error is very specifically saying it cannot find the file:

"System.IO.FileNotFoundException: Could not load file or assembly 'sts.MobileKit.Web' or one of its dependencies. The system cannot find the file specified.
File name: 'sts.MobileKit.Web'"

Also make sure there are no extra copies of web.config file in any folders besides the root folder. Sometimes people back up that file to folders like /Data and it can cause weird problems

8/7/2013 1:22:35 PM
Gravatar
Total Posts 37

Re: Mobile Skin with Custom JQuery Theme Not Working

It was uploaded onto the server directly.  I just checked on the file and it has all the correct permissions.  Its also in the correct /bin folder.  I tried replacing it just to be sure, but its in the right spot.  We have some other items we purchased from you such as the Form Wizard Pro and the dll's for those are in the same place and are working fine.  

The only thing I'm not sure of is what .NET version we are running.  I'm not sure if the dll matches that version?  Also is there somewhere in the web.config file where it might be pointing to that dll in a different location?  We haven't changed any of those settings.

8/7/2013 1:32:56 PM
Gravatar
Total Posts 216
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Mobile Skin with Custom JQuery Theme Not Working

You can find out what version of .NET your mojoPortal installation is running by going to Administration -> System Information.

Considering that your desktop skin works fine, that will be the correct version of .NET that your server is running, so that's the version of the MobileKitPro files you'll need.

8/7/2013 1:38:40 PM
Gravatar
Total Posts 37

Re: Mobile Skin with Custom JQuery Theme Not Working

Thanks for the info Isaac, looks like we're running .NET version 4.  I'll check and see if we're running the correct mobile skin for that version.  

Thanks

8/7/2013 2:52:45 PM
Gravatar
Total Posts 18439

Re: Mobile Skin with Custom JQuery Theme Not Working

There is nothing in web.config that points to dlls but the presence of extra web.config files in other folders could possibly throw off where it expects the /bin folder to exist.

I've just emailed you a new copy of the dll to try. This one is compiled against the latest version of mojoPortal so maybe that will solve it, if so I'll update the package.

8/7/2013 2:54:05 PM
Gravatar
Total Posts 18439

Re: Mobile Skin with Custom JQuery Theme Not Working

The email I sent you just bounced back, can you contact me from another email address that will accept an attachment? I'm at joe dot audette a t g mail dotcom

8/7/2013 3:17:22 PM
Gravatar
Total Posts 37

Re: Mobile Skin with Custom JQuery Theme Not Working

Thanks Joe,

Just shot you an email from my personal address.  Sorry about that, our work email doesn't accept attachments anymore.  The personal address should though.  I appreciate the help and will try the dll after I receive it.  

So far I haven't found any other web.config files in the site, so I'm hoping the dll will be the fix.

Thanks     

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