ImageResizingModule not run for static content despite runAllManagedModulesForAllRequests="true" - image-resizing

I'm trying to use ImageResizer (v4) to handle all image requests but I can only get the images from database (using plugin SqlReader) to work. Plain images in the images folder (or other folders) are not handled for some reason. I'm testing with very simple querystrings like /images/x.png?width=50 . Here is my output from resizer.debug.ashx:
Image resizer diagnostic sheet localhost 5/19/2017 6:47:51 PM
2 Issues detected:
resizer configuration(ConfigurationError): You have specified default commands (format) that will cause all image requests to be proccessed; even those that do not need ImageResizer.
<pipeline defaultCommands="fastscale=true&format=jpg&quality=70" />
resizer configuration(Error): No license found for domain localhost - features installed: R4Performance or R4DiskCache AND R4Performance or R4BlobProviders
Assembly use report:
You are using plugins and assemblies from the V4 Performance Edition.
----------------
License keys
You do not have any license keys installed.
----------------
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.WebConfigLicenseReader
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.Basic.MvcRoutingShimPlugin
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.DiskCache.DiskCache]
ImageResizer.Plugins.PrettyGifs.PrettyGifs
ImageResizer.Plugins.FastScaling.FastScalingPlugin
ImageResizer.Plugins.SqlReader.SqlReaderPlugin
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Storage.BlobProviderBase]
Configuration:
<resizer>
<pipeline defaultCommands="fastscale=true&format=jpg&quality=70" />
<plugins>
<add name="DiskCache" />
<add name="PrettyGifs" />
<add name="FastScaling" />
<add name="SqlReader" prefix="~/img/" connectionString="[redacted]" idType="Int" blobQuery="SELECT Content FROM Images WHERE Id=#id" modifiedQuery="Select ModifiedDate, CreatedDate From Images WHERE ImageID=#id" existsQuery="Select COUNT(Id) From Images WHERE Id=#id" requireImageExtension="false" cacheUnmodifiedFiles="true" extensionPartOfId="false" checkForModifiedFiles="false" vpp="false" untrustedData="false" />
</plugins>
<diskcache dir="~/imgcache" />
</resizer>
Accepted querystring keys:
quality, format, thumbnail, colors, dither, f.sharpen, 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.14393.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 keyOutputCache)
System.Web.SessionState.SessionStateModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keySession)
System.Web.Security.WindowsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyWindowsAuthentication)
System.Web.Security.FormsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyFormsAuthentication)
System.Web.Security.DefaultAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyDefaultAuthentication)
System.Web.Security.RoleManagerModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyRoleManager)
System.Web.Security.UrlAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyUrlAuthorization)
System.Web.Security.FileAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyFileAuthorization)
System.Web.Security.AnonymousIdentificationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyAnonymousIdentification)
System.Web.Profile.ProfileModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyProfile)
System.Web.UrlMappingsModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyUrlMappingsModule)
System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyUrlRoutingModule-4.0)
System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under keyScriptModule-4.0)
System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under keyServiceModel-4.0)
WebMarkupMin.AspNet4.HttpModules.HtmlMinificationModule, WebMarkupMin.AspNet4.HttpModules, Version=2.4.0.0, Culture=neutral, PublicKeyToken=99472178d266584b (under keyHtmlMinificationModule)
WebMarkupMin.AspNet4.HttpModules.HttpCompressionModule, WebMarkupMin.AspNet4.HttpModules, Version=2.4.0.0, Culture=neutral, PublicKeyToken=99472178d266584b (under keyHttpCompressionModule)
ImageResizer.InterceptModule, ImageResizer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null (under keyImageResizingModule)
Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor, Version=3.4.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc (under key__DynamicModule_Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor, Version=3.4.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc_0a4ced7a-d68e-4945-b47e-ef41e2dc2533)
Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key__DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_9c96216b-f685-42cd-b2a0-5fbfa2688d4d)
Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.PageInspectorHttpModule, Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key__DynamicModule_Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.PageInspectorHttpModule, Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a_79b40b26-e637-4036-ba3d-07748d5bfa5c)
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_89c621b1-fb8d-4270-b829-b5d1100f62f5)
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_1fa38abb-8524-4007-9f72-26b331e783cc)
Loaded assemblies:
mscorlib Assembly: 4.0.0.0 File: 4.6.1648.0 Info: 4.6.1648.0
System.Web Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System Assembly: 4.0.0.0 File: 4.6.1647.0 Info: 4.6.1647.0
System.Core Assembly: 4.0.0.0 File: 4.6.1647.0 Info: 4.6.1647.0
System.Configuration Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.ApplicationServices Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.Runtime.Caching Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
Microsoft.Build.Utilities.v4.0 Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.RegularExpressions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
Microsoft.JScript Assembly: 10.0.0.0 File: 14.6.1586.0 Info: 14.6.1586.0
System.Web.WebPages.Razor Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
Microsoft.Owin.Host.SystemWeb Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
System.Web.Optimization Assembly: 1.1.0.0 File: 1.1.40211.0
System.Web.Mvc Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
Castle.Windsor Assembly: 3.4.0.0 File: 3.4.0.91 Info: 3.4.0.91
System.Web.WebPages.Deployment Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.WebPages Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
Microsoft.VisualStudio.Web.PageInspector.Loader Assembly: 1.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
Microsoft.VisualStudio.Web.PageInspector.Runtime Assembly: 14.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
Microsoft.VisualStudio.Web.PageInspector.Tracing Assembly: 14.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
System.Runtime.Serialization Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
SMDiagnostics Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Internals Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
Microsoft.VisualStudio.Web.PageInspector.HtmlParser Assembly: 14.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
Microsoft.Web.Infrastructure Assembly: 1.0.0.0 File: 1.0.20105.407
App_global.asax.dqpxun8g Assembly: 0.0.0.0
Gentide.Web Assembly: 1.0.0.0 File: 1.0.0.0
Abp.Web Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
System.Web.Extensions Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Activation Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ServiceModel Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.Xaml.Hosting Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
WebMarkupMin.AspNet4.HttpModules Assembly: 2.4.0.0 File: 2.4.0.0
WebMarkupMin.AspNet4.Common Assembly: 2.4.0.0 File: 2.4.0.0
WebMarkupMin.AspNet.Common Assembly: 2.4.0.0 File: 2.4.0.0 Info: 2.4.0
WebMarkupMin.Core Assembly: 2.4.0.0 File: 2.4.0.0 Info: 2.4.0
Microsoft.CSharp Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Data Assembly: 4.0.0.0 File: 4.6.1636.0 Info: 4.6.1636.0
System.Web.Services Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Drawing Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.EnterpriseServices Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.IdentityModel Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Web Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Activities Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Activities Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.WorkflowServices Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Data.DataSetExtensions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml.Linq Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.DynamicData Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
Abp.AutoMapper Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Castle.Log4Net Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.EntityFramework.Common Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.EntityFramework Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.HangFire Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Owin Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.Api Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.Common Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.Mvc Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.SignalR Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Zero.Common Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Zero Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Zero.EntityFramework Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
ACMESharp Assembly: 0.8.2.0 File: 0.8.2.0 Info: 0.8.2
ACMESharp.PKI.Providers.BouncyCastle Assembly: 0.8.2.0 File: 0.8.2.0 Info: 0.8.2
AjaxMin Assembly: 5.14.5506.26196
Antlr3.Runtime Assembly: 3.5.0.2 File: 3.5.0.2
AutoMapper Assembly: 6.0.2.0 File: 6.0.2.0 Info: 6.0.2-master-8b260ff1
BouncyCastle.Crypto Assembly: 1.8.1.0 File: 1.8.15362.1 Info: 1.8.1
Castle.Core Assembly: 3.3.0.0 File: 3.3.0.43 Info: 3.3.0.43
Castle.Facilities.Logging Assembly: 3.4.0.0 File: 3.4.0.91 Info: 3.4.0.91
Castle.Services.Logging.Log4netIntegration Assembly: 3.3.0.0 File: 3.3.3.58 Info: 3.3.3.58
EntityFramework Assembly: 6.0.0.0 File: 6.1.40302.0 Info: 6.1.3-40302
EntityFramework.DynamicFilters Assembly: 2.6.0.0 File: 2.6.0 Info: 2.6.0
EntityFramework.SqlServer Assembly: 6.0.0.0 File: 6.1.40302.0 Info: 6.1.3-40302
Gentide.Application Assembly: 1.0.0.0 File: 1.0.0.0
Gentide.Core Assembly: 1.0.0.0 File: 1.0.0.0
Gentide.EntityFramework Assembly: 1.0.0.0 File: 1.0.0.0
Hangfire.Core Assembly: 1.6.12.0
Hangfire.SqlServer Assembly: 1.6.12.0
ImageResizer Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.AnimatedGifs Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.DiskCache Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.FastScaling Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.PrettyGifs Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.SqlReader Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Storage Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
Imazen.Profiling Assembly: 1.0.0.0 File: 1.0.0.0
Imazen.WebP Assembly: 9.0.1.0 File: 9.0.1
JetBrains.Annotations Assembly: 10.4.0.0 File: 10.4.0.0 Info: 10.3.0
log4net Assembly: 2.0.8.0 File: 2.0.8.0 Info: 2.0.8.0-.NET 4.5
Microsoft.AspNet.Identity.Core Assembly: 2.0.0.0 File: 2.2.1.40403.0
Microsoft.AspNet.Identity.EntityFramework Assembly: 2.0.0.0 File: 2.2.1.40403.0
Microsoft.AspNet.Identity.Owin Assembly: 2.0.0.0 File: 2.2.1.40403.0
Microsoft.AspNet.SignalR.Core Assembly: 2.2.1.0 File: 2.2.50714.868 Info: 2.2.1
Microsoft.AspNet.SignalR.SystemWeb Assembly: 2.2.1.0 File: 2.2.50714.868 Info: 2.2.1
Microsoft.Azure.KeyVault.Core Assembly: 2.0.0.0 File: 2.0.4.0 Info: 2.0.4
Microsoft.Data.Edm Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
Microsoft.Data.OData Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
Microsoft.Data.Services.Client Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
Microsoft.Owin Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.FileSystems Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Cookies Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Facebook Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Google Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.OAuth Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Twitter Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.StaticFiles Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Threading.Tasks Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions.Desktop Assembly: 1.0.168.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Web.Administration Assembly: 7.0.0.0 File: 10.0.10011.16384
Microsoft.WindowsAzure.Diagnostics Assembly: 2.8.0.0 File: 2.8.0.0
Microsoft.WindowsAzure.ServiceRuntime Assembly: 2.7.0.0 File: 2.7.1198.768 Info: 2.7.1198.768 (rd_art_stable.160418-1850)
Microsoft.WindowsAzure.Storage Assembly: 8.1.1.0 File: 8.1.1.0
MonAgentListener Assembly: 33.1.0.0 File: 33.1.5.0
Newtonsoft.Json Assembly: 10.0.0.0 File: 10.0.2.20802
Nito.AsyncEx.Concurrent Assembly: 4.0.1.0 Info: 4.0.1
Nito.AsyncEx Assembly: 4.0.1.0 Info: 4.0.1
Nito.AsyncEx.Enlightenment Assembly: 4.0.1.0 Info: 4.0.1
nQuant.Core Assembly: 1.0.3.0 File: 1.0.3
Owin Assembly: 1.0.0.0 File: 1.0
PagedList Assembly: 1.17.0.0 File: 1.17
PagedList.Mvc Assembly: 4.5.0.0 File: 4.5
RestSharp Assembly: 105.2.3.0 File: 105.2.3.0 Info: 105.2.3
SimpleImpersonation Assembly: 2.0.1.27158 Info: 2.0.1
Stripe.net Assembly: 8.1.1.0 File: 8.1.1.0 Info: 8.1.1
System.Collections.Concurrent Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Collections Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Collections.Immutable Assembly: 1.2.1.0 File: 4.6.24816.01 Info: 4.6.24816.01. Commit Hash: 4d1af962ca0fede10beb01d197367c2f90e92c97
System.ComponentModel.Annotations Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ComponentModel.EventBasedAsync Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Diagnostics.Debug Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Diagnostics.Tracing Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Dynamic.Runtime Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Globalization Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.IO Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Linq.Dynamic.Core Assembly: 1.0.0.0 File: 1.0.0.0 Info: 1.0.6.13
System.Linq.Dynamic Assembly: 1.0.6132.35681
System.Linq.Expressions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Http.Formatting Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Net.NetworkInformation Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Primitives Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Requests Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ObjectModel Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Reflection Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.Extensions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.InteropServices Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.Serialization.Primitives Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.Serialization.Xml Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ServiceModel.Http Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Spatial Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
System.Text.Encoding Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Text.Encoding.Extensions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Text.RegularExpressions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Threading Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Threading.Tasks Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.Helpers Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.Http Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.Http.WebHost Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.Razor Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Xml.ReaderWriter Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml.XDocument Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml.XmlSerializer Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
WebGrease Assembly: 1.6.5135.21930
WebMarkupMin.MsAjax Assembly: 2.4.0.0 File: 2.4.0.0 Info: 2.4.0
System.Data.Linq Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
Anonymously Hosted DynamicMethods Assembly Assembly: 0.0.0.0
System.Transactions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Numerics Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Dynamic Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Http Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
System.Linq Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Resources.ResourceManager Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xaml Assembly: 4.0.0.0 File: 4.6.1647.0 Info: 4.6.1647.0
System.Data.OracleClient Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
EntityFrameworkDynamicProxies-Gentide.Core Assembly: 1.0.0.0
EntityFrameworkDynamicProxies-Abp.Zero.Common Assembly: 1.0.0.0
System.Web.Mobile Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
App_Web_gok4oxno Assembly: 0.0.0.0
App_Web_zv3hty4a Assembly: 0.0.0.0
App_Web_d2stohu5 Assembly: 0.0.0.0
App_Web_yi1kiijf Assembly: 0.0.0.0
App_Web_ang5xqis Assembly: 0.0.0.0
App_Web_nfj4qrsv Assembly: 0.0.0.0
The following plugin assemblies are loaded but do not seem to be in use. You should remove them (and especially their dependencies (unless used elsewhere)) from the /bin folder to improve application load times:
ImageResizer.Plugins.AnimatedGifs Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
I don't have any routes that in any way interfere with either /img or any other image folder.
I'm using IIS 10 and the app pool is set to Integrated v4.0.
The module works great for database images. /img/1.jpg?width=50 works as expected.
What am I missing?

I am using AspnetBoilerplate. After much trial and error I found that it was something in the OWIN integration in ABP that caused the Imageresizer module to not run in the case in question. As I'm not using the OWIN part of ABP I simply turned it off by removing this line:
Startup.cs:
app.UseAbp();

Related

PyInstaller exe has seg fault, source code does not

I'm working on packaging a machine learning codebase that has many dependencies on modern machine learning libraries (sklearn, xgboost, tensorflow, pandas, and the like). We are trying to bundle the codebase into a single folder containing an executable and additional binaries needed for running (shared libraries). To do this, we're trying to use PyInstaller.
I am able to successfully create an executable on MacOS (mojave 10.14.6) and CentOS 7.7. I'm using conda (4.7.12) to help manage virtual environments, and Python 3.6.6. On both platforms, I can run the code from source (i.e., not the exe created by PyInstaller) and everything runs normally. Running the executable on MacOS works normally. However, running the executable on CentOS ends with a seg fault (it's unclear where this is actually happening).
Here is the output of build process on CentOS:
54 INFO: PyInstaller: 3.5
54 INFO: Python: 3.6.6
55 INFO: Platform: Linux-3.10.0-1062.1.2.el7.x86_64-x86_64-with-centos-7.7.1908-Core
58 INFO: UPX is not available.
59 INFO: Removing temporary files and cleaning cache in /root/.cache/pyinstaller
60 INFO: Extending PYTHONPATH with paths
['/home/jloy/amb-rte', '/home/jloy/amb-rte']
60 INFO: checking Analysis
61 INFO: Building Analysis because Analysis-00.toc is non existent
61 INFO: Initializing module dependency graph...
64 INFO: Initializing module graph hooks...
66 INFO: Analyzing base_library.zip ...
3879 INFO: Analyzing hidden import 'amb_pacman.settings.rte'
4869 INFO: Analyzing hidden import 'amb.settings.rte'
5161 INFO: Processing pre-find module path hook distutils
6708 INFO: Processing pre-safe import module hook six.moves
7724 INFO: Processing pre-safe import module hook setuptools.extern.six.moves
8357 INFO: Processing pre-find module path hook site
8358 INFO: site: retargeting to fake-dir '/root/miniconda3/envs/rte/lib/python3.6/site-packages/PyInstaller/fake-modules'
37973 INFO: Analyzing hidden import 'amb.evolve.neat.core.indexer'
38049 INFO: Analyzing hidden import 'amb_utils.settings.rte'
39648 INFO: Analyzing hidden import 'sklearn.utils._cython_blas'
39648 INFO: Analyzing hidden import 'sklearn.neighbors.typedefs'
39648 INFO: Analyzing hidden import 'sklearn.neighbors.quad_tree'
39649 INFO: Analyzing hidden import 'sklearn.tree._utils'
39734 INFO: Analyzing hidden import 'multiprocessing.forking'
39734 ERROR: Hidden import 'multiprocessing.forking' not found
39734 INFO: Analyzing hidden import 'multiprocessing.freeze_support'
39734 ERROR: Hidden import 'multiprocessing.freeze_support' not found
39734 INFO: Analyzing hidden import 'numpy.type'
39735 ERROR: Hidden import 'numpy.type' not found
39735 INFO: running Analysis Analysis-00.toc
39762 INFO: Caching module hooks...
39768 INFO: Analyzing /home/jloy/amb-rte/runtime_engine.py
51355 INFO: Processing pre-safe import module hook win32com
68391 INFO: Processing pre-safe import module hook urllib3.packages.six.moves
101910 INFO: Loading module hooks...
101911 INFO: Loading module hook "hook-IPython.py"...
101926 INFO: Excluding import 'matplotlib'
101941 INFO: Removing import of matplotlib._pylab_helpers from module IPython.core.pylabtools
101941 INFO: Removing import of matplotlib.pyplot from module IPython.core.pylabtools
101941 INFO: Removing import of matplotlib.figure from module IPython.core.pylabtools
101941 INFO: Removing import of matplotlib from module IPython.core.pylabtools
101943 INFO: Excluding import 'PySide'
101957 INFO: Excluding import 'PyQt5'
101972 INFO: Excluding import 'PyQt4'
101986 INFO: Excluding import 'gtk'
102000 INFO: Loading module hook "hook-PIL.Image.py"...
102458 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
102483 INFO: Import to be excluded not found: 'FixTk'
102484 INFO: Excluding import 'tkinter'
102496 INFO: Loading module hook "hook-PIL.py"...
102506 INFO: Excluding import 'PySide'
102521 INFO: Removing import of PySide from module PIL.ImageQt
102522 INFO: Excluding import 'PyQt5'
102534 INFO: Removing import of PyQt5.QtCore from module PIL.ImageQt
102534 INFO: Removing import of PyQt5.QtGui from module PIL.ImageQt
102535 INFO: Excluding import 'PyQt4'
102547 INFO: Removing import of PyQt4 from module PIL.ImageQt
102548 INFO: Import to be excluded not found: 'FixTk'
102548 INFO: Excluding import 'tkinter'
102559 INFO: Removing import of tkinter from module PIL.ImageTk
102559 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
102708 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
102832 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
103067 INFO: Loading module hook "hook-PyQt5.py"...
103489 WARNING: Hidden import "PyQt5.sip" not found!
103489 INFO: Loading module hook "hook-_tkinter.py"...
103656 INFO: checking Tree
103657 INFO: Building Tree because Tree-00.toc is non existent
103657 INFO: Building Tree Tree-00.toc
103665 INFO: checking Tree
103666 INFO: Building Tree because Tree-01.toc is non existent
103666 INFO: Building Tree Tree-01.toc
103670 INFO: Loading module hook "hook-certifi.py"...
103672 INFO: Loading module hook "hook-cryptography.py"...
103978 INFO: Loading module hook "hook-distutils.py"...
103979 INFO: Loading module hook "hook-encodings.py"...
104077 INFO: Loading module hook "hook-h5py.py"...
104079 INFO: Loading module hook "hook-importlib_metadata.py"...
104082 INFO: Loading module hook "hook-jedi.py"...
104127 INFO: Loading module hook "hook-jinja2.py"...
104157 INFO: Loading module hook "hook-lib2to3.py"...
104159 INFO: Loading module hook "hook-llvmlite.py"...
104161 INFO: Loading module hook "hook-matplotlib.backends.py"...
104933 INFO: Matplotlib backend "GTK": ignored
Gtk* backend requires pygtk to be installed.
105583 INFO: Matplotlib backend "GTKAgg": ignored
Gtk* backend requires pygtk to be installed.
106039 INFO: Matplotlib backend "GTKCairo": ignored
No module named 'gtk'
106663 INFO: Matplotlib backend "GTK3Agg": ignored
The Gtk3 backend requires PyGObject or pgi
107050 INFO: Matplotlib backend "GTK3Cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
107625 INFO: Matplotlib backend "MacOSX": ignored
cannot import name '_macosx'
/root/miniconda3/envs/rte/lib/python3.6/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
"You should import from ipykernel or jupyter_client instead.", ShimWarning)
108462 INFO: Matplotlib backend "nbAgg": ignored
No module named 'ipykernel'
109134 INFO: Matplotlib backend "Qt4Agg": added
109487 INFO: Matplotlib backend "Qt4Cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
110150 INFO: Matplotlib backend "Qt5Agg": added
110519 INFO: Matplotlib backend "Qt5Cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
111089 INFO: Matplotlib backend "TkAgg": added
111452 INFO: Matplotlib backend "TkCairo": ignored
cairo backend requires that cairocffi or pycairo is installed
112115 INFO: Matplotlib backend "WebAgg": added
112741 INFO: Matplotlib backend "WX": ignored
Matplotlib backend_wx and backend_wxagg require wxPython>=2.9
113172 INFO: Matplotlib backend "WXAgg": ignored
No module named 'wx'
113603 INFO: Matplotlib backend "WXCairo": ignored
No module named 'wx'
114279 INFO: Matplotlib backend "agg": added
114704 INFO: Matplotlib backend "cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
115090 INFO: Matplotlib backend "gdk": ignored
No module named 'gobject'
115640 INFO: Matplotlib backend "pdf": added
116288 INFO: Matplotlib backend "pgf": added
116838 INFO: Matplotlib backend "ps": added
117424 INFO: Matplotlib backend "svg": added
117967 INFO: Matplotlib backend "template": added
118562 INFO: Loading module hook "hook-matplotlib.py"...
118991 INFO: Loading module hook "hook-numba.py"...
119014 INFO: Excluding import 'IPython'
119033 INFO: Removing import of IPython.paths from module numba.caching
119033 INFO: Removing import of IPython.utils.path from module numba.caching
119040 INFO: Excluding import 'scipy'
119057 INFO: Removing import of scipy.linalg.cython_blas from module numba.targets.linalg
119057 INFO: Removing import of scipy.linalg.cython_lapack from module numba.targets.linalg
119063 INFO: Loading module hook "hook-numpy.core.py"...
119229 INFO: MKL libraries found when importing numpy. Adding MKL to binaries
119230 INFO: Loading module hook "hook-numpy.py"...
119231 INFO: Loading module hook "hook-pandas.py"...
120598 INFO: Loading module hook "hook-patsy.py"...
120600 INFO: Loading module hook "hook-pkg_resources.py"...
121246 INFO: Loading module hook "hook-pycparser.py"...
121247 INFO: Loading module hook "hook-pydoc.py"...
121247 INFO: Loading module hook "hook-pygments.py"...
123779 INFO: Loading module hook "hook-pytest.py"...
124808 INFO: Loading module hook "hook-pytz.py"...
124826 INFO: Loading module hook "hook-scipy.io.matlab.py"...
124827 INFO: Loading module hook "hook-scipy.linalg.py"...
124827 INFO: Loading module hook "hook-scipy.py"...
124828 INFO: Loading module hook "hook-scipy.sparse.csgraph.py"...
124831 INFO: Loading module hook "hook-scipy.special._ellip_harm_2.py"...
124831 INFO: Loading module hook "hook-scipy.special._ufuncs.py"...
124832 INFO: Loading module hook "hook-setuptools.py"...
125823 INFO: Loading module hook "hook-shelve.py"...
125824 INFO: Loading module hook "hook-sklearn.metrics.cluster.py"...
125851 WARNING: Hidden import "sklearn.utils.sparsetools._graph_validation" not found!
125851 WARNING: Hidden import "sklearn.utils.sparsetools._graph_tools" not found!
125852 INFO: Loading module hook "hook-sqlite3.py"...
125944 INFO: Loading module hook "hook-sysconfig.py"...
125956 INFO: Loading module hook "hook-torch.py"...
125987 INFO: Loading module hook "hook-xml.dom.domreg.py"...
125987 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
125988 INFO: Loading module hook "hook-xml.py"...
125988 INFO: Loading module hook "hook-xgboost.py"...
126102 INFO: Determining a mapping of distributions to packages...
157007 INFO: Packages required by xgboost:
['numpy', 'scipy']
157271 INFO: checking Tree
157272 INFO: Building Tree because Tree-02.toc is non existent
157272 INFO: Building Tree Tree-02.toc
157273 INFO: checking Tree
157273 INFO: Building Tree because Tree-03.toc is non existent
157273 INFO: Building Tree Tree-03.toc
157273 INFO: checking Tree
157273 INFO: Building Tree because Tree-04.toc is non existent
157273 INFO: Building Tree Tree-04.toc
157274 INFO: checking Tree
157274 INFO: Building Tree because Tree-05.toc is non existent
157274 INFO: Building Tree Tree-05.toc
157275 INFO: checking Tree
157275 INFO: Building Tree because Tree-06.toc is non existent
157275 INFO: Building Tree Tree-06.toc
157275 INFO: checking Tree
157275 INFO: Building Tree because Tree-07.toc is non existent
157275 INFO: Building Tree Tree-07.toc
157276 INFO: checking Tree
157276 INFO: Building Tree because Tree-08.toc is non existent
157276 INFO: Building Tree Tree-08.toc
157277 INFO: checking Tree
157277 INFO: Building Tree because Tree-09.toc is non existent
157277 INFO: Building Tree Tree-09.toc
157277 INFO: checking Tree
157277 INFO: Building Tree because Tree-10.toc is non existent
157277 INFO: Building Tree Tree-10.toc
157278 INFO: checking Tree
157278 INFO: Building Tree because Tree-11.toc is non existent
157279 INFO: Building Tree Tree-11.toc
157279 INFO: checking Tree
157279 INFO: Building Tree because Tree-12.toc is non existent
157279 INFO: Building Tree Tree-12.toc
157279 INFO: checking Tree
157280 INFO: Building Tree because Tree-13.toc is non existent
157280 INFO: Building Tree Tree-13.toc
157280 INFO: checking Tree
157280 INFO: Building Tree because Tree-14.toc is non existent
157280 INFO: Building Tree Tree-14.toc
157281 INFO: checking Tree
157282 INFO: Building Tree because Tree-15.toc is non existent
157282 INFO: Building Tree Tree-15.toc
157282 INFO: checking Tree
157282 INFO: Building Tree because Tree-16.toc is non existent
157282 INFO: Building Tree Tree-16.toc
157284 INFO: checking Tree
157284 INFO: Building Tree because Tree-17.toc is non existent
157284 INFO: Building Tree Tree-17.toc
157285 INFO: checking Tree
157285 INFO: Building Tree because Tree-18.toc is non existent
157285 INFO: Building Tree Tree-18.toc
157307 INFO: checking Tree
157307 INFO: Building Tree because Tree-19.toc is non existent
157307 INFO: Building Tree Tree-19.toc
157315 INFO: checking Tree
157316 INFO: Building Tree because Tree-20.toc is non existent
157316 INFO: Building Tree Tree-20.toc
157316 INFO: Looking for ctypes DLLs
157838 WARNING: library user32 required via ctypes not found
159961 INFO: Analyzing run-time hooks ...
160067 INFO: Including run-time hook 'pyi_rth_traitlets.py'
160073 INFO: Including run-time hook 'pyi_rth__tkinter.py'
160078 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
160082 INFO: Including run-time hook 'pyi_rth_mpldata.py'
160085 INFO: Including run-time hook 'pyi_rth_pyqt5.py'
160088 INFO: Including run-time hook 'pyi_rth_pkgres.py'
160092 INFO: Including run-time hook 'pyi_rth_certifi.py'
160096 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
160297 INFO: Looking for dynamic libraries
ldd: warning: you do not have execution permission for `/root/miniconda3/envs/rte/lib/python3.6/site-packages/cryptography-2.5-py3.6-linux-x86_64.egg/cryptography/hazmat/bindings/_constant_time.abi3.so'
ldd: warning: you do not have execution permission for `/root/miniconda3/envs/rte/lib/python3.6/site-packages/cryptography-2.5-py3.6-linux-x86_64.egg/cryptography/hazmat/bindings/_openssl.abi3.so'
ldd: warning: you do not have execution permission for `/root/miniconda3/envs/rte/lib/python3.6/site-packages/cryptography-2.5-py3.6-linux-x86_64.egg/cryptography/hazmat/bindings/_padding.abi3.so'
ldd: warning: you do not have execution permission for `/root/miniconda3/envs/rte/lib/python3.6/site-packages/coverage-5.0a8-py3.6-linux-x86_64.egg/coverage/tracer.cpython-36m-x86_64-linux-gnu.so'
/root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/tbbpool.cpython-36m-x86_64-linux-gnu.so: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2)
/root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/tbbpool.cpython-36m-x86_64-linux-gnu.so: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2)
/root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/tbbpool.cpython-36m-x86_64-linux-gnu.so: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2)
ldd: warning: you do not have execution permission for `/root/miniconda3/envs/rte/plugins/platforms/../../lib/libgcc_s.so.1'
/root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2)
/root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2)
/root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /root/miniconda3/envs/rte/lib/python3.6/site-packages/numba/npyufunc/../.libs/libtbb-52872150.so.2)
173700 INFO: Looking for eggs
173701 INFO: Using Python library /root/miniconda3/envs/rte/lib/python3.6/site-packages/PIL/../../../libpython3.6m.so.1.0
173911 INFO: Warnings written to /home/jloy/amb-rte/pydist/build/runtime_engine/warn-runtime_engine.txt
174792 INFO: Graph cross-reference written to /home/jloy/amb-rte/pydist/build/runtime_engine/xref-runtime_engine.html
175119 INFO: Appending 'datas' from .spec
175132 INFO: checking PYZ
175132 INFO: Building PYZ because PYZ-00.toc is non existent
175132 INFO: Building PYZ (ZlibArchive) /home/jloy/amb-rte/pydist/build/runtime_engine/PYZ-00.pyz
188154 INFO: Building PYZ (ZlibArchive) /home/jloy/amb-rte/pydist/build/runtime_engine/PYZ-00.pyz completed successfully.
188323 INFO: checking PKG
188324 INFO: Building PKG because PKG-00.toc is non existent
188325 INFO: Building PKG (CArchive) PKG-00.pkg
188418 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
188420 INFO: Bootloader /root/miniconda3/envs/rte/lib/python3.6/site-packages/PyInstaller/bootloader/Linux-64bit/run_d
188420 INFO: checking EXE
188420 INFO: Building EXE because EXE-00.toc is non existent
188420 INFO: Building EXE from EXE-00.toc
188420 INFO: Appending archive to ELF section in EXE /home/jloy/amb-rte/pydist/build/runtime_engine/runtime_engine
188523 INFO: Building EXE from EXE-00.toc completed successfully.
188535 INFO: checking COLLECT
188536 INFO: Building COLLECT because COLLECT-00.toc is non existent
188536 INFO: Building COLLECT COLLECT-00.toc
193501 INFO: Building COLLECT COLLECT-00.toc completed successfully.
The ldd warnings and the messages about GLIBCXX do not happen for MacOS. Either way, the process creates an executable that is runnable.
I'm very perplexed as to how it's possible I can run the code unpackaged with no problems, and at the same time, the executable fails with a seg fault. Especially since I'm running on the exact same machine that created the executable. That is, I'm essentially doing this:
$ pyinstaller mySpec.spec
$ ./dist/myExe
Any help with this issue would be greatly appreciated. I would be happy to provide additional information as well.
Thanks in advance.
UPDATE:
I was able to get the executable running on CentOS 7.7. There ended up being an issue with which BLAS library numpy used. When I forced conda to use the openblas flavor (instead of MKL), everything worked.
I was able to figure this out by trying the same procedure on CentOS 8. When running the executable there I got a more descriptive error, instead of just a seg fault. The executable still crashed, but it was because it could not find the symbol __kmpc_global_thread_num in libmkl_intel_thread.so. I started googling around and was able to find someone with a similar issue who solved it by forcing openblas over MKL.
The question still remains though: why would running from source work, but running the executable not?
Try setting up a new conda environment with Python 3.5 (not 3.6 or above) and compile from it. It has worked for me in centOS 6.
You may need to add non-standard libraries (like numpy) as hidden imports for pyinstaller.
Hope it helps

Pyinstaller DLL Load Failed: The specified procedure could not be found

Hello, everyone.
I am trying to make an .exe package for a small desktop app.
I am using python 35, PyQt5 and Pyinstaller 3.4.dev0+97ce49bad.
When I run Pyinstaller, it shows this:
D:\SlowControl>pyinstaller --onefile --paths D:\Python35\Li
b\site-packages Slow_control.py
90 INFO: PyInstaller: 3.4.dev0+97ce49bad
90 INFO: Python: 3.5.2
90 INFO: Platform: Windows-7-6.1.7601-SP1
90 INFO: wrote D:\SlowControl\Slow_control.spec
90 INFO: UPX is not available.
115 INFO: Extending PYTHONPATH with paths
['D:\\SlowControl',
'D:\\Python35\\Lib\\site-packages',
'D:\\SlowControl']
115 INFO: checking Analysis
115 INFO: Building Analysis because out00-Analysis.toc is non existent
115 INFO: Initializing module dependency graph...
120 INFO: Initializing module graph hooks...
125 INFO: Analyzing base_library.zip ...
4295 INFO: running Analysis out00-Analysis.toc
5185 INFO: Caching module hooks...
5190 INFO: Analyzing D:\SlowControl\Slow_control.py
5305 INFO: Processing pre-find module path hook distutils
5460 INFO: Processing pre-safe import module hook six.moves
7845 INFO: Processing pre-find module path hook site
7845 INFO: site: retargeting to fake-dir 'D:\\Python35\\lib\\site-packages\\pyin
staller-3.4.dev0+97ce49bad-py3.5.egg\\PyInstaller\\fake-modules'
7880 INFO: Processing pre-safe import module hook win32com
15995 INFO: Loading module hooks...
15995 INFO: Loading module hook "hook-pkg_resources.py"...
16610 INFO: Loading module hook "hook-encodings.py"...
16780 INFO: Loading module hook "hook-numpy.core.py"...
16860 INFO: Loading module hook "hook-pytz.py"...
16930 INFO: Loading module hook "hook-pythoncom.py"...
17160 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
17695 INFO: Loading module hook "hook-xml.py"...
17695 INFO: Loading module hook "hook-sysconfig.py"...
17695 INFO: Loading module hook "hook-matplotlib.py"...
18140 INFO: Loading module hook "hook-distutils.py"...
18150 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
18235 INFO: Loading module hook "hook-lib2to3.py"...
18290 INFO: Loading module hook "hook-pywintypes.py"...
18535 INFO: Loading module hook "hook-PyQt5.py"...
18535 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
18540 INFO: Loading module hook "hook-matplotlib.backends.py"...
19220 INFO: Matplotlib backend "GTK": ignored
Gtk* backend requires pygtk to be installed.
20280 INFO: Matplotlib backend "GTKAgg": ignored
Gtk* backend requires pygtk to be installed.
20690 INFO: Matplotlib backend "GTKCairo": ignored
No module named 'gtk'
21155 INFO: Matplotlib backend "MacOSX": ignored
cannot import name '_macosx'
21975 INFO: Matplotlib backend "Qt4Agg": added
22580 INFO: Matplotlib backend "Qt5Agg": added
23210 INFO: Matplotlib backend "TkAgg": added
23700 INFO: Matplotlib backend "WX": ignored
Matplotlib backend_wx and backend_wxagg require wxPython >=2.8.12
24165 INFO: Matplotlib backend "WXAgg": ignored
Matplotlib backend_wx and backend_wxagg require wxPython >=2.8.12
24490 INFO: Matplotlib backend "GTK3Cairo": ignored
Cairo backend requires that cairocffi or pycairo is installed.
24960 INFO: Matplotlib backend "GTK3Agg": ignored
Gtk3 backend requires pygobject to be installed.
25280 INFO: Matplotlib backend "WebAgg": ignored
Traceback (most recent call last):
File "D:\Python35\Lib\site-packages\matplotlib\backends\backend_webagg.py", li
ne 29, in <module>
import tornado
ImportError: No module named 'tornado'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "D:\Python35\Lib\site-packages\matplotlib\backends\backend_webagg.py", li
ne 31, in <module>
raise RuntimeError("The WebAgg backend requires Tornado.")
RuntimeError: The WebAgg backend requires Tornado.
25625 INFO: Matplotlib backend "nbAgg": ignored
No module named 'tornado'
26095 INFO: Matplotlib backend "agg": added
26420 INFO: Matplotlib backend "cairo": ignored
Cairo backend requires that cairocffi or pycairo is installed.
26740 INFO: Matplotlib backend "gdk": ignored
No module named 'gobject'
27245 INFO: Matplotlib backend "pdf": added
27810 INFO: Matplotlib backend "pgf": added
28390 INFO: Matplotlib backend "ps": added
28870 INFO: Matplotlib backend "svg": added
29335 INFO: Matplotlib backend "template": added
29925 INFO: Loading module hook "hook-win32com.py"...
30030 INFO: Loading module hook "hook-setuptools.py"...
30030 WARNING: Hidden import "setuptools.msvc" not found!
30030 INFO: Loading module hook "hook-pydoc.py"...
30040 INFO: Loading module hook "hook-_tkinter.py"...
30220 INFO: checking Tree
30220 INFO: Building Tree because out00-Tree.toc is non existent
30220 INFO: Building Tree out00-Tree.toc
30275 INFO: checking Tree
30275 INFO: Building Tree because out01-Tree.toc is non existent
30275 INFO: Building Tree out01-Tree.toc
30280 INFO: Loading module hook "hook-PyQt5.Qt.py"...
30285 INFO: Loading module hook "hook-PyQt5.QtPrintSupport.py"...
30420 INFO: checking Tree
30420 INFO: Building Tree because out02-Tree.toc is non existent
30420 INFO: Building Tree out02-Tree.toc
30430 INFO: Looking for ctypes DLLs
30505 INFO: Analyzing run-time hooks ...
30515 INFO: Including run-time hook 'pyi_rth_qt5.py'
30530 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
30535 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
30540 INFO: Including run-time hook 'pyi_rth_pkgres.py'
30540 INFO: Including run-time hook 'pyi_rth__tkinter.py'
30545 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
30545 INFO: Including run-time hook 'pyi_rth_mpldata.py'
30565 INFO: Looking for dynamic libraries
35095 INFO: Looking for eggs
35095 INFO: Using Python library D:\Python35\python35.dll
35095 INFO: Found binding redirects:
[]
35130 INFO: Warnings written to D:\SlowControl\build\Slow_c
ontrol\warnSlow_control.txt
35360 INFO: Graph cross-reference written to D:\SlowControl
\build\Slow_control\xref-Slow_control.html
35460 INFO: checking PYZ
35460 INFO: Building PYZ because out00-PYZ.toc is non existent
35460 INFO: Building PYZ (ZlibArchive) D:\SlowControl\build
\Slow_control\out00-PYZ.pyz
37900 INFO: Building PYZ (ZlibArchive) D:\SlowControl\build
\Slow_control\out00-PYZ.pyz completed successfully.
37950 INFO: checking PKG
37955 INFO: Building PKG because out00-PKG.toc is non existent
37955 INFO: Building PKG (CArchive) out00-PKG.pkg
58380 INFO: Building PKG (CArchive) out00-PKG.pkg completed successfully.
58465 INFO: Bootloader D:\Python35\lib\site-packages\pyinstaller-3.4.dev0+97ce49
bad-py3.5.egg\PyInstaller\bootloader\Windows-64bit\run.exe
58465 INFO: checking EXE
58465 INFO: Building EXE because out00-EXE.toc is non existent
58465 INFO: Building EXE from out00-EXE.toc
58465 INFO: Appending archive to EXE D:\SlowControl\dist\Sl
ow_control.exe
58520 INFO: Building EXE from out00-EXE.toc completed successfully.
When I try to start SlowControl.exe it shows
Traceback (most recent call last):
File "Slow_control.py", line 2, in <module>
File "D:\Python35\lib\site-packages\pyinstaller-3.4.dev0+97ce49bad-py3.5.egg\P
yInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "Lib\site-packages\matplotlib\pyplot.py", line 109, in <module>
File "Lib\site-packages\matplotlib\pyplot.py", line 91, in _backend_selection
File "D:\Python35\lib\site-packages\pyinstaller-3.4.dev0+97ce49bad-py3.5.egg\P
yInstaller\loader\pyimod03_importers.py", line 714, in load_module
module = loader.load_module(fullname)
ImportError: DLL load failed: The specified procedure could not be found.
[1596] Failed to execute script Slow_control
I am not sure but maybe the problem is with hidden imports?
If so, could anyone please explain which files are hidden? I just don't understand.
Thanks in advance!

Visual Basic code won't open Microsoft Excel (Office 2010)

I'm trying to write some Visual Basic code in Visual Studio 2012 that will be able to open and make changes to an existing Microsoft Excel workbook (Office 2010). This is the code I've come up with:
Dim BillingCalender As String = *Path to Excel Workbook*
Dim xlsApp As Excel.Application = New Excel.Application
Dim xlsWorkBooks As Excel.Workbooks = xlsApp.Workbooks
Dim xlsWB As Excel.Workbook = xlsWorkBooks.Open(BillingCalender)
However, whenever I try to run this, a new Excel Workbook is opened and the following error is given:
An add-in could not be found or could not be loaded
Could not create an instance of startup object ReCreateEmpty.ReCreateEmpty in assembly ReCreateEmpty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateStartupObjectException: Could not create an instance of startup object ReCreateEmpty.ReCreateEmpty in assembly ReCreateEmpty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at ReCreateEmpty.ReCreateEmpty..ctor(ApplicationFactory factory, IServiceProvider serviceProvider) in C:\Users\c33426s\Documents\Visual Studio 2012\Projects\ReCreateEmpty\ReCreateEmpty\ThisAddIn.vb:line 6
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.LoadEntryPoints(IntPtr serviceProvider)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Runtime
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34294 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34283 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34291 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Hosting
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.ServerDocument
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34285 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Microsoft.Office.Tools
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll
----------------------------------------
Microsoft.Office.Tools.Excel.Implementation
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.Implementation.dll
----------------------------------------
Microsoft.Office.Tools.Common.Implementation
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll
----------------------------------------
Microsoft.Office.Tools.Common
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll
----------------------------------------
ReCreateEmpty
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/c33426s/Documents/Visual%20Studio%202012/Projects/ReCreateEmpty/ReCreateEmpty/bin/Debug/ReCreateEmpty.DLL
----------------------------------------
Microsoft.Office.Tools.Common.v4.0.Utilities
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///C:/Users/c33426s/Documents/Visual%20Studio%202012/Projects/ReCreateEmpty/ReCreateEmpty/bin/Debug/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL
----------------------------------------
Microsoft.Office.Tools.Excel
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.dll
----------------------------------------
Microsoft.Office.Interop.Excel
Assembly Version: 14.0.0.0
Win32 Version: 14.0.4756.1000
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Excel/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Excel.dll
----------------------------------------
office
Assembly Version: 14.0.0.0
Win32 Version: 14.0.4760.1000
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll
Could someone help me understand what the issue could be and how I can circumvent it?

I am getting an Unhandled exception error when my application tries to load 10000 records in dynamic grid control

i am working on VC++ application, where all remit transactions are displaying in one of dynamic grid control. User has to double click on that master grid control and then detail window gets popup. In that detail level transactions are displayed for that master entry. (it's like drill down detail level). Now in this detail window grid control, first time only 1000 records are displaying. To display next 10000 records in dynamic grid ctrl, user clicked on 'Get Next' button. Here is the point that application goes in error:
"Unhanded exception at 0x78594826 in Qpay.exe: 0x800000x26: A long jump has been executed." and application got closed.
Application uses Oracel11g db.
Some times it error message is like "Unhandled exception error..." and below error code displays:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ATL.CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > >.=(CStringT<char\,StrTraitMFC_DLL<char\,ATL::ChTraitsCRT<char> > >* , Byte* )
at CRemDetail.PopulateDatatblctrl1(CRemDetail* )
at CRemDetail.OnInitDialog(CRemDetail* )
at CRemDetail.SCOnRemDetail(CRemDetail* , UserInfoStruct* pUserInfo, Int32 lSolar, InputDetailStruct Inputs, Int32 m_lSecCode)
at CRemUnrelDlg.OnCellDoubleClick(CRemUnrelDlg* , Object sender, DataGridViewCellEventArgs e)
at CRemUnrelDlg.delegate_proxy_type.OnCellDoubleClick(Object arg0, DataGridViewCellEventArgs arg1)
at System.Windows.Forms.DataGridView.OnCellDoubleClick(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnDoubleClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Qpay
Assembly Version: 0.0.0.0
Win32 Version: 2, 0, 0, 0
CodeBase: file:///C:/qpay/Qpay.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.6195
Win32 Version: 8.00.50727.6195
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MFCM90
Assembly Version: 9.0.30729.0
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_028bc148/MFCM90.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
----------------------------------------
CrystalDecisions.KeyCode
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.5.3700.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.XmlSerialize
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.XmlSerialize/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
CrystalDecisions.Web
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Web/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Web.dll
----------------------------------------
CrystalDecisions.Enterprise.Framework
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.268
CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Framework/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

ImageResizer.net with Cache Plugin causing duplicate output cache

I have a strange issue, whereby when I enable output caching in Orchard CMS and have ImageResizer.net cache plugin enabled, I get duplicated page content (full DOM). Just for reference, I am deploying to Azure Small Reserved instance.
Any ideas how to resolve this - do I need to create a cache profile for output cache not to cache images as this is taken care of by the cache plugin?
Thanks in advance,
Peter
Diagnostic information:
Image resizer diagnostic sheet 2/13/2013 9:07:32 PM
1 Issues detected:
(Warning): To potentially see additional errors here, perform an image resize request.
You are using paid bundles: Performance Bundle
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.MvcRoutingShim.MvcRoutingShimPlugin
ImageResizer.Plugins.DiskCache.DiskCache
Configuration:
<resizer>
<diagnostics enableFor="allhosts" />
<pipeline fakeExtensions=".ashx" />
<plugins>
<add name="MvcRoutingShim" />
<add name="DiskCache" />
</plugins>
</resizer>
Accepted querystring keys:
quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, scale, stretch, crop, cropxunits, cropyunits, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, ignoreicc, frame, useresizingpipeline, cache, process, margin, anchor, dpi, mode, zoom,
Accepted file extensions:
bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi,
Environment information:
Running Microsoft-IIS/7.5 on Microsoft Windows NT 6.1.7601 Service Pack 1 and CLR 4.0.30319.17929
Trust level: Unrestricted
OS bitness: x86 !! Warning, running as 32-bit on a 64-bit OS(AMD64). This will limit ram usage !!
Executing assembly: D:\Windows\SysWOW64\inetsrv\w3wp.exe
IntegratedPipeline: True
Loaded assemblies:
mscorlib Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Core Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Configuration Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xml Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Runtime.Caching Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.Build.Utilities.v4.0 Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.RegularExpressions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.JScript Assembly: 10.0.0.0 File: 11.0.50709.17929 Info: 11.0.50709.17929
System.Web.WebPages.Deployment Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Http.WebHost Assembly: 4.0.0.0 File: 4.0.20710.0
EnvSettings Assembly: 1.0.0.0 File: 7.1.1976.0
System.Web.WebPages Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.WebPages.Razor Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Mvc Assembly: 4.0.0.0 File: 4.0.20710.0
Microsoft.Web.Infrastructure Assembly: 1.0.0.0 File: 1.0.20105.407
App_global.asax Assembly: 0.0.0.0
Orchard.Web Assembly: 1.6.0.0 File: 1.6
Orchard.Framework Assembly: 1.6.0.0 File: 1.6
Autofac Assembly: 2.6.3.862 File: 2.6.3.862
System.ServiceModel.Activation Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ServiceModel.Internals Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ServiceModel Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
SMDiagnostics Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xaml.Hosting Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.Extensions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Orchard.WarmupStarter Assembly: 1.6.0.0 File: 1.6
Microsoft.CSharp Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xml.Linq Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.DynamicData Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Autofac.Configuration Assembly: 2.6.3.862 File: 2.6.3.862
Castle.Core Assembly: 1.1.0.0 File: 1.1.0.0 Info: 1.1.0.0
Castle.DynamicProxy2 Assembly: 2.1.0.0 File: 2.1.0.0 Info: 2.1.0.0
ClaySharp Assembly: 1.0.0.0 File: 1.0.0.0
FluentNHibernate Assembly: 1.3.0.733
Iesi.Collections Assembly: 1.0.1.0 File: 3.3.1.4000 Info: 1.0
ImageResizer Assembly: 3.2.4.698 File: 3.2.4.698 Info: 3-2-4 Commit: 4b94e40
ImageResizer.Mvc Assembly: 3.2.4.698 File: 3.2.4.698 Info: 3-2-4 Commit: 4b94e40
ImageResizer.Plugins.DiskCache Assembly: 3.2.4.698 File: 3.2.4.698 Info: 3-2-4 Commit: 4b94e40
log4net Assembly: 1.2.11.0 File: 1.2.11.0 Info: 1.2
MySql.Data Assembly: 6.5.4.0
Newtonsoft.Json Assembly: 4.5.0.0 File: 4.5.8.15203
NHibernate Assembly: 3.3.1.4000 File: 3.3.1.4000 Info: 3.3.1.4000
NHibernate.Linq Assembly: 0.0.0.0
NuGet.Core Assembly: 1.1.0.0
Orchard.Core Assembly: 1.6.0.0 File: 1.6
System.Data.SqlServerCe Assembly: 4.0.0.0 File: 4.0.8482.1 Info: 4.0
System.Net.Http Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net.Http.Formatting Assembly: 4.0.0.0 File: 4.0.20710.0
System.Web.Helpers Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Http Assembly: 4.0.0.0 File: 4.0.20710.0
System.Web.Razor Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Abstractions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.Routing Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Data.Linq Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Drawing Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ComponentModel.Composition Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Anonymously Hosted DynamicMethods Assembly Assembly: 0.0.0.0
System.Runtime.Serialization Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
Contrib.ProjectionLayouts Assembly: 0.0.0.0
Orchard.Forms Assembly: 1.6.0.0 File: 1.6
Orchard.Projections Assembly: 1.6.0.0 File: 1.6
Orchard.Alias Assembly: 1.6.0.0 File: 1.6
Orchard.Tokens Assembly: 1.6.0.0 File: 1.6
Orchard.Autoroute Assembly: 1.6.0.0 File: 1.6
Orchard.jQuery Assembly: 1.6.0.0 File: 1.6
Orchard.PublishLater Assembly: 1.6.0.0 File: 1.6
Orchard.Scripting Assembly: 1.6.0.0 File: 1.6
Orchard.Themes Assembly: 1.6.0.0 File: 1.6
Orchard.Widgets Assembly: 1.6.0.0 File: 1.6
Orchard.ContentPicker Assembly: 0.0.0.0
Orchard.Blogs Assembly: 1.6.0.0 File: 1.6
Orchard.Comments Assembly: 1.6.0.0 File: 1.6
Orchard.Disqus Assembly: 0.0.0.0
Orchard.Rules Assembly: 1.6.0.0 File: 1.6
Orchard.Media Assembly: 1.6.0.0 File: 1.6
Orchard.MediaPicker Assembly: 1.6.0.0 File: 1.6
Szmyd.Orchard.Modules.Sharing Assembly: 0.0.0.0
Lucene Assembly: 1.6.0.0 File: 1.6
Orchard.Users Assembly: 1.6.0.0 File: 1.6
System.Web.ApplicationServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Orchard.Roles Assembly: 1.6.0.0 File: 1.6
Orchard.ContentTypes Assembly: 1.6.0.0 File: 1.6
Orchard.DesignerTools Assembly: 1.6.0.0 File: 1.6
Orchard.Fields Assembly: 0.0.0.0
Orchard.Indexing Assembly: 1.4.1.0 File: 1.4.1
Orchard.Modules Assembly: 1.6.0.0 File: 1.6
Orchard.Packaging Assembly: 1.6.0.0 File: 1.6
System.Data.Services.Client Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Orchard.Pages Assembly: 1.6.0.0 File: 1.6
Orchard.Recipes Assembly: 1.6.0.0 File: 1.6
Orchard.Search Assembly: 1.6.0.0 File: 1.6
Orchard.Tags Assembly: 1.6.0.0 File: 1.6
Orchard.Warmup Assembly: 1.6.0.0 File: 1.6
SysCache Assembly: 0.0.0.0
TinyMce Assembly: 1.6.0.0 File: 1.6
Vandelay.Industries Assembly: 0.0.0.0
MovieRentalOffers Assembly: 1.0.0.0 File: 1.0.0.0
System.Data Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Transactions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.EnterpriseServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Numerics Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.GeneratedCode Assembly: 1.0.0.0
NHibernate.Caches.SysCache2 Assembly: 3.1.0.4000 File: 3.1.0.4000 Info: 3.1.0.4000
ActionRecordProxyAssembly Assembly: 0.0.0.0
ContentPartDefinitionRecordProxyAssembly Assembly: 0.0.0.0
Lucene.Net Assembly: 2.9.4.1 Info: 2.9.4
System.Web.Mobile Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xaml Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
PermissionRecordProxyAssembly Assembly: 0.0.0.0
System.Dynamic Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
ContentFieldDefinitionRecordProxyAssembly Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
ContentItemRecordProxyAssembly Assembly: 0.0.0.0
App_Web_bjaujelw Assembly: 0.0.0.0
App_Web_3ucixrnn Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
App_Web_hqpkyqpq Assembly: 0.0.0.0
App_Web_4rtpbaer Assembly: 0.0.0.0
App_Web_hn4szlb4 Assembly: 0.0.0.0
ContentTypeRecordProxyAssembly Assembly: 0.0.0.0
App_Web_fmcezex3 Assembly: 0.0.0.0
App_Web_0wv5slaj Assembly: 0.0.0.0
App_Web_z1olvxy5 Assembly: 0.0.0.0
ProviderPartRecordProxyAssembly Assembly: 0.0.0.0
App_Web_j0ak4epp Assembly: 0.0.0.0
This can be reproduced without ImageResizer, using the following HttpModule:
public class BlankModule : IHttpModule {
void IHttpModule.Init(System.Web.HttpApplication context) {
//Having any event handlers registered for this event causes cache duplication during the Filter execution
context.PreSendRequestHeaders -= context_PreSendRequestHeaders;
context.PreSendRequestHeaders += context_PreSendRequestHeaders;
}
void IHttpModule.Dispose() { }
protected void context_PreSendRequestHeaders(object sender, EventArgs e) {}
}
Make sure you register it in Web.Config:
<system.webServer>
<modules>
<add name="BlankModule" type="BlankModule"/>
</modules>
</system.webServer>
Register another copy of the module, and you'll get tripled responses, not just doubled.
This is not necccessarily a bug in Orchard.Cache.Contrib; it's more likely a bug in the way ASP.NET handles PreSendRequestHeaders in combination with buffered response filters.
Unfortunately, there's no easy workaround from the ImageResizer side, as ImageResizer needs to be able to set the correct mime-type for an IIS-served file, which means PreSendRequestHeaders.
Bug reports:
ASP.NET: https://aspnet.codeplex.com/workitem/10347
Orchard Contrib.Cache: https://orchardcache.codeplex.com/workitem/26
Orchard 1.7 and new OutputCache module solves this problem. You can view it here: https://orchardcache.codeplex.com/workitem/26

Resources