|This blog post (and eventual updates) can now be found at my new blog : http://www.koenvosters.be
Url of this blog post: http://www.koenvosters.be/post/sharepoint-2010-install-error-the-errordata-argument-cannot-be-null-or-zero-length.aspx
When I started to install a new clean SharePoint 2010 server I came across this error during the configuration wizard (when selecting the SQL Server instance):
System.ArgumentNullException was thrown. Additional exception information: The errorData argument cannot be null or zero length. Parameter name: errorData.
Googling/Binging it brought me to various solutions about firewalls etcetera, but as this was a local machine install that couldn’t be the cause of the problem. Appearantly this cryptic message just means one thing: I can’t find your SQL Server. Due to changing the development machine to a domain controller after installing SQL, the service account for SQL didn’t have the required access. If you have the same problem, do not change it in your services screen, change it in your SQL Server Configuration Manager. If that fails with an error message (as it did in my case), add the service account to your administrator group, start the services, fake to change it again and remove the account from the administrator group. That should leave you with a running SQL and now you can run the configuration wizard of SharePoint 2010.
Edit : This is for Windows Server 2008 / you will not be able to install SharePoint 2010 on R2 until in a few days(see comments): http://blogs.msdn.com/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx
The installation of SharePoint 2010 on a new server did take me quite some time to complete. Apart from the prerequisites that are automatically downloaded there are a few other things that you need to download to make it work. This is on a fresh machine, as I’m sure that all your production machines are 100% up to date 😉 Start these downloads before you start your SharePoint install, as the requested hotfix downloads are rather slow.
First of all, after the prerequisites have been installed you get another error message talking about another required hotfix. You can find it on Microsoft Connect. Don’t take the x86 version as that one won’t work, SharePoint 2010 requires 64bit.
Hotfix for token authentication without transport security or message encryption
After that, SharePoint should be installing nicely, up until you run the configuration wizard where SharePoint complains about the version of SQL Server 2008. To get that sorted, download the following patches.
If you are unsure of what version of SQL you got, open a query window and add the following query:
SQL Server 2008 Required Patches
Service Pack 1 for SQL Server 2008
Cumulative Update Package 1 for SQL Server 2008 SP1
Request Hotfix Link: http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=969099&kbln=en-us
Cumulative Update Package 2 for SQL Server 2008 SP1
Request Hotfix Link: http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=970315&kbln=en-us
This should take you through the configuration wizard as well, after which you can checkout your BRAND NEW SHAREPOINT 2010 Admin Site 🙂