Directory lookup for the file "xxx.mdf" failed with the operating system error 2(系统找不到指定的文件。).

reason:

sql2005以后 禁用了xp_cmdshell存储过程

solution:

sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO

转载于:https://www.cnblogs.com/faeriesoft/p/4238538.html

Directory lookup for the file xxx.mdf failed with the operating system error 2相关推荐

  1. Get data from file(xxx.png) failed!

    最近有很多朋友在群里问用VS+Cocos2d-x 加载图片资源时总是报" Get data from file(xxx.png) failed!  " 错误,问题虽小,但却能影响项 ...

  2. Unable to open the physical file XXX.mdf

    附加一个新的数据库,报如下异常: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft ...

  3. 如何定位“Operating system error 32(failed to retrieve text for this error. Reason: 15105)”错误中被占用的文件...

      之前在这篇"Operating system error 32(failed to retrieve text for this error. Reason: 15105)"博 ...

  4. insmod: init_module ‘xxx.ko‘ failed (No such file or directory)

    linux 加载模块时遇到: insmod: init_module 'xxx.ko' failed (No such file or directory) 解决办法: 使用dmesg查看问题 dme ...

  5. Failed to transform file 'xxx' to match attributes 的解决办法

    打开之前的项目,遇到了Failed to transform file 'xxx' to match attributes 的错误. 反复查阅资料,确定是添加的依赖缓存有问题,解决办法: C:\Use ...

  6. 加载.npz文件时,出现错误:OSError: Failed to interpret file ‘xxx.npz‘ as a pickle

    1..npz文件的内容是怎样的,怎么打开? 因为以npz结尾的数据集是压缩文件,里面还有其他的文件. 使用:cat_data.files 命令进行查看 import numpy as np cat_d ...

  7. 导入AAR报错 Failed to transform file 'xxx.aar' to match attributes {artifactType=jar}

    Failed to transform file 'xxx.aar' to match attributes {artifactType=jar} Failed to transform file ' ...

  8. The file “xxx.entitlements“ could not be opened和Library/MobileDevice/Provisioning Profiles, rb):

    The file "xxx.entitlements" could not be opened 解决办法: 1.删掉项目中的xxx.entitlements 2.选择target- ...

  9. CMake error:System Error:No such file or directory CMake error:Could not open file for write in copy

    错误描述: CMake error:System Error:No such file or directory CMake error:Could not open file for write i ...

最新文章

  1. 鼠标马赛克图像部分区域
  2. 第八天2017/04/17(2、❤String类的源代码)
  3. 【转】 指针函数与函数指针的区别
  4. mysql键1键2_详解mysql基本操作详细(二)
  5. Java数据类型与各数据库类型对应一览表
  6. mysql 多表查询 join on_mysql多表查询
  7. 数据库 数据库编程二
  8. ALEIS,啊,累死
  9. JavaSE基础———ArrayList、Vector和LinkedList 泛型 可变参
  10. Java Web 项目音乐网站的开发与实现
  11. linux tcp 压力测试工具,技术|分布式TCP压力测试工具 tcpcopy
  12. matlab 液压控制系统设计,基于MATLAB的液压系统的设计与仿真
  13. HTML页面跳转及参数传递
  14. Win10微软输入法不见了
  15. 大话转岗 PHP 开发小结
  16. 获取文件夹中所有图片文件
  17. 查收你的2022书单,阅读这54本书就够了
  18. mysql添加索引报错1170 -BLOB/TEXT column ‘xx‘ used in key specification without a key length分析及解决
  19. bzoj1921: [Ctsc2010]珠宝商
  20. Android Studio 使用本地gradle的配置

热门文章

  1. 重读The C programming Lanuage 笔记三:简单计算器程序
  2. [Arduino] 学习总结小合集(更新ING)
  3. 避免后台脚本重复启动机制
  4. 观百工堰竹筏竞技比赛有感
  5. 利用OpenCV的VideoCapture类实现视频读操作
  6. Golang 随机获取本机可用端口
  7. could not load java7_xml导入properties文件报异常:Could not load JDBC driver class [${jdbc.driver}]...
  8. epplus保存为流_c# – 另存为使用EPPlus?
  9. Loj 6485. LJJ 学二项式定理
  10. 使用职责链模式来重构你的代码