I'd really like to prepare development environment for Sharepoint 2010. This is what I did:
- I installed Windows 7 x64
- I installed VMWare Workstation
- Created a VM domain controller based on Windows Server 2008 R2 Server Core
- run the VM and joined my Windows 7 machine to that domain
- Installed SQL Server 2008 R2 on Wind7 machine
- Followed instructions http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx and installed these:
- WCF Hotfix for Microsoft Windows (KB971831)
- ADO.NET Data Services Update for .NET Framework 3.5 SP1
- Changed setup as explained on the web page
- Filter pack (as prerequisite in setup folder)
- Microsoft Sync Framework
- SQL Server Native Client (it was rejected because of a newer version being on the system already)
- Windows Identity Foundation (Windows6.1-KB974405-x64.msu)
- Enabled all roles indicated in the list (IIS and WCF)
- Installed Sharepoint Foundation 2010
- didn't run the product configuration wizard (yet)
- created two additional domain user accounts without any particular rights:
- SPF_DATABASE for database credentials
- SPF_ADMIN for farm credentials
- Added domain administrator in SQL Server 2008 R2 with sysadmin rights
- started Sharepoint Powershell as domain administrator (so I have rights to access domain accounts)
- I didn't install SQL Server 2008 KB 970315 x64, because I'm running R2 version - as I understand this is SQL Server 2008 SP2
- Enabled named pipes on SQL Server 2008 R2
run
New-SPConfigurationDatabase
in previously opened powershell using this command:New-SPConfigurationDatabase -DatabaseName "Sharepoint2010Config" -DatabaseServer "developer.mydomain.pri" -AdministrationContentDatabaseName "Sharepoint2010Admin" -DatabaseCredentials (Get-Credential) -Passphrase (ConvertTo-SecureString "%h4r3p0int" -AsPlainText -Force)
When I run it, I'm prompted for database credentials and I enter
mydomain\SPF_DATABASE
and password- I'm also prompted for farm credentials and I enter
mydomain\SPF_ADMIN
with password
Then it runs for a few seconds and fails with this message:
New-SPConfigurationDatabase : Cannot connect to database master at SQL server a
t developer.mydomain.pri. The database might not exist, or the current user does
not have permission to connect to it.
At line:1 char:28
+ New-SPConfigurationDatabase <<<< -DatabaseName "Sharepoint2010Config" -Datab
aseServer "developer.mydomain.pri" -AdministrationContentDatabaseName "Sharepoint
2010Admin" -DatabaseCredentials (Get-Credential) -Passphrase (ConvertTo-SecureS
tring "%h4r3p0int" -AsPlainText -Force)
+ CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase:
SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase],
SPException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.
SPCmdletNewSPConfigurationDatabase
What am I missing? Is there something else I should configure?
Additional info
I've also tried disabling firewall, antivirus and UAC but with no luck.