Sharepoint 2013 (standalone) – configuration failure -failed to create sample data


While installing SP2013 in standalone mode with

 psconfig.exe -cmd Configdb create SkipRegisterAsDistributedCacheHost 

got error at 8th step of create sample data

System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot be translated.
Parameter name: sddlForm
at System.Security.AccessControl.RawSecurityDescriptor.BinaryFormFromSddlForm(String sddlForm)
at System.Security.AccessControl.RawSecurityDescriptor..ctor(String sddlForm)
at Microsoft.SharePoint.Win32.SPNetApi32.CreateShareSecurityDescriptor(String[] readNames, String[] changeNames, String[] fullControlNames, String& sddl)
at Microsoft.SharePoint.Win32.SPNetApi32.CreateFileShare(String name, String description, String path)
at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.CreateAnalyticsUNCShare(String dirParentLocation, String shareName)
at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.ProvisionAnalyticsShare(SearchServiceApplication serviceApplication)

though Central admin and web application was working fine but after going service applications list I saw there were issues specially Search service application status was showing – Error

Now if you just read through the error while configuration

Microsoft.SharePoint.Win32.SPNetApi32.CreateFileShare(String name, String description, String path)
at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.CreateAnalyticsUNCShare(String dirParentLocation, String shareName)

It looks like the error occurred while trying to create analytics UNCShare. So I tried going to

“C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\”

there I found one folder “Analytics_”+ guid. So i tried doing the same i.e. share the folder . Gave permissions to Everyone (do this at your own risk ๐Ÿ™‚ my best guess is WSS_Admin_WPG and the account which is running the search service should do but then I didn’t bother trying added those and I gave permission to Everyone ๐Ÿ™‚

After this when I ran the configuration again – no more error – setup was successful.

Hope this helps!!

Thanks to SchmittDotNet for sharing –
For SharePoint Foundation 2013 RTM, the folder to share is C:\Program Files\Windows SharePoint Services\15.0\Data\Analytics_

  • warrensallen

    Thanks for this. Big help.

    • Simon

      Thanks – worked here too,

  • Guest

    Thanks.ย  Fix worked for me.

  • akgupta24

    Glad it worked for you guysย 

  • Mrrodgers

    Worked for me!

  • Ulmasov

    Awesome, worked for me

  • SM

    Thank you so very much! Worked like a charm!

  • akgupta24

    Glad it ย helped

  • Ravindu

    Worked for me too, thanks ๐Ÿ™‚

  • Pingback: Installing SharePoint 2013 on Windows 2012- standalone installation - K. G. Sreeju Nair()

  • SchmittDotNet

    Worked for me. For SharePoint Foundation 2013 RTM, the folder to share is C:Program FilesWindows SharePoint Services15.0DataAnalytics_

    • akgupta24

      Glad it helped. Thank you for sharing the path for SharePoint Foundation- I will modify the post for that.

  • David Howard

    Very Helpful — thanks this worked. Now if Microsoft would just fix it! ย Thanks!

  • Udhay Kadiyala

    Excellent suggestion… Worked for me…

  • Jeff

    I appreciate the post.ย  Very easy workaround.ย  If only Microsoft was as helpful!

  • excellent! it fixed my problem instantly too!

  • Pingback: Standalone Installation of SharePoint 2013 : experience | kbdump()

  • Matt S Bednar

    This was great… worked perfectly!

  • cq

    Thank you for this post!ย  Worked great!

  • Mario Fernandes

    thanks friend, your post was very useful.


  • Aza

    That did it for me. Thank you

  • anas

    ุนู„ู‰ ุฑุงุณูŠ ูŠุง ูƒุจูŠุฑ ูŠุณู„ู…ูˆ ูƒุซูŠุฑ ๐Ÿ™‚

  • kal_ahmed

    Really useful post. It fixed the problem for me too. Much appreciated!

  • nomi

    Great, Thanks,

  • fic5020

    Work for me too,

  • oranzo

    worked like a charm ! ๐Ÿ˜€ thank you

  • dekochan

    Joining AD is needed.
    I’ve completed the configuration wizard in this way.

  • Ronald

    Thank You Very Much That work also to mee

  • Amar

    Worked for us…Thank u….

  • Warren Patterson

    Thanks, this helped me

  • Pitus

    u r a start!

  • Chris Kasztner

    Worked, thanks!

  • Akki

    Works perfectly with my standalone installation.

  • john


  • Shashu2310

    I don’t have Data folder under 15/. Any other thoughts?

  • John

    This guy deserves a tip! Why does MS release an installer that just doesn’t work on a fresh machine? How hard is it to test that ๐Ÿ˜› Thx!

  • Tom Kossmann

    Thank you so much! solved the problem for me ๐Ÿ™‚

    Tom Kossmann

  • Prashant Pratap

    Thanks it works!!!!…Bingoo…

  • I do not have an Analytics folder at C:Program FilesWindows SharePoint Services15.0Data . I’ve been trying to troubleshoot this for a couple of days now. So frustrated.

    • tony

      That directory isn’t creating for me either and the wizard won’t complete. Ugh. Very frustrated as well.

    • pepe

      Try to give everyone full access to the parent folder in orden to check.

    • Ray Edwards

      Did you ever get your problem resolved. The same issue is happening to me and none of these “fixes” work.

  • dohun

    Thank you !!! Worked.

  • Amash

    Worked .. Thank you

  • Aditya Chouhan

    It Worked like a charm.. ๐Ÿ˜€

    This fix, saved my day.

    The path in my drive is: –

    “D:Program FilesWindows SharePoint Services15.0DataAnalytics_35248944-e5c4-4564-8512-f404e7416435”

    Many Thanks to you!!

  • Guyrault

    Thanks very very much dude!!! it worked perfectly. Many thanks again

  • Saif Khalid

    Thanks buddy it fixed the issue for me …

  • Pingback: PCASME()

  • Suresh

    Suresh… Thanks Much…. worked perfectly.

  • Brad Street

    Fixed by right clicking the Analytics_[guid] folder, sharing with default share name, and giving wss_admin_wpg account full control.

    • Matthew Paisley

      Adding Everyone with full access didn’t work for me, but adding wss_addmin_wpg with full access fixed the issue. I had to re-run the configuration wizard all the way through

  • don’t think I have the same issue as you … i’m getting a nullrefexception error here –
    An exception of type System.NullReferenceException was thrown. Additional exception information: Object reference not set to an instance of an object.
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

  • I have this exact issue, the problem is I can set permission on the Analytics folder. But when I re-run the Create Search Service script it creates a new folder (running from powershell).

    • Tom Castiglia

      Steve – I have this same issue on SP2016 preview. I was re-creating the Search Service App using the farm configuration wizard and through the Service Applications feature in Central Admin. Point is fixing permissions in the existing Analytics folder doesn’t help, since a new folder gets created. Did you ever get this resolved?

  • Dharmendra chaudhary

    it working for me. thanks.

  • Peter Vigilante
  • Yash

    Thanks so much for the “SharePoint Foundation 2013 RTM, the folder to share”