I just had a laugh...I found an old post of mine from 2007, requesting info about this topic. I still don't have an approach. Surely someone else has accomplished this task. Could someone kindly give me some guidance on how to address this matter in the discountAsp.net environment? Here's my situation: - I have ONE .asmx file in a subfolder of my web application. - I want communciation with this service to require SSL. - I will use a SOAP header to receive creds for authentication. A problem that I encounter is the service consumer gets redirected to Login.aspx, not something that should happen for a web service. I understand why this happens, but don't know how to resolve it. Please help me. please please please. Thank you, Rick
this is most likely because your application is protected by form authentication. move your web service to another application should fix the problem.
Hi Bruce, this makes sense. What about web.config in the new application folder? I don't know what the <authentication> section should look like.
with ASMX, you cannot use form authentication to protect it. If you are using IIS6, switch to windows authentication and remove anonymous permission with the permission manager in the control panel.