Login not working after deployment of package.


hi,

we moving dev envoirment other dev enviorment. have 2 site 1 on intranet(windows authentication) and other on internet(form authencaiton) sharepoint have done import/export. deployment of commerce server have used package creation. goes well.

using registration webpart of commerce server, user getting created. when same user tries login says server not log in username , password incorrect.

below findings. @ login page inside signin_authenticate event.

membershipuser user = sitecontext.commercemembershipprovider.getuser(username, false);

above statment returns user trying logged in. (success)

string userid = ((guid)user.provideruserkey).tostring("b" );

 

userprofile userprofile = profilecontroller .current.getuser(userid); (success)

 above userprofile returns user , data.

spclaimsutility.authenticateformsuser(context.request.urlreferrer,username, signincontrol.password);

above statment returns false , though providing correct username , password.

can me on this.



are using sp 2010 template pack?

if so, please verify upmprovider_<guid> settings
id of web application using sharepoint management shell

$webapp = get-spwebapplication("<appurl>") $webapp.id 

id needs value in upmprovider_<guid>, , synced in following
forms based authentication section of authentication providers admin inside sharepoint 2010
web.config of public web site
web.config of security token service provider. (this service lives in iis under sharepoint web services)

 

this id unique every sharepoint web site far know.
chances setup fine wrong id newly created site.




Commerce Server  >  Commerce Server 2009



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'