我修改了以前的服务器程序,将以前的文件夹删除!,然后将新的同名文件夹复制到目录下产生了错误!
如下:
Server Error in '/siadr-oa' Application.
--------------------------------------------------------------------------------用户 'sa' 登录失败。 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 用户 'sa' 登录失败。Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
[SqlException: 用户 'sa' 登录失败。]
   System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
   System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
   System.Data.SqlClient.SqlConnection.Open() +384
   WebOA.Data.DataCommand.b() +71
   WebOA.Data.DataCommand.ExecuteDataTable() +25
   WebOA._Default1.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\siadr\default.aspx.cs:48
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573