Closed possumdelight closed 1 year ago
Can you send me the package and dll versions installed?
Hi Lilith!
Is this what you need?
@.***
@.***
@.***
Charles A. Gregory
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.> Sent: Tuesday, September 27, 2022 4:00 PM To: imazen/resizer @.> Cc: Charles Gregory @.>; Author @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Can you send me the package and dll versions installed?
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1259984637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2LC3NH2GFU4EHWDDATWANG3RANCNFSM6AAAAAAQXDQLNE. You are receiving this because you authored the thread.Message ID: @.**@.>>
Lilith,
Thank you for your response. I don’t know if the images came through in my last reply.
All 3 NuGet Packages are 5.04 preview 1
ImageResizer ImageResizer.Plugins.HybridCache ImageResizer.WebConfig
The corresponding DLLs in the bin folder are all: 5.0.4.0
The dependency versions that I am assuming to be relevant are: Imazen.HybridCache: 0.7.6.0 Imzaen.Common: 0.7.7.0
Charles
From: Lilith River @.> Sent: Tuesday, September 27, 2022 4:00 PM To: imazen/resizer @.> Cc: Charles Gregory @.>; Author @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Can you send me the package and dll versions installed?
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1259984637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2LC3NH2GFU4EHWDDATWANG3RANCNFSM6AAAAAAQXDQLNE. You are receiving this because you authored the thread.Message ID: @.**@.>>
The full error message: Server Error in '/' Application.
Type provided must be an Enum. Parameter name: enumType 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.ArgumentException: Type provided must be an Enum. Parameter name: enumType
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:
[ArgumentException: Type provided must be an Enum. Parameter name: enumType] System.RuntimeType.GetEnumNames() +14360623 ImageResizer.Configuration.Config.get(String selector, T defaultValue) +239 ImageResizer.Plugins.HybridCache.HybridCachePlugin.LoadSettings(Config c) +107 ImageResizer.Plugins.HybridCache.HybridCachePlugin.Install(Config c) +36 ImageResizer.Configuration.PluginConfig.loadPluginsInternal() +258 ImageResizer.Configuration.PluginConfig.LoadPlugins() +78 ImageResizer.Configuration.Config..ctor(ResizerSection config, Boolean addAspNetPlugins) +602 ImageResizer.Configuration.Config.get_Current() +171 ImageResizer.AsyncInterceptModule.Init(HttpApplication context) +222 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +584 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
[HttpException (0x80004005): Type provided must be an Enum. Parameter name: enumType] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Charles
From: Charles Gregory Sent: Tuesday, September 27, 2022 4:10 PM To: 'imazen/resizer' @.>; imazen/resizer @.> Cc: Author @.***> Subject: RE: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Hi Lilith!
Is this what you need?
@.***
@.***
@.***
Charles A. Gregory “If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.**@.>> Sent: Tuesday, September 27, 2022 4:00 PM To: imazen/resizer @.**@.>> Cc: Charles Gregory @.**@.>>; Author @.**@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Can you send me the package and dll versions installed?
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1259984637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2LC3NH2GFU4EHWDDATWANG3RANCNFSM6AAAAAAQXDQLNE. You are receiving this because you authored the thread.Message ID: @.**@.>>
Can you send me the
On Tue, Sep 27, 2022, 2:24 PM possumdelight @.***> wrote:
The full error message: Server Error in '/' Application.
Type provided must be an Enum. Parameter name: enumType 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.ArgumentException: Type provided must be an Enum. Parameter name: enumType
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:
[ArgumentException: Type provided must be an Enum. Parameter name: enumType] System.RuntimeType.GetEnumNames() +14360623 ImageResizer.Configuration.Config.get(String selector, T defaultValue) +239 ImageResizer.Plugins.HybridCache.HybridCachePlugin.LoadSettings(Config c) +107 ImageResizer.Plugins.HybridCache.HybridCachePlugin.Install(Config c) +36 ImageResizer.Configuration.PluginConfig.loadPluginsInternal() +258 ImageResizer.Configuration.PluginConfig.LoadPlugins() +78 ImageResizer.Configuration.Config..ctor(ResizerSection config, Boolean addAspNetPlugins) +602 ImageResizer.Configuration.Config.get_Current() +171 ImageResizer.AsyncInterceptModule.Init(HttpApplication context) +222 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +584 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
[HttpException (0x80004005): Type provided must be an Enum. Parameter name: enumType] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Charles
From: Charles Gregory Sent: Tuesday, September 27, 2022 4:10 PM To: 'imazen/resizer' @.>; imazen/resizer @.> Cc: Author @.***> Subject: RE: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Hi Lilith!
Is this what you need?
@.***
@.***
@.***
Charles A. Gregory “If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.**@.>> Sent: Tuesday, September 27, 2022 4:00 PM To: imazen/resizer @.**@.>> Cc: Charles Gregory @.**@.>>; Author @.**@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Can you send me the package and dll versions installed?
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1259984637>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2LC3NH2GFU4EHWDDATWANG3RANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you authored the thread.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1260008089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH7URD754CV3ARMH2CTWANJYXANCNFSM6AAAAAAQXDQLNE . You are receiving this because you commented.Message ID: @.***>
Hi lilith!
I'm confused, you closed the issue; is it supposed to be resolved? I upgraded all 3 components to 5.0.5 preview 2 and still have the same problem.
Thank you so much!
Kind Regards,
Charles
That's weird, it fixed it on my end. Can you paste the new stack trace here, or zip and email a project to me at lilith@imazen.io?
Server Error in '/' Application.
Type provided must be an Enum. Parameter name: enumType 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.ArgumentException: Type provided must be an Enum. Parameter name: enumType
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:
[ArgumentException: Type provided must be an Enum. Parameter name: enumType] System.RuntimeType.GetEnumNames() +14360623 ImageResizer.Configuration.Config.get(String selector, T defaultValue) +239 ImageResizer.Plugins.HybridCache.HybridCachePlugin.LoadSettings(Config c) +118 ImageResizer.Plugins.HybridCache.HybridCachePlugin.Install(Config c) +35 ImageResizer.Configuration.PluginConfig.loadPluginsInternal() +258 ImageResizer.Configuration.PluginConfig.LoadPlugins() +78 ImageResizer.Configuration.Config..ctor(ResizerSection config, Boolean addAspNetPlugins) +602 ImageResizer.Configuration.Config.get_Current() +171 ImageResizer.AsyncInterceptModule.Init(HttpApplication context) +222 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +584 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
[HttpException (0x80004005): Type provided must be an Enum. Parameter name: enumType] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Charles
-------- Original message -------- From: Lilith River @.> Date: 10/5/22 11:43 AM (GMT-05:00) To: imazen/resizer @.> Cc: Charles Gregory @.>, Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
That's weird, it fixed it on my end. Can you paste the new stack trace here, or zip and email a project to me at @.**@.>?
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1268610833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2OU5AR2VYQV2TYIH2TWBWOYRANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.***>
This is under
<section name="resizer" type="ImageResizer.ResizerSection" requirePermission="false" /></configSections>
This is the resizer section closer to the bottom:
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\Temp" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Charles
From: Lilith River @.> Sent: Tuesday, September 27, 2022 4:32 PM To: imazen/resizer @.> Cc: Charles Gregory @.>; Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Can you send me the
On Tue, Sep 27, 2022, 2:24 PM possumdelight @.<mailto:@.>> wrote:
The full error message: Server Error in '/' Application.
Type provided must be an Enum. Parameter name: enumType 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.ArgumentException: Type provided must be an Enum. Parameter name: enumType
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:
[ArgumentException: Type provided must be an Enum. Parameter name: enumType] System.RuntimeType.GetEnumNames() +14360623 ImageResizer.Configuration.Config.get(String selector, T defaultValue) +239 ImageResizer.Plugins.HybridCache.HybridCachePlugin.LoadSettings(Config c) +107 ImageResizer.Plugins.HybridCache.HybridCachePlugin.Install(Config c) +36 ImageResizer.Configuration.PluginConfig.loadPluginsInternal() +258 ImageResizer.Configuration.PluginConfig.LoadPlugins() +78 ImageResizer.Configuration.Config..ctor(ResizerSection config, Boolean addAspNetPlugins) +602 ImageResizer.Configuration.Config.get_Current() +171 ImageResizer.AsyncInterceptModule.Init(HttpApplication context) +222 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +584 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
[HttpException (0x80004005): Type provided must be an Enum. Parameter name: enumType] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Charles
From: Charles Gregory Sent: Tuesday, September 27, 2022 4:10 PM To: 'imazen/resizer' @.<mailto:@.>>; imazen/resizer @.<mailto:@.>> Cc: Author @.<mailto:@.>> Subject: RE: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Hi Lilith!
Is this what you need?
@.<mailto:@.>
@.<mailto:@.>
@.<mailto:@.>
Charles A. Gregory “If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.**@.mailto:***@***.******@***.***>> Sent: Tuesday, September 27, 2022 4:00 PM To: imazen/resizer @.**@.mailto:***@***.******@***.***>> Cc: Charles Gregory @.**@.mailto:***@***.******@***.***>>; Author @.**@.mailto:***@***.******@***.***>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Can you send me the package and dll versions installed?
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1259984637>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2LC3NH2GFU4EHWDDATWANG3RANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you authored the thread.Message ID: @.**@.mailto:***@***.******@***.***>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1260008089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH7URD754CV3ARMH2CTWANJYXANCNFSM6AAAAAAQXDQLNE . You are receiving this because you commented.Message ID: @.<mailto:@.>>
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1260015079, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2KG2IBKW4RKLWDPDSTWANKU5ANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.**@.>>
Thank you; I was able to reproduce the issue and release a few patches, can you try 5.0.7?
Hi!
Thank you for responding. I tried the latest and get this message:
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running]
ImageResizer.Plugins.HybridCache.
Here is my Web.Cofig section:
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\Temp" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Charles
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.> Sent: Saturday, October 15, 2022 7:10 PM To: imazen/resizer @.> Cc: Charles Gregory @.>; Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Thank you; I was able to reproduce the issue and release a few patches, can you try 5.0.7?
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1279848677, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2IHLREA7Q4ZLT3K7ZTWDM2VDANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.**@.>>
Does C:\Temp have the right permissions? I would suggest a unique subfolder since other apps also use that folder and it's going to be a disaster.
On Mon, Oct 17, 2022, 1:58 PM possumdelight @.***> wrote:
Hi!
Thank you for responding. I tried the latest and get this message:
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running] ImageResizer.Plugins.HybridCache.
d17.MoveNext() +249 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer. d 7.MoveNext() +1865 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer.d__6.MoveNext() +1777 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134 Here is my Web.Cofig section:
Charles
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.> Sent: Saturday, October 15, 2022 7:10 PM To: imazen/resizer @.> Cc: Charles Gregory @.>; Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Thank you; I was able to reproduce the issue and release a few patches, can you try 5.0.7?
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1279848677>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2IHLREA7Q4ZLT3K7ZTWDM2VDANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you commented.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1281405925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH2BZ6IEDPICBUXJ7TLWDWVWHANCNFSM6AAAAAAQXDQLNE . You are receiving this because you modified the open/close state.Message ID: @.***>
Hmm… same thing. I changed directories and granted Everyone full control.
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running]
ImageResizer.Plugins.HybridCache.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\HybridCache\" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Charles A. Gregory CEO Possumdelight Technologies @.**@.> (678) 778-7200
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.> Sent: Monday, October 17, 2022 4:01 PM To: imazen/resizer @.> Cc: Charles Gregory @.>; Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Does C:\Temp have the right permissions? I would suggest a unique subfolder since other apps also use that folder and it's going to be a disaster.
On Mon, Oct 17, 2022, 1:58 PM possumdelight @.<mailto:@.>> wrote:
Hi!
Thank you for responding. I tried the latest and get this message:
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running] ImageResizer.Plugins.HybridCache.
d17.MoveNext() +249 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer. d 7.MoveNext() +1865 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer.d__6.MoveNext() +1777 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134 Here is my Web.Cofig section:
Charles
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.<mailto:@.>> Sent: Saturday, October 15, 2022 7:10 PM To: imazen/resizer @.<mailto:@.>> Cc: Charles Gregory @.<mailto:@.>>; Comment @.<mailto:@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Thank you; I was able to reproduce the issue and release a few patches, can you try 5.0.7?
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1279848677>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2IHLREA7Q4ZLT3K7ZTWDM2VDANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you commented.Message ID: @.**@.mailto:***@***.******@***.***>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1281405925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH2BZ6IEDPICBUXJ7TLWDWVWHANCNFSM6AAAAAAQXDQLNE . You are receiving this because you modified the open/close state.Message ID: @.<mailto:@.>>
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1281408084, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2NKRQVWFUHKHXDX5BTWDWV6BANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.**@.>>
Hi there!
Any more thoughts on this? The permissions on “C:\HybridCache\” include Everyone (Full Control)
Thank you so much!
Charles
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\HybridCache\" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running]
ImageResizer.Plugins.HybridCache.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Charles
From: Charles Gregory Sent: Monday, October 17, 2022 5:13 PM To: 'imazen/resizer' @.>; imazen/resizer @.> Cc: Comment @.***> Subject: RE: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Hmm… same thing. I changed directories and granted Everyone full control.
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running]
ImageResizer.Plugins.HybridCache.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\HybridCache\" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Charles A. Gregory CEO Possumdelight Technologies @.**@.> (678) 778-7200
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.**@.>> Sent: Monday, October 17, 2022 4:01 PM To: imazen/resizer @.**@.>> Cc: Charles Gregory @.**@.>>; Comment @.**@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Does C:\Temp have the right permissions? I would suggest a unique subfolder since other apps also use that folder and it's going to be a disaster.
On Mon, Oct 17, 2022, 1:58 PM possumdelight @.<mailto:@.>> wrote:
Hi!
Thank you for responding. I tried the latest and get this message:
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running] ImageResizer.Plugins.HybridCache.
d17.MoveNext() +249 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer. d 7.MoveNext() +1865 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer.d__6.MoveNext() +1777 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134 Here is my Web.Cofig section:
Charles
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.<mailto:@.>> Sent: Saturday, October 15, 2022 7:10 PM To: imazen/resizer @.<mailto:@.>> Cc: Charles Gregory @.<mailto:@.>>; Comment @.<mailto:@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Thank you; I was able to reproduce the issue and release a few patches, can you try 5.0.7?
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1279848677>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2IHLREA7Q4ZLT3K7ZTWDM2VDANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you commented.Message ID: @.**@.mailto:***@***.******@***.***>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1281405925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH2BZ6IEDPICBUXJ7TLWDWVWHANCNFSM6AAAAAAQXDQLNE . You are receiving this because you modified the open/close state.Message ID: @.<mailto:@.>>
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1281408084, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2NKRQVWFUHKHXDX5BTWDWV6BANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.**@.>>
More information in case it is useful:
Latest Web.config (minor changes based on recent updates you made to your github page):
<resizer>
<hybridCache cacheLocation="C:\HybridCache\" cacheSizeMb="1000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
/resizer.debug:
You are using ImageResizer Essential Edition plugins.
0 issues detected:
Configuration:
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder ImageResizer.Plugins.Basic.NoCache ImageResizer.Plugins.Basic.ClientCache ImageResizer.Plugins.Basic.WebConfigLicenseReader ImageResizer.Plugins.Basic.Diagnostic ImageResizer.Plugins.Basic.SizeLimiting ImageResizer.Plugins.Basic.MvcRoutingShimPlugin ImageResizer.Plugins.Basic.LicenseDisplay ImageResizer.Plugins.HybridCache.HybridCachePlugin
Accepted querystring keys:
quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, crop, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, frame, useresizingpipeline, cache, process, margin, dpi, zoom, autorotate
Accepted file extensions:
bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi
Environment information:
Running Microsoft-IIS/10.0 on Microsoft Windows NT 10.0.20348.0 and CLR 4.0.30319.42000 Trust level: Unrestricted OS bitness: AMD64 Executing assembly: c:\windows\system32\inetsrv\w3wp.exe IntegratedPipeline: True
Installed HttpModules:
System.Web.Caching.OutputCacheModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key OutputCache) System.Web.SessionState.SessionStateModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key Session) System.Web.Security.WindowsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key WindowsAuthentication) System.Web.Security.FormsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key FormsAuthentication) System.Web.Security.DefaultAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key DefaultAuthentication) System.Web.Security.RoleManagerModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key RoleManager) System.Web.Security.UrlAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key UrlAuthorization) System.Web.Security.FileAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key FileAuthorization) System.Web.Security.AnonymousIdentificationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key AnonymousIdentification) System.Web.Profile.ProfileModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key Profile) System.Web.UrlMappingsModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key UrlMappingsModule) System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key UrlRoutingModule-4.0) System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key ScriptModule-4.0) ImageResizer.InterceptModule, ImageResizer, Version=5.0.7.0, Culture=neutral, PublicKeyToken=null (under key ImageResizingModule) System.Web.WebPages.WebPageHttpModule, System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key DynamicModule_System.Web.WebPages.WebPageHttpModule, System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_139c933e-3be8-4446-816d-7737d7e2cdb4) System.Web.Optimization.BundleModule, System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key DynamicModule_System.Web.Optimization.BundleModule, System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_5f42d708-b9a4-4288-8259-1bf740ab8f5a) WebActivatorEx.ActivationManager+StartMethodCallingModule, WebActivatorEx, Version=2.0.0.0, Culture=neutral, PublicKeyToken=7b26dc2a43f6a0d4 (under key __DynamicModule_WebActivatorEx.ActivationManager+StartMethodCallingModule, WebActivatorEx, Version=2.0.0.0, Culture=neutral, PublicKeyToken=7b26dc2a43f6a0d4_d8b08d34-fa28-4a60-84c2-98a1151de1dc)
Loaded assemblies:
mscorlib File: 4.8.4515.0 (4.0.0.0) Informational: 4.8.4515.0 System.Web File: 4.8.4494.0 (4.0.0.0) Informational: 4.8.4494.0 System.Configuration File: 4.8.4380.0 (4.0.0.0) Informational: 4.8.4380.0 System File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.Xml File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Runtime.Caching File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Core File: 4.8.4566.0 (4.0.0.0) Informational: 4.8.4566.0 Microsoft.Build.Utilities.v4.0 File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.RegularExpressions File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Design File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Drawing File: 4.8.4390.0 (4.0.0.0) Informational: 4.8.4390.0 Microsoft.JScript File: 14.8.4161.0 (10.0.0.0) Informational: 14.8.4161.0 Microsoft.CodeDom.Providers.DotNetCompilerPlatform File: 2.0.50905.0 (2.0.1.0) Informational: 2.0.1-50905 System.Web.Mvc File: 5.2.61128.0 (5.2.7.0) Informational: 5.2.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.Optimization File: 1.1.40211.0 (1.1.0.0) Informational: WebActivatorEx File: 2.2.0 (2.0.0.0) Informational: System.Web.WebPages.Razor File: 3.0.61128.0 (3.0.0.0) Informational: 3.0.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.WebPages.Deployment File: 3.0.61128.0 (3.0.0.0) Informational: 3.0.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.WebPages File: 3.0.61128.0 (3.0.0.0) Informational: 3.0.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) Microsoft.Web.Infrastructure File: 1.0.20105.407 (1.0.0.0) Informational: AngleSharp File: 0.9.9 (0.9.9.0) Informational: 0.9.9 Antlr3.Runtime File: 3.5.0.2 (3.5.0.2) Informational: BouncyCastle.Crypto File: 1.8.5.50 (1.8.5.0) Informational: 1.8.5+7c84121dcd CsQuery File: (1.3.3.249) Informational: DataAnnotationsExtensions.ClientValidation File: (5.0.1.27) Informational: DataAnnotationsExtensions File: (5.0.1.27) Informational: DocumentFormat.OpenXml File: 2.9.1.2 (2.9.1.0) Informational: 2.9.1+Branch.master.Sha.2157ec80c9bb08192bfd234393dabf47d895af32 EntityFramework File: 6.2.61023.0 (6.0.0.0) Informational: 6.2.0-61023 EntityFramework.SqlServer File: 6.2.61023.0 (6.0.0.0) Informational: 6.2.0-61023 Imageflow.Net File: 0.9.0.236 (0.0.0.0) Informational: v0.9.0-0-g63a0939+63a0939227e374aef686300eee05a7c8f65beb44 ImageResizer File: 5.0.7.0 (5.0.7.0) Informational: 5.0.7-preview-04+8f7e340d3bd6a6b9e6ddb5d8eb04b7b0a2bd1b81 ImageResizer.Plugins.HybridCache File: 5.0.7.0 (5.0.7.0) Informational: 5.0.7-preview-04+8f7e340d3bd6a6b9e6ddb5d8eb04b7b0a2bd1b81 Imazen.Common File: 0.7.7.0 (0.7.7.0) Informational: 0.7.7+fde3ec434d6d0b255d278a352c271900548340e2 Imazen.HybridCache File: 0.7.7.0 (0.7.7.0) Informational: 0.7.7+fde3ec434d6d0b255d278a352c271900548340e2 Microsoft.AnalysisServices.AdomdClient File: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 ) (10.0.0.0) Informational: 10.50.4000.0 Microsoft.Extensions.Configuration.Abstractions File: 2.2.0.18315 (2.2.0.0) Informational: 2.2.0-rtm-181110-01+pb-20181110-02 Microsoft.Extensions.DependencyInjection.Abstractions File: 2.2.0.18315 (2.2.0.0) Informational: 2.2.0-rtm-181110-01+pb-20181110-02 Microsoft.Extensions.FileProviders.Abstractions File: 2.2.0.18315 (2.2.0.0) Informational: 2.2.0-rtm-181110-01+pb-20181110-02 Microsoft.Extensions.Hosting.Abstractions File: 2.2.0.18316 (2.2.0.0) Informational: 2.2.0-rtm-35687 Microsoft.Extensions.Logging.Abstractions File: 2.2.0.18315 (2.2.0.0) Informational: 2.2.0-rtm-181110-01+pb-20181110-02 Microsoft.Extensions.Primitives File: 2.2.0.18315 (2.2.0.0) Informational: 2.2.0-rtm-181110-01+pb-20181110-02 Microsoft.IO.RecyclableMemoryStream File: 1.2.2.0 (1.2.2.0) Informational: Newtonsoft.Json File: 12.0.2.23222 (12.0.0.0) Informational: 12.0.2+4ab34b0461fb595805d092a46a58f35f66c84d6a Postal File: 1.0.0.0 (1.0.0.0) Informational: PreMailer.Net File: 2.0.1.0 (2.0.1.0) Informational: 2.0.1 RazorEngine File: 3.10.0 (3.10.0.0) Informational: 3.10.0 System.Buffers File: 4.6.28619.01 (4.0.3.0) Informational: 4.6.28619.01 @BuiltBy: dlab14-DDVSOWINAGE069 @Branch: release/2.1 @SrcCode: https://github.com/dotnet/corefx/tree/7601f4f6225089ffb291dc7d58293c7bbf5c5d4f System.Diagnostics.DiagnosticSource File: 4.6.26919.02 (4.0.3.1) Informational: 4.6.26919.02 @BuiltBy: dlab14-DDVSOWINAGE075 @Branch: release/2.1 @SrcCode: https://github.com/dotnet/corefx/tree/02b11eeee1fbc5f3ef43a1452fe07efd25fa1715 System.IO.Packaging File: 4.6.26515.06 (4.0.3.0) Informational: 4.6.26515.06 @BuiltBy: dlab-DDVSOWINAGE059 @Branch: release/2.1 @SrcCode: https://github.com/dotnet/corefx/tree/30ab651fcb4354552bd4891619a0bdd81e0ebdbf System.Memory File: 4.6.26606.05 (4.0.1.0) Informational: 4.6.26606.05 @BuiltBy: dlab14-DDVSOWINAGE080 @Branch: release/2.1 @SrcCode: https://github.com/dotnet/corefx/tree/7ee84596d92e178bce54c986df31ccc52479e772 System.Net.Http.Formatting File: 5.2.61128.0 (5.2.7.0) Informational: 5.2.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Numerics.Vectors File: 4.6.25519.03 (4.1.3.0) Informational: 4.6.25519.03 built by: dlab-DDVSOWINAGE013. Commit Hash: 8321c729934c0f8be754953439b88e6e1c120c24 System.Runtime.CompilerServices.Unsafe File: 4.0.0.0 (4.0.4.1) Informational: 4.0.0.0 System.Runtime File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Runtime.Extensions File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Text.Encoding.CodePages File: 4.6.27129.04 (4.1.1.0) Informational: 4.6.27129.04 @BuiltBy: dlab14-DDVSOWINAGE083 @Branch: release/2.1-MSRC @SrcCode: https://github.com/dotnet/corefx/tree/99ce22c306b07f99ddae60f443d23a983ae78f7b System.Text.RegularExpressions File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.Abstractions File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.Helpers File: 3.0.61128.0 (3.0.0.0) Informational: 3.0.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.Http File: 5.2.61128.0 (5.2.7.0) Informational: 5.2.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.Http.WebHost File: 5.2.61128.0 (5.2.7.0) Informational: 5.2.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.Razor File: 3.0.61128.0 (3.0.0.0) Informational: 3.0.7-61128 (39d3064baf13181f5718ec5d85ba644b47d0704b) System.Web.Routing File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 Telerik.Reporting File: 16.0.22.225 (16.0.22.225) Informational: Telerik.Reporting.OpenXmlRendering.2.7.2 File: 16.0.22.225 (16.0.22.225) Informational: 16.0.22.225 R1 2022 SP1 Telerik.Reporting.Services.WebApi File: 16.0.22.225 (16.0.22.225) Informational: Telerik.Reporting.XpsRendering File: 16.0.22.225 (16.0.22.225) Informational: Telerik.ReportViewer.Mvc File: 16.0.22.225 (16.0.22.225) Informational: 16.0.22.225 R1 2022 SP1 Telerik.ReportViewer.WinForms File: 16.0.22.225 (16.0.22.225) Informational: Telerik.Web.Spreadsheet File: 2022.1.302.40 (2022.1.302.40) Informational: 2022.1.302.40 Telerik.Web.UI File: 2022.1.302.45 (2022.1.302.45) Informational: Telerik.Web.UI.Skins File: 2022.1.302.45 (2022.1.302.45) Informational: Telerik.Windows.Documents.Core File: 2022.1.217.40 (2022.1.217.40) Informational: Telerik.Windows.Documents.Flow File: 2022.1.217.40 (2022.1.217.40) Informational: Telerik.Windows.Documents.Spreadsheet File: 2022.1.217.40 (2022.1.217.40) Informational: Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml File: 2022.1.217.40 (2022.1.217.40) Informational: Telerik.Windows.Zip File: 2022.1.217.40 (2022.1.217.40) Informational: TheApartmentGroup File: 1.0.0.0 (1.0.0.0) Informational: WebGrease File: (1.6.5135.21930) Informational: WebPush File: 1.0.11.0 (1.0.11.0) Informational: 1.0.11 netstandard File: 4.8.4161.0 (2.0.0.0) Informational: 4.8.4161.0 System.Xaml File: 4.8.4566.0 (4.0.0.0) Informational: 4.8.4566.0 Microsoft.CSharp File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Data File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.Web.Services File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.EnterpriseServices File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.IdentityModel File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.Runtime.Serialization File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.ServiceModel File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.ServiceModel.Activation File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.ServiceModel.Web File: 4.8.4380.0 (4.0.0.0) Informational: 4.8.4380.0 System.Activities File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.ServiceModel.Activities File: 4.8.4380.0 (4.0.0.0) Informational: 4.8.4380.0 System.WorkflowServices File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.Extensions File: 4.8.4494.0 (4.0.0.0) Informational: 4.8.4494.0 System.Data.DataSetExtensions File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Xml.Linq File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.ComponentModel.DataAnnotations File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.DynamicData File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.ApplicationServices File: 4.8.4494.0 (4.0.0.0) Informational: 4.8.4494.0 System.Data.Services.Design File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 App_global.asax.ln6ycwzc File: (0.0.0.0) Informational: Microsoft.VisualBasic File: (10.0.0.0) Informational: System.Net.Http File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 SMDiagnostics File: 4.8.4536.0 (4.0.0.0) Informational: 4.8.4536.0 System.Data.Linq File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Transactions File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Numerics File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 System.Web.Mobile File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 Anonymously Hosted DynamicMethods Assembly File: (0.0.0.0) Informational: System.Data.OracleClient File: 4.8.4161.0 (4.0.0.0) Informational: 4.8.4161.0 EntityFrameworkDynamicProxies-TheApartmentGroup File: (1.0.0.0) Informational: App_Web_listings.vbhtml.cc12aa8.a6bwpysv File: (0.0.0.0) Informational: App_Web_n4awqyit File: (0.0.0.0) Informational: App_Web_search.vbhtml.cc12aa8.au2xjjvx File: (0.0.0.0) Informational: App_Web_search_results.vbhtml.cc12aa8.8uqmxrjq File: (0.0.0.0) Informational: App_Web_aofbxzkc File: (0.0.0.0) Informational: App_Web_lm2gc2cq File: (0.0.0.0) Informational: App_Web_botnr4dh File: (0.0.0.0) Informational:
When fetching a remote license file (if you have one), the following information is sent via the querystring. license_id [integer] manager_id [guid] total_heartbeats [integer] new_heartbeats [integer] first_heartbeat [integer] reporting_version 4 proc_64 1 proc_guid Myh-YQlH3U-byf_gRn86AA proc_sys_dotnet 4.7 or later proc_iis 10.0 proc_integrated_pipeline 1 proc_id_hash FkrCQCox proc_asyncmodule 1 proc_default_commands proc_working_set_mb 312 proc_git_commit proc_info_version 5.0.7-preview-04+8f7e340d3bd6a6b9e6ddb5d8eb04b7b0a2bd1b81 proc_file_version 5.0.7.0 proc_apppath_hash 4zApbLhZ mod .Caching.OutputCacheModule mod .SessionState.SessionStateModule mod .WindowsAuthenticationModule mod .FormsAuthenticationModule mod .DefaultAuthenticationModule mod .RoleManagerModule mod .UrlAuthorizationModule mod .FileAuthorizationModule mod .AnonymousIdentificationModule mod .Profile.ProfileModule mod .UrlMappingsModule mod .Routing.UrlRoutingModule mod .Handlers.ScriptModule mod ImageResizer.InterceptModule mod .WebPages.WebPageHttpModule mod .Optimization.BundleModule mod WebActivatorEx.ActivationManager+StartMethodCallingModule h_logical_cores 4 h_mac_digest 3BJjj1QKSdIUpklTIAWvFA h_os64 1 h_network_drives_count 0 h_other_drives_count 0 h_fixed_drives_count 1 h_fixed_drive NTFS*,31,256 p SizeLimiting p HybridCache hybridCache_cacheSizeMb 1024 hybridCache_writeQueueMemoryMb 100 hybridCache_evictionSweepSizeMb 1 hybridCache_shardCount 8 hybridCache_network_drive 0 hybridCache_filesystem NTFS hybridCache_drive_avail 31185281024 hybridCache_drive_total 256725352448 postauth_errors 7 counter_update_failed 0 postauth_errors_InvalidOperationException 7 module_response_ext_jpg 7 jobs_completed_total 0 jobs_completed_per_second_max 0 jobs_completed_per_minute_max 0 jobs_completed_per_15_mins_max 0 jobs_completed_per_hour_max 0 encoded_pixels_total 0 encoded_pixels_per_second_max 0 encoded_pixels_per_minute_max 0 encoded_pixels_per_15_mins_max 0 encoded_pixels_per_hour_max 0 decoded_pixels_total 0 decoded_pixels_per_second_max 0 decoded_pixels_per_minute_max 0 decoded_pixels_per_15_mins_max 0 decoded_pixels_per_hour_max 0 blob_read_bytes_total 0 blob_read_bytes_per_second_max 0 blob_read_bytes_per_minute_max 0 blob_read_bytes_per_15_mins_max 0 blob_read_bytes_per_hour_max 0 blob_reads_total 0 blob_reads_per_second_max 0 blob_reads_per_minute_max 0 blob_reads_per_15_mins_max 0 blob_reads_per_hour_max 0 encode_times_5th 0 encode_times_25th 0 encode_times_50th 0 encode_times_75th 0 encode_times_95th 0 encode_times_100th 0 output_aspect_ratio_5th 0 output_aspect_ratio_25th 0 output_aspect_ratio_50th 0 output_aspect_ratio_75th 0 output_aspect_ratio_95th 0 output_aspect_ratio_100th 0 source_aspect_ratio_5th 0 source_aspect_ratio_25th 0 source_aspect_ratio_50th 0 source_aspect_ratio_75th 0 source_aspect_ratio_95th 0 source_aspect_ratio_100th 0 output_width_5th 0 output_width_25th 0 output_width_50th 0 output_width_75th 0 output_width_95th 0 output_width_100th 0 output_pixels_5th 0 output_pixels_25th 0 output_pixels_50th 0 output_pixels_75th 0 output_pixels_95th 0 output_pixels_100th 0 source_pixels_5th 0 source_pixels_25th 0 source_pixels_50th 0 source_pixels_75th 0 source_pixels_95th 0 source_pixels_100th 0 decode_times_5th 0 decode_times_25th 0 decode_times_50th 0 decode_times_75th 0 decode_times_95th 0 decode_times_100th 0 scaling_ratio_5th 0 scaling_ratio_25th 0 scaling_ratio_50th 0 scaling_ratio_75th 0 scaling_ratio_95th 0 scaling_ratio_100th 0 job_other_time_5th 0 job_other_time_25th 0 job_other_time_50th 0 job_other_time_75th 0 job_other_time_95th 0 job_other_time_100th 0 job_times_5th 0 job_times_25th 0 job_times_50th 0 job_times_75th 0 job_times_95th 0 job_times_100th 0 source_height_5th 0 source_height_25th 0 source_height_50th 0 source_height_75th 0 source_height_95th 0 source_height_100th 0 source_width_5th 0 source_width_25th 0 source_width_50th 0 source_width_75th 0 source_width_95th 0 source_width_100th 0 collect_info_times_5th 17300 collect_info_times_25th 17300 collect_info_times_50th 36500 collect_info_times_75th 52000 collect_info_times_95th 52000 collect_info_times_100th 52000 output_height_5th 0 output_height_25th 0 output_height_50th 0 output_height_75th 0 output_height_95th 0 output_height_100th 0 blob_read_times_5th 0 blob_read_times_25th 0 blob_read_times_50th 0 blob_read_times_75th 0 blob_read_times_95th 0 blob_read_times_100th 0 image_domains page_domains query_keys W,Mode,Width,Format,Quality extra_job_query_keys
Best,
Charles
From: Charles Gregory Sent: Wednesday, October 26, 2022 10:55 AM To: 'imazen/resizer' @.>; 'imazen/resizer' @.> Cc: 'Comment' @.***> Subject: RE: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Hi there!
Any more thoughts on this? The permissions on “C:\HybridCache\” include Everyone (Full Control)
Thank you so much!
Charles
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\HybridCache\" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running]
ImageResizer.Plugins.HybridCache.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Charles
From: Charles Gregory Sent: Monday, October 17, 2022 5:13 PM To: 'imazen/resizer' @.**@.>>; imazen/resizer @.**@.>> Cc: Comment @.**@.>> Subject: RE: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Hmm… same thing. I changed directories and granted Everyone full control.
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running]
ImageResizer.Plugins.HybridCache.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
<resizer>
<sizelimits imageWidth="0" imageHeight="0" totalWidth="3840" totalHeight="3200" totalBehavior="throwexception" />
<hybridCache cacheLocation="C:\HybridCache\" cacheMaxSizeBytes="1000000000" />
<plugins>
<add name="HybridCache" />
</plugins>
</resizer>
Charles A. Gregory CEO Possumdelight Technologies @.**@.> (678) 778-7200
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.**@.>> Sent: Monday, October 17, 2022 4:01 PM To: imazen/resizer @.**@.>> Cc: Charles Gregory @.**@.>>; Comment @.**@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Does C:\Temp have the right permissions? I would suggest a unique subfolder since other apps also use that folder and it's going to be a disaster.
On Mon, Oct 17, 2022, 1:58 PM possumdelight @.<mailto:@.>> wrote:
Hi!
Thank you for responding. I tried the latest and get this message:
Server Error in '/' Application.
HybridCache is not running 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: HybridCache is not running
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: HybridCache is not running] ImageResizer.Plugins.HybridCache.
d17.MoveNext() +249 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer. d 7.MoveNext() +1865 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 ImageResizer.d__6.MoveNext() +1777 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134 Here is my Web.Cofig section:
Charles
“If it’s time sensitive, e-mail AND call.” - Charles Gregory
From: Lilith River @.<mailto:@.>> Sent: Saturday, October 15, 2022 7:10 PM To: imazen/resizer @.<mailto:@.>> Cc: Charles Gregory @.<mailto:@.>>; Comment @.<mailto:@.>> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
Thank you; I was able to reproduce the issue and release a few patches, can you try 5.0.7?
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1279848677>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2IHLREA7Q4ZLT3K7ZTWDM2VDANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you commented.Message ID: @.**@.mailto:***@***.******@***.***>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1281405925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH2BZ6IEDPICBUXJ7TLWDWVWHANCNFSM6AAAAAAQXDQLNE . You are receiving this because you modified the open/close state.Message ID: @.<mailto:@.>>
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1281408084, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2NKRQVWFUHKHXDX5BTWDWV6BANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.**@.>>
I can only see one possible route for this to be an issue and that would be a rare race condition (now patched) during startup. Is this a persistent error? Does it repro on 5.0.8?
Wait, I think I found it. Try 5.0.9. If that doesn't work, can you zip and e-mail your project to lilith@imazen.io?
I'm pretty sure this is now fixed; please let me know if the issue reoccurs.
Ha!
Hi Lilith!
I was just testing this today and it seems to load now😊
Thank you so very much
Charlie
From: Lilith River @.> Sent: Thursday, November 17, 2022 11:18 AM To: imazen/resizer @.> Cc: Charles Gregory @.>; Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
I'm pretty sure this is now fixed; please let me know if the issue reoccurs.
— Reply to this email directly, view it on GitHubhttps://github.com/imazen/resizer/issues/367#issuecomment-1318877319, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHYB2J4C3IMVTMX4ZBXYDTWIZLELANCNFSM6AAAAAAQXDQLNE. You are receiving this because you commented.Message ID: @.**@.>>
Wonderful! Sorry it took such an unusual number of patches. I had difficulty reproducing the issue, but at least I did fix some non-optimal stuff along the way.
On Thu, Nov 17, 2022 at 9:24 AM possumdelight @.***> wrote:
Ha!
Hi Lilith!
I was just testing this today and it seems to load now😊
Thank you so very much
Charlie
From: Lilith River @.> Sent: Thursday, November 17, 2022 11:18 AM To: imazen/resizer @.> Cc: Charles Gregory @.>; Comment @.> Subject: Re: [imazen/resizer] HybridCache - Type provided must be an Enum (Issue #367)
I'm pretty sure this is now fixed; please let me know if the issue reoccurs.
— Reply to this email directly, view it on GitHub< https://github.com/imazen/resizer/issues/367#issuecomment-1318877319>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ACHYB2J4C3IMVTMX4ZBXYDTWIZLELANCNFSM6AAAAAAQXDQLNE>.
You are receiving this because you commented.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/367#issuecomment-1318885820, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LHZLYQFGU22PFGPD4C3WIZL2TANCNFSM6AAAAAAQXDQLNE . You are receiving this because you modified the open/close state.Message ID: @.***>
I am testing ImageResizer.Plugins.HybridCache 5.04 preview 1 in a .NET 4.8 project. DiskCache worked previously with version 4; however, with version 5 and HybridCache, I am stuck on this error:
"HybridCache - Type provided must be an Enum"
In VS 2022, ImageResizer, ImageResizer.WebConfig, and ImageResizer.Plugins.HybridCache were installed using Nuget Packet Manager. DiskCache was removed and all referenced in the Web.Config file were also removed.
Image Resizing works without HybridCache.
The following was added to the section of web.config...
HybridCache does not appear to be creating or writing to the cacheLocation. removing the cacheMaxSizeBytes setting yields a different error, "HybridCache is not running". Setting a cache location inside the webroot yields an error that says something about moving the cache location OUTSIDE the webroot - so it seems to be wired up at some level.
Any ideas would be appreciated.
Thank you kindly
PDT