2016-05-12 52 views
0

我購買了性能許可證並將其添加到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 

回答

0

使用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的 –

相關問題