<authentication mode="Forms"/> is fine for the IIS settings, but you'll also have to edit the URL to the correct form (standard IIS is login.aspx NAV = SignIn.aspx). For the rest is NAV authentication (which is sometimes painful). Therefore the whole rest needs to be equal (NAV service tier needs to run in NAVUSERPASSWORD, Settings in web.config also because the web components connect also to the service tier.
BR
defiant701
Debuggers don't remove bugs, they only show them in slow-motion
Comments
I want that my Web page which is built from the web service always asks for the authentication(User Id & Password) before explore in the browser.
kindly reply
you need to give windows authentication for run web-services.
//Gaurav Gupta
<authentication mode="Forms"/>
but when I run the web page from VS it does not ask for the Userid & Password.
<authentication mode="Forms"/> is fine for the IIS settings, but you'll also have to edit the URL to the correct form (standard IIS is login.aspx NAV = SignIn.aspx). For the rest is NAV authentication (which is sometimes painful). Therefore the whole rest needs to be equal (NAV service tier needs to run in NAVUSERPASSWORD, Settings in web.config also because the web components connect also to the service tier.
BR
defiant701
LinkedIn
XING