YAFLogo

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago

Error 	Guest 	12/20/2010 3:29:24 AM 	ASP.default_aspx 	Hide | Delete

Autofac.Core.Registration.ComponentNotRegisteredException: The requested service 'YAF.Classes.Core.ThemeHandler' has not been registered.
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
   at YAF.Modules.MobileThemeModule.Current_AfterInit(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at YAF.Classes.Core.UserPageBase.InitUserAndPage()
   at YAF.Classes.Core.UserPageBase.get_Page()
   at YAF.Classes.Core.UserPageBase.PageValueAsInt(String field)
   at YAF.Classes.Core.UserPageBase.get_PageUserID()
   at YAF.Forum.Forum_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Warning 	System 	12/20/2010 3:29:24 AM 	Failure Initializing User/Page. 	Hide | Delete

Autofac.Core.Registration.ComponentNotRegisteredException: The requested service 'YAF.Classes.Core.ThemeHandler' has not been registered.
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
   at YAF.Modules.MobileThemeModule.Current_AfterInit(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at YAF.Classes.Core.UserPageBase.InitUserAndPage()

Warning 	System 	12/20/2010 3:29:24 AM 	Failure Initializing User/Page. 	Hide | Delete

Autofac.Core.Registration.ComponentNotRegisteredException: The requested service 'YAF.Classes.Core.ThemeHandler' has not been registered.
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
   at YAF.Modules.MobileThemeModule.Current_AfterInit(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at YAF.Classes.Core.UserPageBase.InitUserAndPage()

This series of errors appears in threes - two 'system' errors then a 'Guest' error when I have guests browsing -- I am working to reproduce the error at the moment on my own -- this is just from my system logs. I know there is not enough here to help you diagnose -- but we'll get started to reproduce so I can send more details then log into the bug-tracker.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Sponsor
squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
Taken from my Windows Event Logs:


Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 12/19/2010 11:22:57 PM 
Event time (UTC): 12/20/2010 4:22:57 AM 
Event ID: ee814eba73f44f37a9098b935a391774 
Event sequence: 5967 
Event occurrence: 69 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/7756/Root/forum-4-129372868929843750 
    Trust level: Full 
    Application Virtual Path: /forum 
    Application Path: C:\Plesk\VHOSTS\carnivalwarehouse.com\httpdocs\forum\ 
    Machine name: P2152527 
 
Process information: 
    Process ID: 7260 
    Process name: w3wp.exe 
    Account name: P2152527\IWPD_54(cwcom-ftp) 
 
Exception information: 
    Exception type: ComponentNotRegisteredException 
    Exception message: The requested service 'YAF.Classes.Core.ThemeHandler' has not been registered. 
 
Request information: 
    Request URL: http://www.carnivalwarehouse.com/forum/Default.aspx?g=info&i=7 
    Request path: /forum/Default.aspx 
    User host address: 74.199.102.74 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: P2152527\IWPD_54(cwcom-ftp) 
 
Thread information: 
    Thread ID: 9 
    Thread account name: P2152527\IWPD_54(cwcom-ftp) 
    Is impersonating: False 
    Stack trace:    at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
   at YAF.Modules.MobileThemeModule.Current_AfterInit(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at YAF.Classes.Core.UserPageBase.InitUserAndPage()
   at YAF.Classes.Core.UserPageBase.get_Page()
   at YAF.Classes.Core.UserPageBase.PageValueAsInt(String field)
   at YAF.Classes.Core.UserPageBase.get_PageUserID()
   at YAF.Forum.Forum_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Hope that helps in tracking this down -

YAF latest SVN

Windows Server 2003 / .NET 2.0/3.5 / SQLServer 2005 Express Edition


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
More tracing found that this error is being thrown when browsing via iPhone - tests with SafariPC, FireFox, IE8 all seem to be working -- seems this might be a mobile issue.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
Affecting Android as well -- seems to be a full mobile issue at this point.

Also affecting Mac users currently -- I have a member with iPhone, a PPC Mac and PC, and his PC connects with FireFox/Safari/IE but Mac and iPhone are now both striking out.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
14 years ago

Affecting Android as well -- seems to be a full mobile issue at this point.

Originally Posted by: squirrel 

Yes Confirmed, looks like not all Things are correctly Updated to IoC Container, this is way over my head, This can be only fixed by Jaben, until its fixed you should disable Mobile Themes.

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
How can I disable them? Is it possible by removing the theme itself from the Themes folder?
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
Got mobile themes disabled and error still being thrown to mobile clients as well as Mac/Safari clients. Headed to the bugtracker now.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
14 years ago

...as well as Mac/Safari clients.

Originally Posted by: squirrel 

This should be fixed in the latest code. As to mobile devices,

it can't be fixed right now by anyone but Jaben.

It's a new functionality in YAF and requires some investigation.

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago

...as well as Mac/Safari clients.

Originally Posted by: bbobb 

This should be fixed in the latest code. As to mobile devices,

it can't be fixed right now by anyone but Jaben.

It's a new functionality in YAF and requires some investigation.

Originally Posted by: squirrel 

Thanks for the update on that -- I ran a build last night to resolve IE issues and that's when the Mobiles and Macs broke -- I'll recheck the SVN tonight and see what's happening :)

Thanks guys for your responses - and your help!


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
14 years ago
I've looked into it. Mobile theme currently has multiple bugs and problems.

It has an outdated code which doesn't work.

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago

I've looked into it. Mobile theme currently has multiple bugs and problems.

It has an outdated code which doesn't work.

Originally Posted by: bbobb 

Gotchya -- You think it would be best to get on hold for a bit and see which way the updates go - I noticed you made some SVN changes and I ran a publish but haven't pushed it to our site just yet -- right now is one of our peak times for users and so I need to hold for a few hours till it calms down --


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
14 years ago
Try and add 3 DNA related assemblies removed in previous svn versions. It should help a bit :wink:

Update: I'm wrong. Better to wait until it will be wiped out.

Don't update, simply disable it. But mac problem should be solved in the latest code.

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
Will do -- I know they didn't cause issues on our site as it's a stand-alone app currently so shouldn't be conflicts - will have to try that -- just re-enabling them in web.config and re-upload the DLLs should cover it?
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
14 years ago
Re-enabled DNA but no change in the status -- still the same. I will do the SVN update here in a little bit and see what happens -- I saw some updates in the code having to do with user-agents and I bet that has something to do with what's going on. Don't know if you all are interested, but I have some strings and things I can add to useragents file to detect additional platforms if you wish to include them I'll do up the code and send it along --

Just saw your update -- didn't cause us any adverse effects that I saw but will pull them back out -- simple change to web.config :)

Thanks alot for your time on this -- with the SVN update handling the Mac issue that will get us by for the time being 🙂


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend