PDA

View Full Version : سوال: مشكل با authentication



mahsa.n
چهارشنبه 16 تیر 1389, 12:40 عصر
سلام به دوستان
من با ASP.NET SQL Server Registration tool كار ميكنم
در web.config اين كد رو وارد كردم:


<authenticationmode="Forms">
<formsname=".ASPXAUTH"loginUrl="Login.aspx"protection="All"timeout="30"path="/"requireSSL="false"slidingExpiration="true"cookieless="useDeviceProfile">
</forms>
</authentication>

وقت اجرا ميكنم ايد ارور رو ميده:
Parser Error Message: The value of the property 'cookieless' cannot be parsed. The error is: The enumeration value must be one of the following: UseUri, UseCookies, AutoDetect, UseDeviceProfile.
چرا؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
يك سوال ديگه هم دارم
اينكه وقتي در ASP.NET configuration وارد select authentication type ميشم و گزينه from the internet رو انتخاب ميكنم در web.config اين خط ظاهر ميشه:
<

<authentication mode="Forms"/>

خوب حالا من دو تا authentication دارم و سيستم ارور ميگيره بايد چي كار كنم؟؟؟؟