I’m having some trouble with cas. How can I diagnose my problem?



I’m having some trouble with cas. How can I diagnose my problem?..

Answer / Avadh Kumar

To diagnose problems with CAS (Code Access Security) in .NET, you can use various tools such as Fusion Log Viewer, CasPol.exe, and SDK Tools like caspol.dll or PermView.exe. You can also check the event logs for exceptions related to CAS.nnTo enable detailed CAS logging, follow these steps:n1. Create a .config file in the application directory with the following content: <runtime>n<generationRetainHeapStatistics enabled="true" />n<casPol></casPol>n</runtime>n2. Rebuild and run your application.nnThe Fusion Log Viewer can be used to analyze the generated .log files for detailed information about CAS permissions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

main difference between asp.net2.0,asp.net1.1,asp.net1.0

1 Answers   Northgate is,


Which is the best institute for ASP.NET?

8 Answers   ABC Infotech, Tech Mahindra,


I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?

1 Answers  


Out of ASP or ASP.NET which one is stateless?

1 Answers   BirlaSoft,


What is the difference between Trace and Debug?

2 Answers   BirlaSoft,


How do you implement sql caching in asp.net?

1 Answers  


Explain the difference between overriding and overloading?

1 Answers  


Explain the life cycle of an ASP .NET page

2 Answers   HCL, Surya Software,


What is the purpose of each of the validation controls provided by ASP.NET?

1 Answers  


Define static constructor?

1 Answers  


What are Master Pages in ASP.NET?

1 Answers  


How many Controls present in Asp dot net?

7 Answers   TCS,


Categories