I am developing a web application with C# in VS 2012.
I need to execute a Web Service in STAThread mode (because I have a fingerprint sensor which works in Windows Forms). I found this article. I have implemented the class of figure 4 and change the configuration file, but when I execute the project I've got a HTTP 500.23 internal server error which says that "This application defines configuration in the system.web / httpHandlers section." How can I solve this? Or how can I execute a asmx web service in STA mode?
Thanks!