提示

消息 15240,级别 16,状态 2,第 12 行
无法写入文件 ''。请确保您有写权限、文件路径有效以及该文件尚不存在。

 

折腾了我一天,现在记录下解决方案,给有需要的人

sp_configure 'show advanced options',1
reconfigure
go

sp_configure 'xp_cmdshell',1
reconfigure
go

master..xp_cmdshell 'net use \\192.168.1.42\myshare\db_backup password  /user:username'

相关文章:

  • 2022-01-06
  • 2021-06-16
  • 2021-12-02
  • 2021-11-13
  • 2021-08-15
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-28
  • 2021-08-30
  • 2021-12-22
  • 2022-12-23
  • 2021-06-01
  • 2021-12-20
相关资源
相似解决方案