安装步骤到数据库就卡住了System.IO.FileNotFoundException: 未能找到文件“C:\inetpub\iexamV90615\install\tmp\temp.sql”。文件名:“C:\inetpub\iexamV90615\install\tmp\temp.sql” 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) 在 System.IO.StreamReader..ctor(String path, Encoding encoding) 在 Kesion.NET.WebSite.install.Index.beginInstallDB() 在 ASP.install_index_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) 位置 C:\inetpub\iexamV90615\install\Index.aspx:行号 613 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 在 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) 在 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) 在 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 在 System.Web.UI.Page.Render(HtmlTextWriter writer) 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
使用sql导入安装后存在错误ystem.Data.SqlClient.SqlException (0x80131904): 数据库中已存在名为 'KS_PaperError' 的对象。 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 在 Kesion.DataBase.DBHelper.ExecuteNonQuery(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) 在 Kesion.DataBase.DBHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) 在 Kesion.DataBase.DBHelper.ExecuteNonQuery(CommandType commandType, String commandText, DbParameter[] commandParameters) 在 Kesion.SqlDAL.DataFactory.ExecuteNonQuery(String commandText) 在 Kesion.BLL.DataFactory.ExecuteNonQuery(String commandText) 在 Kesion.NET.WebSite.Admin.Index.Page_Load(Object sender, EventArgs e) 在 System.Web.UI.Control.OnLoad(EventArgs e) 在 System.Web.UI.Control.LoadRecursive() 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)ClientConnectionId:691487b2-a4c8-4e19-a5ce-1f2c53e750d5