开发者

Failed to Create AppDomain

开发者 https://www.devze.com 2023-01-17 21:27 出处:网络
What is this Error For? I repaire开发者_如何学Cd my Vs but this did not solve it. My OS :Windows 7 64 bit home edition.

What is this Error For? I repaire开发者_如何学Cd my Vs but this did not solve it.

Failed to Create AppDomain

My OS : Windows 7 64 bit home edition. Visual studio 2010 Ultimate. Does My question need more information?


The answer that worked for me was change the 'web.config' file from

<trust legacyCasModel="true" />

to

<trust legacyCasModel="false" />


If for some reason you were tweaking your CAS settings, this might have caused it:

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

Get a fresh copy of the security config file and see if that fixes it:

https://connect.microsoft.com/VisualStudio/feedback/details/364087/event-id-1088-error-code-0x80131501

or,

Visual Studio Command Prompt -> caspol -reset


Quite late but still hope this will be useful for somebody:

I got into the same nightmare these days and none of the found solutions worked for me. I tried this link codeproject.com and the Capsol command was not found by the VS Command Line, and renaming the files didn't work either.

So, today I decided to simply delete (backup first!) the folder v2.0.50727 located into #:\Documents and Settings\{user}\Application Data\Microsoft\CLR Security Config and Voila! VS is debugging again.

0

精彩评论

暂无评论...
验证码 换一张
取 消