Not able to consume Web Service method when using asp.net forms authentication -


one of asp.net page using web service object data database, working fine locally hosted server if not using forms authentication, when use forms authentication method same page, getting following run-time error,

error :the request failed error message: -- <html><head><title>object moved</title></head><body> <h2>object moved <a href="%2flogon.aspx%3freturnurl%3d%252fchocolates.asmx">here</a>.</h2> </body></html> 

i'm using <sessionstate mode="inproc" cookieless="false" timeout="30" /> in web.config,

please me answer problem. thank you.

did try exclude "chocolates.asmx" forms authentication? example:

<location path="path_to_the_file_or_folder">     <system.web>         <authorization>             <allow users="*"/>         </authorization>     </system.web> </location> 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -