When creating my SharePoint 2010 sandbox farm I wasn’t able to get past connecting to the database server. This is the error I was seeing:
An error has occurred while validating the configuration settings. An exception of type System.ArgumentNullException was thrown. Additional exception information: The errorData argument cannot be null or zero length. Parameter name: errorData
I logged into my SQL Server 2008 R2 VM and updated the Start Mode of SQL Agent and SQL Serve Browser to Automatic.
What / Where / How
Start –> All Programs –>SQL Server XXX –>Configuration Tools –> SQL Server Configuration Manager
After it opens select SQL Server Services, right click on SQL Server Browser, select properties, click on Service, then set Start Mode to Automatic. Repeat these steps on SQL Server Agent service.
After doing this I restarted the server.
if you are having trouble finding your SQL Server, Server Name try looking here:
SNI10.0 — LastConnect
There you will find the name of your SQL Server