HighTechTalks DotNet Forums  

form authentication error

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss form authentication error in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
jason
 
Posts: n/a

Default form authentication error - 09-30-2004 , 06:02 AM






hi

i am trying to add authentications to a login form that i created.
everything works fine but once i added in Web.config under <authentication>
<code>
<customErrors
mode="Off" />

<authentication mode="Forms" />
<forms name="SecTicket" loginUrl="WFlogin.aspx" />
</authentication>
</code>
i get the following compilation error:
[
Error trying to run project: Unable to start debugging on the web server.
Server side-error occurred on sending debug HTTP request.

make sure the server is operating correctly. Verify there are no syntax
error in web.config by doing debug.start without debuging. you may also want
to refer to the ASP.NET and ATL server debugging topic in the online
documenation
]
the error occurs soon as i include <forms name="SecTicket"
loginUrl="WFlogin.aspx" />
but if i delete it, it runs fine!!
can anyone give me suggestions as to why??

thank you in advance

Reply With Quote
  #2  
Old   
jjardine
 
Posts: n/a

Default Re: form authentication error - 10-18-2004 , 09:52 PM







"jason" <jason (AT) discussions (DOT) microsoft.com> wrote

Quote:
hi

i am trying to add authentications to a login form that i created.
everything works fine but once i added in Web.config under
authentication
code
customErrors
mode="Off" /

authentication mode="Forms" /
forms name="SecTicket" loginUrl="WFlogin.aspx" /
/authentication
/code
i get the following compilation error:
[
Error trying to run project: Unable to start debugging on the web server.
Server side-error occurred on sending debug HTTP request.

make sure the server is operating correctly. Verify there are no syntax
error in web.config by doing debug.start without debuging. you may also
want
to refer to the ASP.NET and ATL server debugging topic in the online
documenation
]
the error occurs soon as i include <forms name="SecTicket"
loginUrl="WFlogin.aspx" /
but if i delete it, it runs fine!!
can anyone give me suggestions as to why??

thank you in advance
Jason,
It looks as though when you add in the <forms name.... tag you
leave the "/" in the opening <authentication mode="Forms"/> it should
be <authentication mode="Forms">




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.