我该如何修复.net machine.config [英] How can i repair .net machine.config
本文介绍了我该如何修复.net machine.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有时C:\ Windows \ Microsoftoft.NET\Framework\v4.0.30319\Config\machine.config文件已损坏。
示例
< DbProviderFactories \ >
发生错误。
如果我将其删除则效果很好。
我想自动修复它。
如何轻松修复它。
我尝试过:
我通常使用http://enblog.doit.im/post/46408944004/how-to-solve-the-machineconfig-configuration。但是我想为我们的客户提供简单的方法。
解决方案
我找到了解决方案网站
我写了一个批处理文件。如果我以管理员身份运行它可以工作。
cd C:\ Windows \ Microsoftoft.NET\Framework\v4 * \Config
重命名machine.config machine.config.bak
copy machine.config.default machine.config
Hello Friends,
我试图在我的Windows 2010系统中安装vs 2010,但我收到了无法创建窗口问题。我按照上面的步骤,但我没有在V4.0框架中识别machine.config文件,所以我在我的电脑上搜索了我在v2.0框架中找到的。我在Run中以管理员模式打开了命令提示符,我使用V2.0框架而不是v4.0运行上面的命令我将新的machine.config文件v2.0框架复制到v4.0框架它像我一样魅力。请按照以下步骤轻松解决无法创建窗口问题。
谢谢,
Venkat
Utilizei aprimeiraopção,poisnãoconseguiaabrir o VS2015。 PERFEITO。
Sometimes "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config" file is corrupted.
Example
<DbProviderFactories\>
makes error.
If I delete it it works well.
I want to fix it automaticly.
How can I fix it easily.
What I have tried:
I generally use http://enblog.doit.im/post/46408944004/how-to-solve-the-machineconfig-configuration. But I want to do it easy way for our clients.
解决方案
I found solution from this website
I write an batch file. If I run it as administrator it works.
cd C:\Windows\Microsoft.NET\Framework\v4*\Config rename machine.config machine.config.bak copy machine.config.default machine.config
Hello Friends,
I tried to install vs 2010 in my windows 2010 system, but I have received the can not create window problem. I followed above steps but I did not identify the machine.config file in V4.0 framework, so I did search on my PC I found in v2.0 framework. I opened my command prompt in Run as administrator mode and I ran above commands using V2.0 framework rather than v4.0 later I copied new machine.config file v2.0 framework to v4.0 framework it works like me a charm. Please follow these steps easily can resolve the can not create window issue.
Thanks,
Venkat
Utilizei a primeira opção, pois não conseguia abrir o VS2015. Perfeito.
这篇关于我该如何修复.net machine.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文