Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms Authentication
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00672857
Message ID:
00673018
Views:
19
Change your code back to using the "name" attribute. It looks like there is an error in the help files. It appears though that the default name is being use and your name isn't. I don't see any reason why that would be happening from your code. Is this web.config the one in the directory where the files you are accessing or is it locating in the parent directory or some other location?

>Cathi,
>Thanks for the reply, you've been extremely helpful to me, and it is very appreciated! I tried it with the 'forms' attribute instead of 'name' as you specified, but I got Parser Error Message: Unrecognized attribute 'forms'. on that line. Any other thoughts on this?
>Thanks,
>jfh
>
>>Your problem is the syntax in the forms element. The attribute is "forms" not "name". The reason you were seeing "aspxauth" was that is the default name used if no form name is given. Since nothing was entered for the "forms" attribute it used "aspxauth". Use the following instead:
>>
>>
>><authentication mode="Forms">
>>    <forms forms=".PHYSCNT" loginUrl="../wlogin/login.aspx" />
>></authentication>
>>
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform