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

时间:2016-05-12 15:30:46

标签: imageresizer

我已购买Performance许可证并将其添加到web.config,但仍有红点。不确定这是因为我是为domain.com注册的,而是在www.domain.com上使用它

诊断页面告诉我没有许可证。这是输出。知道我做错了吗?

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

1 个答案:

答案 0 :(得分:0)

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

更新:我错过了!

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

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