خطا در اجرا JOB SQL
پوشه ای رو در ویندوزم SHARE کردم .یک JOB تعریف کردم که مقصد آن پوشه SHARE شده است. اما هنگام اجرا JOB خطا می دهد.آیا باید دسترسی خاصی بدم ؟؟؟
Back Up Database Task Execute SQL Task Description: Executing the query "BACKUP DATABASE [] TO DISK..." failed with the following error: "Cannot open backup device 'D:\Backup T_backup_2024_09_22_085459_3929670.bak'. Operating system error 5(Access is denied.). BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. End Error Warning: 2024-09-22 08:54:59.43 Code: 0x80019002 Source: Subplan_1 Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning DTExec: The package execution returned DTSER_FAILURE (1). Started: 8:54:58 AM Finished: 8:54:59 AM Elapsed: 0.531 sec
1 پاسخ
با سلام
بر روی ویندوز در قسمت Sql Server Configuration Manager رفته و در سرویس های مورد نظر در تب Log In بایستی نام یوزری که دسترسی دارد در این قسمت تعریف گردد.