Restore Database Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 年 前
Hi,

when i'm try to restore the database i get the following error:

Exception of type 'System.Web.HttpUnhandledException' was thrown.  

Exception:  System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.WriteSni() at System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode) at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush() at System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DbCommand command) at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DbCommand command) at NopSolutions.NopCommerce.DataAccess.Audit.SQLLogProvider.InsertLog(Int32 LogTypeID, Int32 Severity, String Message, String Exception, String IPAddress, Int32 CustomerID, String PageURL, String ReferrerURL, DateTime CreatedOn) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.DataAccess.SqlServer\Audit\SQLLogProvider.cs:line 184 at NopSolutions.NopCommerce.BusinessLogic.Audit.LogManager.InsertLog(LogTypeEnum LogType, Int32 Severity, String Message, Exception exception, String IPAddress, Int32 CustomerID, String PageURL) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Audit\LogManager.cs:line 181 at NopSolutions.NopCommerce.BusinessLogic.Audit.LogManager.InsertLog(LogTypeEnum LogType, String Message, Exception Exception) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Audit\LogManager.cs:line 146 at NopSolutions.NopCommerce.Web.BaseNopAdministrationUserControl.ProcessException(Exception exc, Boolean showError) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\NopCommerceStore\Controls\BaseNopAdministrationUserControl.cs:line 76 at NopSolutions.NopCommerce.Web.BaseNopAdministrationUserControl.ProcessException(Exception exc) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\NopCommerceStore\Controls\BaseNopAdministrationUserControl.cs:line 71 at NopSolutions.NopCommerce.Web.Administration.Modules.MaintenanceControl.RestoreButton_OnCommand(Object sender, CommandEventArgs e) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\NopCommerceStore\Administration\Modules\Maintenance.ascx.cs:line 96 at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Excep  

I think that is a problem in code because i don't have this folder in my host (F:\Own\NopCommerce\EnterpriseEdition\1.5Release...)

Can you help?
Thanks
12 年 前
I am having the same problem on version 1.7
The restore works when running the website in debug mode in Visual Studio 2010
but it does not work when I access the website via normal means using the domain name pointed at IIS
Website and database are the same for both

I get the error

RESTORE DATABASE is terminating abnormally.
Exception: System.Data.SqlClient.SqlException (0x80131904): RESTORE DATABASE is terminating abnormally. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean

A
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.