我是用FineUI专业版2.6进行开发的,还没有买授权,不过还在试用期内。
自己开发了一个测试网站,在本机发布网站时,可以显示界面,但是到其他电脑发布网站,只能显示验证码,登陆界面完全看不到。
以下是我的web.config配置信息
<configuration>
<configSections>
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
</configSections>
<!-- 可用的配置项(这里列的都是默认值):
Theme="Default"
Language="zh_CN"
DebugMode="false"
FormMessageTarget="Qtip"
FormOffsetRight="0"
FormLabelWidth="100"
FormLabelSeparator=":"
FormLabelAlign="Left"
FormRedStarPosition="AfterText"
EnableAjax="true"
EnableAjaxLoading="true"
AjaxTimeout="120"
AjaxLoadingType="Default"
AjaxLoadingText=""
ShowAjaxLoadingMaskText=false
AjaxLoadingMaskText=""
CustomTheme=""
CustomThemeBasePath="~/res/themes"
IconBasePath="~/res/icon"
JSBasePath="~/res/js"
IEEdge="true"
EnableShim="false"
EnableCompactMode="false"
-->
<FineUIPro DebugMode="true" Theme="Default"/>
<system.web>
<!-- Net4.0以上的项目,一定要为pages节点加上这两个属性:controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" -->
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<controls>
<!--<add tagPrefix="anthem" namespace="Anthem" assembly="Anthem"/>-->
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f"/>
</controls>
</pages>
<httpModules>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
</httpModules>
<httpHandlers>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
</httpHandlers>
<!-- 请求正文的最大值: 512000K = 500M -->
<httpRuntime maxRequestLength="512000"/>
<customErrors mode="Off"/>
<compilation debug="true" targetFramework="4.0">
<buildProviders>
<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider"/>
</buildProviders>
<assemblies>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<!--
在虚拟主机中运行ASP.NET程序,要添加如下配置项,否则在页面回发时可能出现“验证视图状态 MAC 失败”的错误。
如何生成MachineKey:http://blogs.msdn.com/b/amb/arch ... ate-machinekey.aspx
<machineKey decryptionKey="7E2D92E82700F80C72AA0F6FBE42CCDB76A9A29805355115,IsolateApps" validationKey="40C295F1C6E7332867DD50EBAD174E3A5EF52212070B15519FAB47C00B9EEFA18F24643EFB59FC10946F75CE2EF2DB2D6437BA23CF55A1E358FA32FB25DFFE74,IsolateApps" />
-->
<!--
<authentication mode="Forms">
<forms name=".ASPXFORMSAUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
-->
</system.web>
<system.webServer>
<directoryBrowse enabled="true"/>
<validation validateIntegratedModeConfiguration="false"/>
<defaultDocument>
<files>
<add value="Login.aspx"/>
</files>
</defaultDocument>
</system.webServer>
<!--
<location path="res.axd">
<system.web>
<authorization>
<allow users ="*" />
</authorization>
</system.web>
</location>
-->
</configuration>
|