New Posts New Posts RSS Feed: the login credentials supplied are not valid
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

the login credentials supplied are not valid

 Post Reply Post Reply
Author
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post Topic: the login credentials supplied are not valid
    Posted: 13-Dec-2011 at 7:06am
The same problem here....how have you resolved it? Thanks
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 27-Aug-2010 at 6:45pm
Check the settings on the membership and membership provider elements in the web.config (and machine.config) between your environments to see if anything differs - specifically:
 
- Since data in the aspnetdb is keyed by application, the application name, if specified, should be the same.
 
- The hashAlgorithmType defined on the membership element should be the same.  If not present it will default to the settings on the machineKey.  (The default hash algorithm changed in .NET 4 to HMACSHA256 from SHA1, so be sure the algorithm set is the same one used when you created the users.)
Back to Top
wwlgray View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Aug-2010
Location: Florida
Posts: 8
Post Options Post Options   Quote wwlgray Quote  Post ReplyReply Direct Link To This Post Posted: 27-Aug-2010 at 2:14pm
As I stated above all platforms are pointed to the same db.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 27-Aug-2010 at 12:55pm
Since you're using ASP.NET Forms authentication you need to make sure that the aspnetdb database on your test web server contains the correct user information.
Back to Top
wwlgray View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Aug-2010
Location: Florida
Posts: 8
Post Options Post Options   Quote wwlgray Quote  Post ReplyReply Direct Link To This Post Posted: 27-Aug-2010 at 10:01am
I know that the credentials are correct so why am I getting this error?
Back to Top
wwlgray View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Aug-2010
Location: Florida
Posts: 8
Post Options Post Options   Quote wwlgray Quote  Post ReplyReply Direct Link To This Post Posted: 27-Aug-2010 at 10:00am
Here is the log file

XML Log:

Date Time UserName Namespace Class:Method Message
2010-08-27 12:55:35 IdeaBlade.Core TraceFileXmlLogger::GetLogHeader ------------ Log Created ------------
2010-08-27 12:55:34 IdeaBlade.Core IdeaBladeConfig::Initialize Initializing configuration ...
2010-08-27 12:55:34 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing started: 8/27/2010 12:55:34 PM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2010-08-27 12:55:34 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog Assembly 'Custodias AdminWeb, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2010-08-27 12:55:34 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing completed: 8/27/2010 12:55:34 PM
2010-08-27 12:55:35 IdeaBlade.Core AuthHelper::LoadRuntimeLicense IdeaBlade License: 'EnterpriseUniv, Express', KeyDate: 4/15/2010, AllowedSessions: 10000. Found on Assembly: 'Custodias AdminWeb, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
2010-08-27 12:55:35 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore The configured SupportedClientApplicationType is Both
2010-08-27 12:55:35 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore Could not find a valid license to enable session-agnostic load balancing.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple Probed for non-default 'ITraceLoggerProvider' and found no matching exports.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle Probed for default 'ITraceLoggerProvider' and found 'IdeaBlade.Core.DefaultLoggerProvider'.
2010-08-27 12:55:35 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: File: C:\base\root\CUSTMAD\web.config - found
2010-08-27 12:55:35 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: Logging file: C:\base\root\CUSTMAD\DebugLog.xml
2010-08-27 12:55:35 IdeaBlade.Core TraceFns::CompleteTracingInitialization Bound to .NET runtime version 4.0.30319.1
2010-08-27 12:55:35 IdeaBlade.Core TraceFns::CompleteTracingInitialization DevForce version 6.0.4.0
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServiceHost::AddBehaviors Using DC serializer for EntityService
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle Probed for any 'ServiceHostEvents' and found 'IdeaBlade.EntityModel.Server.ServiceHostEvents'.
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://css-svr-3-dev.cco.local/CUSTMAD/EntityService.svc
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://css-svr-3-dev.cco.local/CUSTMAD/EntityService.svc/sl
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle Probed for any 'EntityServiceApplication' and found 'IdeaBlade.EntityModel.EntityServiceApplication'.
2010-08-27 12:55:35 :CreateIdeaBlade.EntityModel.Server RemoteEntityService: EntityService created
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServer::.ctor EntityServer created for DataSourceExtension: [None]
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server SessionManager::GetLoginManager Anonymous access: enabled
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle Probed for non-default 'IEntityLoginManager' and found no matching exports.
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server SessionManager::GetLoginManager Looking for AspAuthenticatingLoginManager
2010-08-27 12:55:35 IdeaBlade.EntityModel.Web AspAuthenticatingLoginManager::.ctor ASP.NET security service integration enabled
2010-08-27 12:55:35 IdeaBlade.EntityModel.Web AspAuthenticatingLoginManager::.ctor ASP.NET authentication mode: Forms
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle Probed for default 'IEntityLoginManager' and found 'IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager'.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.EdmQueryExecutor'.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.PassthruEsqlQueryExecutor'.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.StoredProcQueryExecutor'.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.UdtQueryExecutor'.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle Probed for default 'IDataSourceKeyResolver' and found 'IdeaBlade.EntityModel.DefaultDataSourceKeyResolver'.
2010-08-27 12:55:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple Probed for non-default 'IKnownTypeProvider' and found no matching exports.
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServerHost::<AddBehaviors>b__2 Using DC serializer for EntityServer
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServerHostFactory::CreateServiceHost EntityServer listening on http://css-svr-3-dev.cco.local/CUSTMAD/EntityServer.svc
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServerHostFactory::CreateServiceHost EntityServer listening on http://css-svr-3-dev.cco.local/CUSTMAD/EntityServer.svc/sl
2010-08-27 12:55:35 IdeaBlade.EntityModel.Server EntityServerErrorHandler::ProvideFault Caught exception: LoginException: The login credentials supplied are invalid. ---> at IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager.CredentialAuthentication(ILoginCredential credential) at IdeaBlade.EntityModel.Server.SessionManager.GetPrincipalFromCredential(ILoginCredential pCredential) at IdeaBlade.EntityModel.Server.SessionManager.GetPrincipal(SessionBundle sessionBundle) at IdeaBlade.EntityModel.Server.SessionManager.Login(ILoginCredential credential) at SyncInvokeLogin(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Back to Top
wwlgray View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Aug-2010
Location: Florida
Posts: 8
Post Options Post Options   Quote wwlgray Quote  Post ReplyReply Direct Link To This Post Posted: 27-Aug-2010 at 8:49am
I am using the login example and it works fine from my dev computer and from my dev webserver. When i move the app to my test web server I always get the login credential error. I am hitting the same db from all locations. Any help would be appreciated.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down