RSS

Monthly Archives: September 2014

The username is invalid. The account must be a valid domain account – SharePoint 2013 Setup Error


When configuring SharePoint 2013 Development Virtual server in “Complete” mode you get below issue.

Error

1

“The username is invalid. The account mist be a valid domain account” when using a local account to configure the farm”

NOTE: Out of the box SharePoint only supports “Stand-alone” mode for non domain environments, but this forces you to use SQL Server 2008 R2 Express Edition which is most cases is unacceptable.

Solution
Use a PowerShell command to create the initial configuration of the farm with a local account:

  1. Start the SharePoint Management PowerShell
  2. Run “New-SPConfigurationDatabase” from the command line and follow the instructions
    Database Name: Sharepoint_Config
    DatabaseServer: Name of your SQL Server
    Farm Credentials : localservername\username
    Passphrase : Must contain at 8 character with one Caps,one number,& special character
    2
  3. This will create the farm and configure the necessary accounts.
  4. Rerun the configuration wizard
  5. After it finishes start the Config Wizard and configure your server with all components
  6. Select “Do not disconnect from this server farm

    3

  7. Done!

 

 

 

 
Leave a comment

Posted by on September 20, 2014 in SharePoint 2013

 

Tags: ,

Windows Server App Fabric is not correctly configured – SharePoint 2013 Setup Errors


When installing SharePoint 2013 SP1 prerequisites on Windows Server 2008 R2, the prerequisite installer fails with the following error

Error

image_thumb

“Windows Server App Fabric is not correctly configured. You should uninstall Windows Server Appfabric and reinstall it using the Sharepoint Products Preparation Tool.”

Cause
This occurs when u try to run “PREREQUISITEINSTALLER.exe” as standalone installation.

Resolution
The resolution is to run “prerequisiteinstaller.exe” with command line parameters to directly specify the file name for each prerequisite.

  1. Uninstall exisiting installation of AppFabric
  2. Delete “PSModulePath” from system environment variables entry.
  3. Restart server
  4. Open command prompt
  5. Navigate to SharePoint 2013 setup files folder (eg: D:\)
  6. Type following line
    prerequisiteInstaller.exe /appfabric:Z:\Softwares\Sharepoint 2013PreRequisite\WindowsServerAppFabricSetup_x64.exe
    (NOTE:  Z: is my Prerequisite files folder location. replace with you path)
    MAKE SURE THERE IS NO SPACE FOR FOLDER NAME
    sp2013-prereq
  7. image_thumb_6
  8. Done! Continue installation…
 
3 Comments

Posted by on September 20, 2014 in Bug, SharePoint 2013, Tips & Tricks

 

Tags: ,