<?xml version="1.0"?>
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>
</configSections>
<connectionStrings>
<add name="db_BlogConnectionString" connectionString="Data Source=.;Initial Catalog=db_Blog;User ID=sa"
providerName="System.Data.SqlClient" />
<add name="db_BlogConnectionString2" connectionString="Data Source=.;Initial Catalog=db_Blog;User ID=sa"
providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="conStr" value="Server=(local);DataBase=db_Blog;uid=sa;pwd="/>
</appSettings>
<RewriterConfig>
<Rules>
<!-- Rules for Blog Content Displayer -->
<RewriterRule>
<LookFor>~/(\d+)\.aspx</LookFor>
<SendTo>~/ST_show.aspx?id=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/BlogIndex_(.*)_(\d+)\.aspx</LookFor>
<SendTo>~/BlogIndex.aspx?c_id=$2&name=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/BlogIndex_(.*)\.aspx</LookFor>
<SendTo>~/BlogIndex.aspx?name=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<system.web>
<httpModules>
<add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter"/>
</httpModules>
<!--
<httpHandlers>
<add verb="*" path="*.aspx"
type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
--> <compilation defaultLanguage="c#" debug="true">
<compilers>
<compiler language="c#" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".cs" compilerOptions="/d:DEBUG;TRACE"/></compilers></compilation> <customErrors mode="Off"/>
--> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<xhtmlConformance mode="Legacy"/></system.web>
</configuration>
<compilers></compilers>显示无效错误 怎么改
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>
</configSections>
<connectionStrings>
<add name="db_BlogConnectionString" connectionString="Data Source=.;Initial Catalog=db_Blog;User ID=sa"
providerName="System.Data.SqlClient" />
<add name="db_BlogConnectionString2" connectionString="Data Source=.;Initial Catalog=db_Blog;User ID=sa"
providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="conStr" value="Server=(local);DataBase=db_Blog;uid=sa;pwd="/>
</appSettings>
<RewriterConfig>
<Rules>
<!-- Rules for Blog Content Displayer -->
<RewriterRule>
<LookFor>~/(\d+)\.aspx</LookFor>
<SendTo>~/ST_show.aspx?id=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/BlogIndex_(.*)_(\d+)\.aspx</LookFor>
<SendTo>~/BlogIndex.aspx?c_id=$2&name=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/BlogIndex_(.*)\.aspx</LookFor>
<SendTo>~/BlogIndex.aspx?name=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<system.web>
<httpModules>
<add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter"/>
</httpModules>
<!--
<httpHandlers>
<add verb="*" path="*.aspx"
type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
--> <compilation defaultLanguage="c#" debug="true">
<compilers>
<compiler language="c#" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".cs" compilerOptions="/d:DEBUG;TRACE"/></compilers></compilation> <customErrors mode="Off"/>
--> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<xhtmlConformance mode="Legacy"/></system.web>
</configuration>
<compilers></compilers>显示无效错误 怎么改
解决方案 »
- 这段SQL在ASP.NET中执行总提示超时。。
- asp.net怎么获取正则表达式,跪求.
- 如何查找数据库里有没有这行信息
- 这个问题我想不通`````帮我看看``关于字符串的
- ************100分 谁能帮我把我要求的数据查出来就归他拉?!
- 高手赐教!上传大文件时弹出Loading进度条,有人用AjaxPro.net做过类似的例子么?
- jquery怎么获得选中对象
- 如何在发帖的时候加个开关可以由发帖人选择需要ubb还是不需要ubb转换?
- 用户控件传参数引起的莫明其妙的问题!
- 关于定时生成图表的问题
- JS获取repeater列数据对比,小于则颜色为红色
- 关于在ASP.NET中把大数据量的表放在Cache中,出现内存占用过多的问题,求达人帮帮忙!
<compilers></compilers>
删掉
最后多了个complier根节点了
服务器名 LXJ-PC\SQLEXPRESS
IP 192.168.1.6
服务器就是本机