Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 13-Dec-10 20:01pm
v2

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900