0x80070422在hobocopy时碰到的错误
来源:互联网 发布:淘宝的差评怎么删除 编辑:程序博客网 时间:2024/05/02 02:47
0x80070422 means ERROR_SERVICE_DISABLED. It seems the Volume
Shadow Copy service is disabled on your machine. This might explain
why you get these shadow copy failures in NTBackup - so it is not
necesarily to turn them off.
Please make sure that the following services are enabled on your
machine:
- Volume Shadow Copy (VSS)
- Microsoft Software Shadow Copy Provider (SWPRV)
- Remote Procedure Call (RPCSS) - should be enabled as "Automatic"
- COM+ Event System (eventsystem)
- System Event Notification Service (sens) - should be enabled as
"Automatic"
如果上面这些服务你都启动了的后,再出错,看eventlog里,出得什么错,
如果是
卷影复制服务错误: 卷影复制写入程序 ContentIndexingService 调用例程 RegQueryValueExW 失败,状况 0x80070002 (已转换为 0x800423f4)。
那么可能是因为注册表里HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/ContentIndex/Catalogs
下面的项中Location的位置错误。
注意每个项里都要有Location。
我自己的错误是System项里没有Location。自己添加个Location REG_SZ C:/System Volume Information
这样就好了。
hobocopy,windows下面不错的可以增量备份的小工具,很不错。
此外在用hobocopy的时候碰到目录中带中文的时候就出错,发现出错,因为他在WideCharToMultiByte时,计算长度时出错误了。
他原来的用法是,
int result = ::WideCharToMultiByte(CP_OEMCP, 0, s2, s2.GetLength(), mbBuffer, s2.GetLength(), NULL, NULL);这个有错误,应该改为,
int len = WideCharToMultiByte(CP_OEMCP, 0, s2, s2.GetLength(), NULL, 0, NULL, NULL); LPSTR mbBuffer = new CHAR[len + 1]; int result = ::WideCharToMultiByte(CP_OEMCP, 0, s2, s2.GetLength() + 1, mbBuffer, len + 1, NULL, NULL);这样重新编译过就好了~ ~
- 0x80070422在hobocopy时碰到的错误
- 安装程序遇到错误0x80070422
- Win10应用商店下载界面打不开提示错误0x80070422的解决方法
- win10更新出错0x80070422的解决方案
- Hobocopy 复制Chrome缓存的视频文件在Vista下的操作
- 0x80070422 修复方法,
- windows7无法启动防火墙 错误代码0x80070422 的解决方法!
- 运行WCF时碰到的错误
- Android学习时碰到的低级错误
- Spring-boot 启动时碰到的错误
- 安装openstack时碰到的错误
- 碰到的一些错误
- 在运行jPCT的第一个例子HelloWorld-AE时碰到错误的解决办法
- 在学习Python的类和实例时,碰到的错误: object() takes no parameters
- 在VC6。0中可能会碰到ClanLib的编译错误及解决办法
- 在Web浏览器中显示Excel文档时碰到的错误
- 在matlab中运行mex文件时碰到的错误:matlab已停止工作
- 调用MSSoapInit2时碰到0x80040154错误
- 美国知名天使投资人列出愿投资的30大创意方向
- tcpdump丢包问题
- [ZZ]堆和栈的区别
- Puyo Game
- Sharing Files and Memory
- 0x80070422在hobocopy时碰到的错误
- RSA算法的分析与实现
- PetShop 4.0学习--介绍及安装
- flex中取得当前时间日期,计算时间间隔
- 使用虚拟机技术制作USB盘上操作系统
- openfiler 搭建虚拟存储 并 配置服务端
- RSA算法
- struts2 重复提交拦截器用法 token与token-session
- struts2 自定义拦截器