Imageresizer:图像上的红点虽然我已经购买了许可证

问题描述:

我购买了性能许可证并将其添加到web.config,但仍有红点。不知道这是因为我注册它为domain.com,但我使用它在www.domain.comImageresizer:图像上的红点虽然我已经购买了许可证

诊断页告诉我,我没有许可证。这是输出。任何想法我做错了什么?

0 Issues detected: 

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] 

Configuration: 

<resizer> 
<pipeline fakeExtensions=".ashx" defaultCommands="autorotate.default=true" /> 
<diagnostics enableFor="allhosts" /> 
<licences> 
<license> 

     tspc.co.uk(R4Performance includes R4Performance):RG9tY--lotsmorelicensestuff== 
    </license> 
</licences> 
<plugins> 
<add name="DiskCache" /> 
</plugins> 
</resizer> 


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/8.5 on Microsoft Windows NT 6.3.9600.0 and CLR 4.0.30319.34014 
Trust level: Unrestricted 
OS bitness: AMD64 
Executing assembly: c:\windows\system32\inetsrv\w3wp.exe 
IntegratedPipeline: True 

Installed HttpModules: 

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.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) 
ImageResizer.InterceptModule, ImageResizer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null   (under keyImageResizingModule) 

Loaded assemblies: 

mscorlib         Assembly: 4.0.0.0   File: 4.0.30319.34014 Info: 4.0.30319.34014 
System.Web        Assembly: 4.0.0.0   File: 4.0.30319.34274 Info: 4.0.30319.34274 
System         Assembly: 4.0.0.0   File: 4.0.30319.34239 Info: 4.0.30319.34239 
System.Core        Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Configuration      Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Xml        Assembly: 4.0.0.0   File: 4.0.30319.34230 Info: 4.0.30319.34230 
System.Web.ApplicationServices   Assembly: 4.0.0.0   File: 4.0.30319.34274 Info: 4.0.30319.34274 
Microsoft.Build.Utilities.v4.0   Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Runtime.Caching     Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Data        Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Web.RegularExpressions   Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
Microsoft.JScript      Assembly: 10.0.0.0  File: 12.0.20806.33440 Info: 12.0.20806.33440 
System.Web.Extensions     Assembly: 4.0.0.0   File: 4.0.30319.34274 Info: 4.0.30319.34274 
Microsoft.CSharp       Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Web.Services      Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Drawing       Assembly: 4.0.0.0   File: 4.0.30319.34262 Info: 4.0.30319.34262 
System.EnterpriseServices    Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.IdentityModel      Assembly: 4.0.0.0   File: 4.0.30319.34230 Info: 4.0.30319.34230 
System.Runtime.Serialization    Assembly: 4.0.0.0   File: 4.0.30319.34230 Info: 4.0.30319.34230 
System.ServiceModel      Assembly: 4.0.0.0   File: 4.0.30319.34230 Info: 4.0.30319.34230 
System.ServiceModel.Activation   Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.ServiceModel.Web     Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Activities      Assembly: 4.0.0.0   File: 4.0.30319.34230 Info: 4.0.30319.34230 
System.ServiceModel.Activities   Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.WorkflowServices     Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Data.DataSetExtensions   Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.Xml.Linq       Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0   File: 4.0.30319.34262 Info: 4.0.30319.34262 
System.Web.DynamicData     Assembly: 4.0.0.0   File: 4.0.30319.33440 Info: 4.0.30319.33440 
ImageResizer        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 

使用iisreset重新启动IIS。诊断页面始终从Web.config获取最新信息,但ASP.NET运行时和IIS常常无法检测到文件更改。

更新:我错过了!

更改<licences><licenses>,然后重新启动。

您在购买根域时是正确的;包含子域名。

+0

感谢您的快速响应。我已经这样做了,但现在我开始认为我在注册根域时犯了一个错误。这是当前的调试器输出。 –

+0

图像缩放诊断片\t \t \t www.tspc.co.uk 2016年12月5日15时57分11秒 2个问题检测: 大小调整器配置(错误):\t无许可证找到域www.tspc.co .UK - 安装的功能:R4Performance或R4DiskCache \t \t \t 缩放器配置(错误):\t未找到域new.tspc.co.uk许可证 - 功能安装:R4Performance或R4DiskCache –

+0

感谢,这是它排序!谁会想到它会降到美国/英国的拼写问题! 顺便说一句,无关我的问题,而是你“安装许可证密钥”页面上,你有两个关标签时,第二应该是 欢呼 Garve的 –