web.config配置ajaxpro,sqlhelper
2009-12-12 11:03
302 查看
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="connstr" value="server=.;database=webshop;uid=sa;pwd="/>
</appSettings>
<connectionStrings>
<add name="conn" providerName="System.Data.SqlClient" connectionString="server=.;database=webshop;uid=sa;pwd="/>
</connectionStrings>
<system.web>
<compilation debug="true">
<assemblies>
</assemblies>
</compilation>
<authentication mode="Windows"/>
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
<httpHandlers>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
</system.web>
</configuration>
<configuration>
<appSettings>
<add key="connstr" value="server=.;database=webshop;uid=sa;pwd="/>
</appSettings>
<connectionStrings>
<add name="conn" providerName="System.Data.SqlClient" connectionString="server=.;database=webshop;uid=sa;pwd="/>
</connectionStrings>
<system.web>
<compilation debug="true">
<assemblies>
</assemblies>
</compilation>
<authentication mode="Windows"/>
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
<httpHandlers>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
</system.web>
</configuration>
相关文章推荐
- ajaxpro在webconfig里的配置
- AjaxPro.dll和AjaxPro.2.dll的web配置方法
- atlas和ajaxpro以及微软企业级类库在一起得web配置文件
- VS2013利用ajax访问不了json文件——VS2013配置webconfig识别json文件
- 使用Ajax Web.config配置
- vs2005中ajax应用及配置webconfig
- ajax web.config配置与发布
- Ajax的Web.config配置
- AjaxPro.dll和AjaxPro.2.dll的web配置方法
- VS2013利用ajax访问不了json文件——VS2013配置webconfig识别json文件
- Asp.net Ajax的start和web.config配置
- ASP.NET 2.0应用程序添加ASP.NET AJAX 组件引用之web.config配置
- ajax web.config配置与发布
- 山寨AjaxPro,解决分布式问题,实现主流接口,保留原版的API方法,唯一的不同是稍微修改下webconfig
- Ajax的Web.config配置
- 在web.config中配置AJAX
- vs2005中ajax应用及配置webconfig
- 安装AJAX Documents 时候发生的web.config文件配置错误的解决方法
- AJAX配置Web.Config
- Ajax中web.config的配置文件