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

Posted by on Aug 9, 2012 | 36 comments

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!!

 
Update
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

    • http://kbdump.com kbdumpadmin

      Glad the post helped. Thanks for sharing

  • 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!

  • http://www.facebook.com/LionCats Sam Yim

    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.

    Mario 

  • 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 ! :D thank you

  • dekochan

    Perhaps…
    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

    thanks.

  • 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 :P Thx!

  • Tom Kossmann

    Thank you so much! solved the problem for me :-)

    Greetings
    Tom Kossmann

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: