Could Not Load Skin: /Portals/0/Skins/beyondcss/1column_speerio.ascx Error: E:"Development"DotNetNuke"InstallArea"DotNetNuke_04.08.03_Source"Website"controls"Speerio"Skinergy"skinprefs.ascx(35): error BC30561: 'Image' is ambiguous, imported from the namespaces or types 'System.Web.UI.WebControls, System.Drawing'.
解决办法如下:
在DNN网站的根目录/controls/Speerio/Skinergy
找到skinprefs.ascx的36行,用如下代码替换:
Sub InjectStyleSheet(ByVal cookieId As String, ByVal suffix As String, small As System.Web.UI.WebControls.Image, medium As System.Web.UI.WebControls.Image, large As System.Web.UI.WebControls.Image)
把 adminpanel.ascx 的第一行用如下代码替换:
<%@ Control language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.ControlPanels.IconBar" CodeFile="~/admin/ControlPanel/iconbar.ascx.vb" %>
之后 Speerio Skinergy Accessibility皮肤对象就可以正常工作了。
这是使用Speerio Skinergy实现的效果。
提供修正后的 Speerio Skinergy下载,已改正这个Bug:http://files.cnblogs.com/m2land/Speerio_Skinergy.zip