“无法创建AppDomain” [英] "Failed to create AppDomain"

查看:536
本文介绍了“无法创建AppDomain”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

当我点击执行asp.net应用程序时,在浏览器上加载页面时,我收到以下异常错误消息:

创建失败AppDomain

尽管搜索结果通过google执行以下步骤处理security.config重命名或执行caspol -reset无法正常工作:

http://forums.asp.net/t/1304604.aspx [ ^ ]

http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2005/03/16/5345.aspx [ ^ ]

有没有其他想法如何解决这个问题?我不能帮忙,我已经google了足够的。

Hello,
When I click on execution of asp.net application, when loading of page on browser, I get following exception error message:
"Failed to create AppDomain"
despite search results via google on this following steps dealing with renaming of security.config or doing caspol -reset didn''t work:
http://forums.asp.net/t/1304604.aspx[^]
http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2005/03/16/5345.aspx[^]
Is there any other idea how to fix this? I can''t help this, I''ve googled enough.

推荐答案

第1步:

删除

1.security.config

2.security.config.cch



来自以下链接



C:\Documents and Settings \Admin \ Application Data \ Microsoftoft\CLR Security Config\v2.0.50727 .42



这里管理员用户可能会更改取决于您的用户名



第2步:



转到Microsoft Visual Studio命令提示符



并键入



caspol -reset



第3步:



关闭项目解决方案并重新打开。



It会很好。
Step 1 :
Delete the
1.security.config
2.security.config.cch

from the below link

C:\Documents and Settings\Admin\Application Data\Microsoft\CLR Security Config\v2.0.50727.42

here the "Admin" user may changes depends upon your user name

Step 2 :

Go to Microsoft Visual Studio Command Prompt

and type the

caspol -reset

Step 3 :

Close the Project Solution and Re-open.

It will works good.


这篇关于“无法创建AppDomain”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆