SQL server : mapping network drive - Insufficient system resources exist to complete the requested service

403 Views Asked by At

Hello I am trying to create a new plan on SQL server to backup all my database.

My goal is to backup them to a network drive thus if I do have some trouble with my server, I will be able to restore databases to other server thanks to backup present in the network drive.

When my plan is executed, I do have some error so I try to execute manually the relative query.
After some investigation, it seems even net use command doesn't work (whereas it is working and I do it from cmd)

EXEC XP_CMDSHELL 'net use Z: \\ServerName\loggin/user:loggin password'

error is

System error 1450 has occurred. Insufficient system resources exist to complete the requested service.

Beside, I do have another server where it is working so I suppose some configuration missing but can't find them

1

There are 1 best solutions below

0
On BEST ANSWER

as my network drive is also accessible via FTP, I chose this way to make the job : create a batch file that run winscp and use this batch file in a SQL agent job . I need to add right to batch file to SQL Server agent account. I also need to define a credential and a proxy to be used in the job.