4.1.9 的许可问题(MyGet 中可能存在非 DRM)
License issues with 4.1.9 (possible non-DRM in MyGet)
我尝试更新到版本 4.1.9,但根据诊断页面,二进制文件似乎没有 DRM-free。
如果有人可以验证 MyGet 存储库中的 4.1.9 二进制文件是无 DRM 的,我将不胜感激。
另一个用户在这里遇到了类似的事情:。
我没有运气就完成了“排除 DRM-free 安装故障”中的所有步骤。我的计算机和构建服务器上有相同的二进制文件。
我降级到版本 4.1.8 并开始遇到我认为在 4.1.9 中已修复的问题,所以我希望它能正常工作。
这是错误的堆栈跟踪:
System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at ImageResizer.Configuration.Performance.CircularTimeBuffer.<>c.<DequeueValues>b__14_0(TimeSlotResult r)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at ImageResizer.Configuration.Performance.PerIntervalSampling.FireCallbackEvents()
at ImageResizer.Configuration.Performance.PerIntervalSampling.Record(Int64 timestamp, Int64 count)
at ImageResizer.Configuration.Performance.MultiIntervalStats.Record(Int64 timestamp, Int64 count)
at ImageResizer.Configuration.Performance.GlobalPerf.JobComplete(ImageBuilder builder, ImageJob job)
at ImageResizer.ImageBuilder.Build(ImageJob job)
at ImageResizer.InterceptModule.<>c__DisplayClass5_0.<HandleRequest>b__1(Stream stream)
at ImageResizer.Plugins.DiskCache.CustomDiskCache.<>c__DisplayClass29_0.<TryWriteFile>b__0()
at ImageResizer.Plugins.DiskCache.LockProvider.TryExecute(String key, Int32 timeoutMs, LockCallback success)
at ImageResizer.Plugins.DiskCache.CustomDiskCache.GetCachedFile(String keyBasis, String extension, ResizeImageDelegate writeCallback, Int32 timeoutMs, Boolean asynchronous)
at ImageResizer.Plugins.DiskCache.DiskCache.Process(IResponseArgs e)
at ImageResizer.Plugins.DiskCache.DiskCache.Process(HttpContext context, IResponseArgs e)
at ImageResizer.InterceptModule.HandleRequest(HttpContext context, HttpModuleRequestAssistant ra, IVirtualFile vf)
at ImageResizer.InterceptModule.CheckRequest_PostAuthorizeRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
以下是诊断页面的摘录:
Diagnostics for ImageResizer 4.1.8 2a9f6322 at localhost generated 8/28/2017 1:58:01 PM
Please remember to provide this page when contacting support.
---------------------- Licensing OFF -----------------------
You are using a DRM-disabled version of ImageResizer. License enforcement is OFF.
DRM-enabled assemblies (if present) would see <licenses licenseError='Watermark'>
Need to change domains? Get a discounted upgrade to a floating license: https://imageresizing.net/licenses/convert
---------------------- Licensing OFF -----------------------
You are using ImageResizer Performance Edition plugins.
0 issues detected:
Configuration:
<resizer>
<plugins>
<add name="FastScaling" />
<add name="RemoteReader" />
<add name="EPiServerBlobReaderPlugin" />
<add name="EPiFocalPointPlugin" />
<add name="DiskCache" />
</plugins>
<diskcache dir="~/App_Data/ImageCache" />
<remotereader allowAllSignedRequests="true" signingKey="[redacted]" />
<clientcache minutes="1440" />
</resizer>
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.FastScaling.FastScalingPlugin
ImageResizer.Plugins.RemoteReader.RemoteReaderPlugin
ImageResizer.Plugins.EPiServerBlobReader.EPiServerBlobReaderPlugin
ImageResizer.Plugins.EPiFocalPoint.EPiFocalPointPlugin
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.DiskCache.DiskCache]
Accepted querystring keys:
quality, format, thumbnail, 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/8.5 on Microsoft Windows NT 6.3.9600.0 and CLR 4.0.30319.42000
Trust level: Unrestricted
OS bitness: AMD64
Executing assembly: c:\windows\system32\inetsrv\w3wp.exe
IntegratedPipeline: True
现在已通过检索许可证并将其添加到 Web.config 而不是依赖无 DRM 二进制文件来解决此问题。
我尝试更新到版本 4.1.9,但根据诊断页面,二进制文件似乎没有 DRM-free。
如果有人可以验证 MyGet 存储库中的 4.1.9 二进制文件是无 DRM 的,我将不胜感激。
另一个用户在这里遇到了类似的事情:
我降级到版本 4.1.8 并开始遇到我认为在 4.1.9 中已修复的问题,所以我希望它能正常工作。
这是错误的堆栈跟踪:
System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at ImageResizer.Configuration.Performance.CircularTimeBuffer.<>c.<DequeueValues>b__14_0(TimeSlotResult r)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at ImageResizer.Configuration.Performance.PerIntervalSampling.FireCallbackEvents()
at ImageResizer.Configuration.Performance.PerIntervalSampling.Record(Int64 timestamp, Int64 count)
at ImageResizer.Configuration.Performance.MultiIntervalStats.Record(Int64 timestamp, Int64 count)
at ImageResizer.Configuration.Performance.GlobalPerf.JobComplete(ImageBuilder builder, ImageJob job)
at ImageResizer.ImageBuilder.Build(ImageJob job)
at ImageResizer.InterceptModule.<>c__DisplayClass5_0.<HandleRequest>b__1(Stream stream)
at ImageResizer.Plugins.DiskCache.CustomDiskCache.<>c__DisplayClass29_0.<TryWriteFile>b__0()
at ImageResizer.Plugins.DiskCache.LockProvider.TryExecute(String key, Int32 timeoutMs, LockCallback success)
at ImageResizer.Plugins.DiskCache.CustomDiskCache.GetCachedFile(String keyBasis, String extension, ResizeImageDelegate writeCallback, Int32 timeoutMs, Boolean asynchronous)
at ImageResizer.Plugins.DiskCache.DiskCache.Process(IResponseArgs e)
at ImageResizer.Plugins.DiskCache.DiskCache.Process(HttpContext context, IResponseArgs e)
at ImageResizer.InterceptModule.HandleRequest(HttpContext context, HttpModuleRequestAssistant ra, IVirtualFile vf)
at ImageResizer.InterceptModule.CheckRequest_PostAuthorizeRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
以下是诊断页面的摘录:
Diagnostics for ImageResizer 4.1.8 2a9f6322 at localhost generated 8/28/2017 1:58:01 PM
Please remember to provide this page when contacting support.
---------------------- Licensing OFF -----------------------
You are using a DRM-disabled version of ImageResizer. License enforcement is OFF.
DRM-enabled assemblies (if present) would see <licenses licenseError='Watermark'>
Need to change domains? Get a discounted upgrade to a floating license: https://imageresizing.net/licenses/convert
---------------------- Licensing OFF -----------------------
You are using ImageResizer Performance Edition plugins.
0 issues detected:
Configuration:
<resizer>
<plugins>
<add name="FastScaling" />
<add name="RemoteReader" />
<add name="EPiServerBlobReaderPlugin" />
<add name="EPiFocalPointPlugin" />
<add name="DiskCache" />
</plugins>
<diskcache dir="~/App_Data/ImageCache" />
<remotereader allowAllSignedRequests="true" signingKey="[redacted]" />
<clientcache minutes="1440" />
</resizer>
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.FastScaling.FastScalingPlugin
ImageResizer.Plugins.RemoteReader.RemoteReaderPlugin
ImageResizer.Plugins.EPiServerBlobReader.EPiServerBlobReaderPlugin
ImageResizer.Plugins.EPiFocalPoint.EPiFocalPointPlugin
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.DiskCache.DiskCache]
Accepted querystring keys:
quality, format, thumbnail, 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/8.5 on Microsoft Windows NT 6.3.9600.0 and CLR 4.0.30319.42000
Trust level: Unrestricted
OS bitness: AMD64
Executing assembly: c:\windows\system32\inetsrv\w3wp.exe
IntegratedPipeline: True
现在已通过检索许可证并将其添加到 Web.config 而不是依赖无 DRM 二进制文件来解决此问题。