本帖最后由 nghf 于 2014-11-13 11:01 编辑
服务器IIS7.0
web.config如下:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configSections>
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
</configSections>
<FineUIPro Theme="Redmond" DebugMode="true" FormLabelAlign="Right" />
<appSettings>
<add key="SqlServerConnString" value="Data Source=127.0.0.1,2433;Initial Catalog=aaaersist Security Info=True;User ID=aaassword=aaa" />
<add key="TitleString" value="" />
<add key="rojectInfo" value="" />
</appSettings>
<connectionStrings />
<system.web>
<webServices>
<protocols>
<add name="HttpPost" />
<add name="HttpGet" />
</protocols>
</webServices>
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="60" />
<!-- Net3.5以上的项目,一定要为pages节点加上这两个属性:controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" -->
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" validateRequest="false">
<controls>
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" />
</controls>
</pages>
<httpModules>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
</httpModules>
<httpHandlers>
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
</httpHandlers>
<httpRuntime requestValidationMode="2.0" maxRequestLength="1024000 " />
<customErrors mode="Off" />
<compilation debug="true" defaultLanguage="c#" targetFramework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
</compilation>
<machineKey validationKey="760D2E511628F7C4E60F246CF55E35C247923804A88A84654B20C8641FC930B5B2B8D77EDB785C2B4AC74496F7A9E68EF27C2CD6A86241B86AB51703DBA21890" decryptionKey="835E3A1B6B5FC1521DAD6A598FA01D8A3D0C5FEDF72BBC5E13D40D1F674AAB6F" validation="SHA1" decryption="AES" />
</system.web>
<system.webServer>
<modules>
<add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/>
</modules>
<handlers>
<add name="FineUIResAxd" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" />
</handlers>
</system.webServer>
</configuration>
|