本帖最后由 god33 于 2016-2-15 11:27 编辑
2个DLL:FineUI.dll 4.2.2.0 ,Newtonsoft.Json.dll 5.0.8直接复制FineUIExample里面的,web.config下面,icon文件放在跟目录的res文件里面
下面是config文件,麻烦朋友帮我看看那里问题,解决不了。
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
- </configSections>
- <appSettings configSource="App_Code\Config.xml" />
- <FineUI DebugMode="true" Theme="Neptune" />
- <system.web>
- <!-- Session过期时间 -->
- <sessionState mode="InProc" timeout="1440" />
- <!--设置网站全局 ASP.NET 页的字符编码格式-->
- <!--<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />-->
- <globalization requestEncoding="gb2312" responseEncoding="gb2312" fileEncoding="gb2312" culture="zh-CN" />
-
- <!--默认错误页设置-->
- <customErrors defaultRedirect="Err.html" mode="RemoteOnly">
- <!--特殊代码编号的错误从定向文件-->
- <error statusCode="403" redirect="NoAccess.htm" />
- <error statusCode="404" redirect="FileNotFound.htm" />
- </customErrors>
-
- <compilation debug="true" targetFramework="4.0" />
- <httpRuntime maxRequestLength="512000" requestValidationMode="2.0" />
-
- <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" validateRequest="false">
- <controls>
- <add assembly="FineUI" namespace="FineUI" tagPrefix="f" />
- </controls>
- </pages>
-
- <httpModules>
- <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
- </httpModules>
- <httpHandlers>
- <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false" />
- </httpHandlers>
-
- </system.web>
- <location path="icon">
- <system.web>
- <authorization>
- <allow users="*" />
- </authorization>
- </system.web>
- </location>
- <location path="res">
- <system.web>
- <authorization>
- <allow users="*" />
- </authorization>
- </system.web>
- </location>
- <location path="extjs">
- <system.web>
- <authorization>
- <allow users="*" />
- </authorization>
- </system.web>
- </location>
- <location path="res.axd">
- <system.web>
- <authorization>
- <allow users ="*" />
- </authorization>
- </system.web>
- </location>
-
- <entityFramework>
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
- <parameters>
- <parameter value="v11.0" />
- </parameters>
- </defaultConnectionFactory>
- <providers>
- <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
- </providers>
- </entityFramework>
-
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
-
- <system.webServer>
- <modules>
- <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
- </modules>
- <handlers>
- <add name="FineUIResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" />
- </handlers>
- <httpErrors errorMode="Detailed" />
- <validation validateIntegratedModeConfiguration="false" />
- <asp scriptErrorSentToBrowser="true" />
- <defaultDocument>
- <files>
- <clear />
- <add value="index.htm" />
- <!--<add value="index.html" />
- <add value="iisstart.htm" />
- <add value="default.aspx" />
- <add value="Default.htm" />
- <add value="Default.asp" />-->
- </files>
- </defaultDocument>
- </system.webServer>
- </configuration>
复制代码
|