Posted by: dcb1101 - Monday, 1 April 2013 21:42:21 |
---|
I know the problem with the Daily Digest has been mentioned several times already. The last I heard (7 months ago) was that this would be fixed in the next version of YAF. Can someone PLEASE let us know how to fix this issue! Error In Creating Digest for User 11: Autofac.Core.DependencyResolutionException: No scope with a Tag matching 'Context' is visible from the scope in which the instance was requested. This generally indicates that a component registered as per-HTTP request is being reqested by a SingleInstance() component (or a similar scenario.) Under the web integration always request dependencies from the DependencyResolver.Current or ILifetimeScopeProvider.RequestLifetime, never from the container itself. at Autofac.Core.Lifetime.MatchingScopeLifetime.FindScope(ISharingLifetimeScope mostNestedVisibleScope) at Autofac.Core.Resolving.InstanceLookup..ctor(IComponentRegistration registration, IResolveOperation context, ISharingLifetimeScope mostNestedVisibleScope, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at YAF.Core.YafBaseContainerModule.b__a(IComponentContext k) at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.b__f(IComponentContext c, IEnumerable`1 p) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at YAF.Core.AutoFacServiceLocatorProvider.Get(Type serviceType) at YAF.Types.Interfaces.IServiceLocatorExtensions.Get[TService](IServiceLocator serviceLocator) at YAF.Types.Interfaces.IServiceLocatorExtensions.Get[TService](IHaveServiceLocator haveLocator) at YAF.Core.Services.YafDigest.GetDigestUrl(Int32 userId, Int32 boardId, Boolean showErrors) at YAF.Core.Services.YafDigest.GetDigestHtml(Int32 userId, Int32 boardId, Boolean showErrors) at YAF.Core.DigestSendTask.SendDigestToUsers(IEnumerable`1 usersWithDigest, Int32 boardId, String forumName) |
Posted by: Jaben - Wednesday, 3 April 2013 04:16:11 |
---|
IYes, this is fixed in 2.0.0 BETA1. I'll release that this weekend. |
Posted by: Jaben - Friday, 12 April 2013 03:44:54 |
---|
[quote=Jaben;59015]IYes, this is fixed in 2.0.0 BETA1. I'll release that this weekend.[/quote] Got involved in a house project (floors)... so it was delayed. Will attempt to do release ASAP. |
Posted by: billyba - Saturday, 18 May 2013 20:02:03 |
---|
Must we use a beta version, or is there a fix we can implement in current versions? I'm using YAF.NET Version: 1.9.6.1 Edit: I should mention that I use DNN 7.05 |
Posted by: billyba - Friday, 24 May 2013 05:38:20 |
---|
Any ideas? The Digest is a crucial feature of the forum! I really need it to work! I can send a test digest to any email, but only one at a time, so it's not really a viable option for the forum. I guess I could send a test email to myself, then use outlook to forward it to all the users BCC. Any better ideas? |
Posted by: tha_watcha - Friday, 24 May 2013 14:15:53 |
---|
[quote=billyba;59455]Must we use a beta version, or is there a fix we can implement in current versions? I'm using YAF.NET Version: 1.9.6.1 Edit: I should mention that I use DNN 7.05[/quote] I updated the DNN Module 1.9.6.1 Release. |
Posted by: billyba - Friday, 24 May 2013 17:40:01 |
---|
I'm confused. You updated it just now? Is it on codeplex? Because I am using 1.9.6.1 already and still have the same errors in my event log. |
Posted by: billyba - Friday, 24 May 2013 19:42:44 |
---|
Nevermind, I see the download on codeplex and will download and install it shortly! Thanks! |
Posted by: billyba - Saturday, 25 May 2013 07:55:13 |
---|
I downloaded your latest version from codeplex and successfully upgraded the module on DNN. However, when I tried to send the digest, the event log still gives the same errors: Error In Creating Digest for User 30: Autofac.Core.DependencyResolutionException: No scope with a Tag matching 'Context' is visible from the scope in which the instance was requested. This generally indicates that a component registered as per-HTTP request is being reqested by a SingleInstance() component (or a similar scenario.) Under the web integration always request dependencies from the DependencyResolver.Current or ILifetimeScopeProvider.RequestLifetime, never from the container itself. at Autofac.Core.Lifetime.MatchingScopeLifetime.FindScope(ISharingLifetimeScope mostNestedVisibleScope) at Autofac.Core.Resolving.InstanceLookup..ctor(IComponentRegistration registration, IResolveOperation context, ISharingLifetimeScope mostNestedVisibleScope, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at YAF.Core.YafBaseContainerModule.b__a(IComponentContext k) at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.b__f(IComponentContext c, IEnumerable`1 p) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at YAF.Core.AutoFacServiceLocatorProvider.Get(Type serviceType) at YAF.Types.Interfaces.IServiceLocatorExtensions.Get[TService](IServiceLocator serviceLocator) at YAF.Types.Interfaces.IServiceLocatorExtensions.Get[TService](IHaveServiceLocator haveLocator) at YAF.Core.Services.YafDigest.GetDigestUrl(Int32 userId, Int32 boardId, Boolean showErrors) at YAF.Core.Services.YafDigest.GetDigestHtml(Int32 userId, Int32 boardId, Boolean showErrors) at YAF.Core.DigestSendTask.SendDigestToUsers(IEnumerable`1 usersWithDigest, Int32 boardId, String forumName) Any other ideas? |
Posted by: tha_watcha - Saturday, 25 May 2013 11:40:11 |
---|
The Upgrade was not successfully. The Problem the dnn upgrade wizards checks if the version number is newer then installed dll files (which are in that case are the same) and skips the dlls if there are the same. You need to manually extract the *.dll files from the install package and copy them over to your dotnetnuke bin folder. |
Posted by: anakin - Saturday, 25 May 2013 13:23:33 |
---|
Hi guys, Can you also fix the non-DNN version? I get the same error, but I'm using the standard 1.9.6.1 build. This would really make my day if daily digests can be fixed. Thanks, Phil. |
Posted by: billyba - Saturday, 25 May 2013 21:38:36 |
---|
That worked! Thank you very much! |
Posted by: anakin - Friday, 31 May 2013 12:58:30 |
---|
What is the fix for those of us who are NOT running DNN? |
Posted by: billyba - Wednesday, 12 June 2013 04:50:05 |
---|
I only thought it worked. Sorry, I've been gone for awhile. Turns out that the digest still isn't sending out. However, no error is being left in the YAF log. When I check the portal log, I see the following General exception message: AssemblyVersion: 7.0.5 PortalID: 0 PortalName: Ask Other Attorneys UserID: -1 UserName: ActiveTabID: 56 ActiveTabName: Home RawURL: /DesktopModules/YetAnotherForumDotNet/resource.ashx?url=https%3a%2f%2fwww.askotherattorneys.com%2fPortals%2f_default%2fUsers%2f001%2f01%2f1%2fYafAvatar.jpg&width=150&height=150 AbsoluteURL: /DesktopModules/YetAnotherForumDotNet/resource.ashx AbsoluteURLReferrer: https://www.askotherattorneys.com/tabid/139/Ask-Other-Attorneys.aspx UserAgent: DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke ExceptionGUID: d9c52f95-51b0-44fa-9c83-6630a17f0707 InnerException: Unhandled Error: FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.Drawing.Bitmap..ctor StackTrace: Message: System.Exception: Unhandled Error: ---> System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(Stream stream) at YAF.YafResourceHandler.GetResponseRemoteAvatar(HttpContext context) at YAF.YafResourceHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace --- Source: Server Name: iis1100 So is there an Avatar issue causing this? Any help is appreciated! (It should be noted that the portal can send out other newsletters and things just fine). |
Posted by: billyba - Wednesday, 12 June 2013 05:04:19 |
---|
As a follow-up, I noticed that the Admin's avatar wasn't showing up. I re-applied the avatar, which then worked fine across the portal and YAF. When I tried to force the digest send, I got the same error above, and the avatar picture was broken again. So I believe there is something with the avatar causing the issue. |