473,385 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Login Attemp Not successful in ASP .NET 2.0 application

OD
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
Jun 27 '06 #1
3 4052
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)
Jun 28 '06 #2
OD
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" <ge********@yahoo.co.uk> wrote in message
news:%2***************@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:
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)

Jun 30 '06 #3
Scott Gu may have the answer - here.
Jul 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Simon | last post by:
Hi, I have a Login.php page that logs the user in and out. I has two forms within the page, (depending on what we are trying to do), either one to log in or out. The form calls itself using a...
5
by: Matthew Louden | last post by:
I wrote ASP.NET application that access SQL Server database. When I run the application, it yields "Login failed for user '<COMPUTER_NAME>\ASPNET'" error message. I then did the following, but...
3
by: Bruce | last post by:
I just started the design of an ASP.NET application which accesses one of our custom web services to provide user authentication, among other purposes. I created a log-in page (code below),...
2
by: IdleBrain | last post by:
Hello All: I used a Login control to authenticate a user to login. The problem is that when I login with good username & password, the login view would say that the login was successful. But...
10
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi In my app I have a SplashScreen, a login form and a main form. On launching the app, I'd like to show the SplashScreen while reading config files and attempting a database connection. I show...
6
by: =?Utf-8?B?eW9kYWt0?= | last post by:
I'm having issues with logging into my application after moving it from the development server to the live IIS server. Things I've already done: 1) I made sure that I have applicationName set as...
6
by: =?Utf-8?B?S2VsbHk=?= | last post by:
We just switched our web application from .NET 1.1 to 2. Once client can't login out of several that have been successful. They enter a correct user name and password, click the login button and...
2
by: =?Utf-8?B?U2hhbm5vbg==?= | last post by:
I am trying to publish an application to a server that I do not have desktop access to because of our hosting environment. I publish to a file share. The WEB site has been configured by the hosts...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I want to limit the user only login the system one time at the same time. I don't want him login the system two with the same user at the same time. How to do this? If i have a table to record...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.