Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2014, 03:42 PM
Authorized User
 
Join Date: Aug 2014
Posts: 34
Thanks: 3
Thanked 0 Times in 0 Posts
Default Login/username issue

Hi and TIA:

My site uses the login code as described in Ch. 16 and all has been well.

Yesterday I logged into my web host (GoDaddy) using a unique username that I only use on the GoDaddy site. At no other site do I use the username I use at GoDaddy and I did the work that was necessary. As was well.

Also, the GoDaddy username is NOT one of my "authorized" usernames for my site.

Ok, so now today as I try and log into my site using a username that has worked in the past, I get an error message, "Login failed for user 'esherr01'." which is the username for the GoDaddy site and thus I can no longer log into my site?

It seems as though the GoDaddy username has become the "master" username and won't allow any other usernames to be used.

I did a reset on my Browser to no avail. I know this might sound strange, but is what is happening.

Any help would be appreciated. How do I make the GoDaddy username, not stay as the "master" username?

Oh, when I go to login at my site, both username and password textboxes are clear, it's just that when I type in a username and password that did work in the past, the error message says, "No you have to use this particular username"

Sorry, but thanks
 
Old December 31st, 2014, 12:49 PM
Authorized User
 
Join Date: Aug 2014
Posts: 34
Thanks: 3
Thanked 0 Times in 0 Posts
Default ...more on login

To the above Post, I might mention that this username problem does not affect my local host version that I am working on, but does indeed affect my online version.

Does it seem likely that this might have something to do with authentication?

I continue to investigate. Thanks to all

there is a setting somewhere that I need to make.

Cliff
 
Old January 2nd, 2015, 04:31 PM
Authorized User
 
Join Date: Aug 2014
Posts: 34
Thanks: 3
Thanked 0 Times in 0 Posts
Default ..issue resolved

The short answer is that I had forgotten my username and password to connect to my Sql Server Database. I do it so rarely.

When I called my web host I was given a procedure to change/reset my username and password which I did.

After that I was able to connect to my online database to make any necessary file changes etc., but was now unable to access my online aspx pages when trying to login.

In web.config file under the connectionStrings element there is an entry for <addname> which includes a user ID and Password. Had I seen this initially I would not have needed to reset my username and password with my web host.

Thus I needed to change and upoload a new version of web.config with the new user ID and Password and the world was good once again.

Three days of fun.

Thanks for Viewing,
Cliff
 
Old February 11th, 2015, 01:24 AM
Registered User
 
Join Date: Feb 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you break something in your web.config file? Try taking one from the source code for the chapter you're working on and see if that fixes the issue.




__________________________________________
Our excellent online learn a language.com training programs lead you to success in the We also offer latest learn german free and E-spanyol with 100% success Internet polyglot

Last edited by hortncizigr; February 24th, 2015 at 06:39 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Login control with username dropdown not working Raj BOOK: Professional ASP.NET 3.5 Security, Membership, and Role Management ISBN: 978-0-470-37930-1 1 April 6th, 2012 04:21 PM
Login failed for user 'username'. stupid ASP.NET 2.0 Basics 4 January 10th, 2008 08:23 AM
Login process without username! AristotleYu SQL Server 2005 2 October 19th, 2006 01:42 AM
Login with username and password morpheus Classic ASP Basics 4 November 19th, 2003 11:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.