For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > June 2006 > Login Attemp Not successful in ASP .NET 2.0 application









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Login Attemp Not successful in ASP .NET 2.0 application
OD

2006-06-27, 7:04 pm

I have an ASP .NET 2.0 application that has been developed using Visual Studio 2005. This application is basically a an application that provides various reporting using crystal reports. When I run the application in visual studio 2005, it runs perfectly and I can log in as any of the users that has been created in the ASPNET database. However when I deployed to the IIS on the Windows XP for user testing, I get the login page (so do all users) and then when we type in a username and password we get the error that says , "Your login attempt was not successful. Please try again" . Why will it work from Visual Studio (file system) and not work on the Web server.

PS: This application was developed using reduced code.

Any idea will be greatly appreciated. THANKS!
OD


Gerry Hickman

2006-06-28, 7:03 pm

Hi,

You might be confusing "forms based authentication" with "windows
integrated authentication". You have to decide which one you are trying
to use.

OD wrote:
> I have an ASP .NET 2.0 application that has been developed using Visual
> Studio 2005. This application is basically a an application that
> provides various reporting using crystal reports. When I run the
> application in visual studio 2005, it runs perfectly and I can log in as
> any of the users that has been created in the ASPNET database. However
> when I deployed to the IIS on the Windows XP for user testing, I get the
> login page (so do all users) and then when we type in a username and
> password we get the error that says , "Your login attempt was not
> successful. Please try again" . Why will it work from Visual Studio
> (file system) and not work on the Web server.
>
> PS: This application was developed using reduced code.
>
> Any idea will be greatly appreciated. THANKS!
> OD
>
>



--
Gerry Hickman (London UK)
OD

2006-06-30, 7:03 pm

I am using form based authentication. I configured that in the web.config
file. The connection string is set to connect to localhost.

--
OLUSEGUN DANIELS
"Gerry Hickman" <gerry666uk@yahoo.co.uk> wrote in message
news:%2314g2UumGHA.660@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> You might be confusing "forms based authentication" with "windows
> integrated authentication". You have to decide which one you are trying to
> use.
>
> OD wrote:
>
>
> --
> Gerry Hickman (London UK)



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com