Quantcast
Viewing all articles
Browse latest Browse all 21070

Why is my login failing every time I try to run ConvertTo-SPProjectDatabase ?

PowerShell Output:

PS C:\Users\sp_farm> Convertto-SPProjectDatabase -WebApplication http://pm.mypmsite.net -Dbserver mypmsqlserver.net -ArchiveDbname SP_PM_ProjectServer_
Archive -DraftDbname SP_PM_ProjectServer_Draft -PublishedDbname SP_PM_Projec
tServer_Published -ReportingDbname SP_PM_ProjectServer_Reporting -ProjectServi
ceDbname SP_PM_ProjectServer_ServiceDb
Convertto-SPProjectDatabase : Cannot open database"SP_PM_ProjectServer_Published" requested by the login. The login failed.
Login failed for user 'AD\sp_farm'.
At line:1 char:1+ Convertto-SPProjectDatabase -WebApplication http://pm.mypmsite.net
-Dbserver d ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~+ CategoryInfo          : InvalidArgument: (Microsoft.Offic...baseImplemen
   tor:ConvertToProjec...baseImplementor) [ConvertTo-SPProjectDatabase], SqlE
  xception+ FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletC
   onvertToProjectServiceDatabase

Convertto-SPProjectDatabase : Published database is invalid or corrupt. The
published database must have a default language specified in the
WADMIN_DEFAULT_LANGUAGE column of the MSP_WEB_ADMIN table.
At line:1 char:1
+ Convertto-SPProjectDatabase -WebApplication http://pm.mypmsite.net
-Dbserver d ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~+ CategoryInfo          : InvalidArgument: (Microsoft.Offic...baseImplemen
   tor:ConvertToProjec...baseImplementor) [ConvertTo-SPProjectDatabase], Inva
  lidOperationException+ FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletC
   onvertToProjectServiceDatabase

1. I have already migrated and mounted/upgraded the SharePoint 2010 database to SharePoint 2013

2. I have backed up the four Project Server databases and restored them to the new SQL server that will house the 2013 SharePoint / Project Server data

3. I have checked for errors and found none that will block or severely hurt the upgrade

4. I run the ConvertTo-SPProjectDatabase cmdlet and get the above error

5. Every time I try, it locks up the database and causes me to have to restart SQL services to try the cmdlet again, otherwise it keeps saying "database in use" in PowerShell

6. I have tried domain administrator accounts, the SharePoint service account and given all of them db_owner permissions in SQL to all of the databases involved, even the SharePoint 2013 config database

7. At first when I tried, it only came back with the error regarding the failed login, after trying it for the third or fourth time after changing permissions, it started adding on the error regarding that invalid value in the column as shown in the error above

Please help me Microsoft or anyone else - I've tried everything I could


Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>