ehsaun_kkt
January 19th, 2016, 15:09
دوستان
میخوام دیتابیس سایتم رو به یک هاست دیگه انتقال بدم اما هنگام ریستور کردن در وبسایتپنل ارور زیر میاد:
دیتابیس سایت sql2008r2
دیتابیس هاستینگ sql2012
ارور:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'RESTORE' task on 'karoonir_1292' SQL_DATABASE ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Cannot open backup device 'C:\Users\WPServer.WIN-UNI14Q3F7PL\AppData\Local\Temp\d14bc9ef-2330-4950-b638-f56552daa579\data.bak'. Operating system error 5(Access is denied.).
RESTORE FILELIST is terminating abnormally.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMeta Data()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataRead er(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at WebsitePanel.Providers.Database.MsSqlServer.Execut eQuery(String commandText, String connectionString)
at WebsitePanel.Providers.Database.MsSqlServer.Execut eQuery(String commandText)
at WebsitePanel.Providers.Database.MsSqlServer.GetBac kupFiles(String file)
at WebsitePanel.Providers.Database.MsSqlServer.Restor eFromBackup(SqlDatabase database, String[] files)
at WebsitePanel.Providers.Database.MsSqlServer.Restor eDatabase(String databaseName, String[] files)
at WebsitePanel.Server.DatabaseServer.RestoreDatabase (String databaseName, String[] fileNames)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.EnterpriseServer.DatabaseServerContro ller.RestoreSqlDatabase(Int32 itemId, String[] uploadedFiles, String[] packageFiles)
--- End of inner exception stack trace ---
at WebsitePanel.EnterpriseServer.DatabaseServerContro ller.RestoreSqlDatabase(Int32 itemId, String[] uploadedFiles, String[] packageFiles)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.EnterpriseServer.esDatabaseServers.Re storeSqlDatabase(Int32 itemId, String[] uploadedFiles, String[] packageFiles)
at WebsitePanel.Portal.SqlRestoreDatabase.RestoreData base()
کسی میدونه اشکال از کجاست؟؟
میخوام دیتابیس سایتم رو به یک هاست دیگه انتقال بدم اما هنگام ریستور کردن در وبسایتپنل ارور زیر میاد:
دیتابیس سایت sql2008r2
دیتابیس هاستینگ sql2012
ارور:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'RESTORE' task on 'karoonir_1292' SQL_DATABASE ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Cannot open backup device 'C:\Users\WPServer.WIN-UNI14Q3F7PL\AppData\Local\Temp\d14bc9ef-2330-4950-b638-f56552daa579\data.bak'. Operating system error 5(Access is denied.).
RESTORE FILELIST is terminating abnormally.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMeta Data()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataRead er(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at WebsitePanel.Providers.Database.MsSqlServer.Execut eQuery(String commandText, String connectionString)
at WebsitePanel.Providers.Database.MsSqlServer.Execut eQuery(String commandText)
at WebsitePanel.Providers.Database.MsSqlServer.GetBac kupFiles(String file)
at WebsitePanel.Providers.Database.MsSqlServer.Restor eFromBackup(SqlDatabase database, String[] files)
at WebsitePanel.Providers.Database.MsSqlServer.Restor eDatabase(String databaseName, String[] files)
at WebsitePanel.Server.DatabaseServer.RestoreDatabase (String databaseName, String[] fileNames)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.EnterpriseServer.DatabaseServerContro ller.RestoreSqlDatabase(Int32 itemId, String[] uploadedFiles, String[] packageFiles)
--- End of inner exception stack trace ---
at WebsitePanel.EnterpriseServer.DatabaseServerContro ller.RestoreSqlDatabase(Int32 itemId, String[] uploadedFiles, String[] packageFiles)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.EnterpriseServer.esDatabaseServers.Re storeSqlDatabase(Int32 itemId, String[] uploadedFiles, String[] packageFiles)
at WebsitePanel.Portal.SqlRestoreDatabase.RestoreData base()
کسی میدونه اشکال از کجاست؟؟