| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 812 人关注过本帖
标题:哥哥们来帮忙下,
取消只看楼主 加入收藏
myanos
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-10-16
收藏
 问题点数:0 回复次数:0 
哥哥们来帮忙下,
哥哥们来帮忙下,,按照这个程序的作者改了相应的地方都不行 不是报错就是连接不上数据库,请哥哥们帮忙看看。
以下是代码
<?xml version="1.0"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website-> Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine. usually located in
    \Windows\\Framework\v2.x\Config
-->
<configuration>
  <appSettings>
    <add key="ConnString" value="Data Source=TONG\SQLEXPRESS;Initial Catalog=PCMSys;User ID=sa;Password=sa"/>
  </appSettings>
    <connectionStrings>
  <add name="PCMSysConnectionString" connectionString="Data Source=TONG\SQLEXPRESS;Initial Catalog=PCMSys;User ID=sa;Password=sa"
   providerName="System.Data.SqlClient" />
  <add name="PCMSysConnectionString2" connectionString="Data Source=TONG\SQLEXPRESS;Initial Catalog=PCMSys;User ID=sa;Password=sa"
   providerName="System.Data.SqlClient" />
 </connectionStrings>
    <system.web>
        <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
        <compilation debug="true"/>
        <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
             to identify an incoming user.
        -->
        <authentication mode="Windows"/>
        <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
    </system.web>
</configuration>
搜索更多相关主题的帖子: Website Windows settings 
2012-10-16 21:34
快速回复:哥哥们来帮忙下,
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.041707 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved