After converting CONTENT database from SP2010 to SP2013, I cannot log into SharePoint site. SP2010 is using Classic Mode authentication and the new web application defautls to CLAIMS based authentication.
Steps
1) Restore backup CONTENT database to SQL Server 2012 database. Set the approriate permission on databases.
2) New-SPWebApplication -Name $WebAppName -port 80 -HostHeader $HostHeader -URL $WebAppURL -ApplicationPool $AppPoolName -ApplicationPoolAccount (Get-SPManagedAccount $AppPoolAccount) -DatabaseName $TempDB -DatabaseServer $SqlServerName
Note: I create a new web app and use a JUNKDB for CONTENT database. The powershell command does not like using my SP2010 content database because it is classic mode.
3) Get-SPContentDatabase -WebApplication $WebAppURL | Dismount-SPContentDatabase
Note: Dismount the database just created, because it was just to build the Web application.
4) Mount-SPContentDatabase -Name $ContentDBname -DatabaseServer $SqlServerName -WebApplication $WebAppURL
Note: This mounts the SP2010 database to the SP2013 web applications. Messages listed indicating that content database is being convert. I assume to SP2013 format. It goes 75% thru and pauses about 15 seconds, then continues and completes
5) Test-SPContentDatabase -name $ContentDBname -WebApplication $WebAppURL
Note: message indicates that database is using classic authentication and web application is claims.
5) Convert-SPWebApplication -Identity $WebAppURL -To Claims -RetainPermissions -Force
Note:WARNING: The conversion of web application and most of the users to Claims mode is completed. However, one or more users could not be converted to Claims mode. Refer to the ULS logs for the details. For the troubleshooting tips refer to thehttp://go.microsoft.com/fwlink/?LinkID=236943 article.
Which brings me to the point of question. The migration completes and I open the web site and it prompts for username and password. It will not accept any username or password.
Also, if I change site permission to ANONYMOUS, I can see all the site pages and information, but then I don't have any rights to convert to SP2013 in the site settings.
Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA, MCC 2011, MCC2012
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries