Sharepoint 2010 Development environment setup error - Stand-alone provisioning has failed because an error occurred while enumerating the SharePoint Server products installed on this server
Tuesday, April 24, 2012 10:49 AM
I have the same problem as this http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/42239d23-26cd-4571-a4ac-b3bc74f9ad3a/ (hence the same title)
Definitely not a license key issue. The only other thing I can think of is that I have Office 2003 installed on my machine?
For information what I'm trying to do is this:
- Install Sharepoint Server 2010 on my local Windows 7 (64 bit) machine
- Already have the pre-reqs installed
- Have followed these instructions - http://msdn.microsoft.com/en-us/library/ee554869.aspx to the letter
- Am connecting to the internet via a proxy but have run Fiddler alongside installation / configuration and no errors (407s)
Any help would be greatly appreciated!!
Exception has been thrown by the target of an invocation. --->
System.InvalidOperationException: Stand-alone provisioning has failed because an error occurred while enumerating the SharePoint Server
products installed on this server.
at Microsoft.Office.Server.EvaluatorModeProvisioning.OfficeServerProducts.IsInstalled(OfficeServerProductToProvision product)
at Microsoft.Office.Server.EvaluatorModeProvisioning.SharedEvaluatorModeProvisioning..ctor(TraceListener listener)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object args, SignatureStruct& signature, IntPtr declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.SharePoint.PostSetupConfiguration.ReflectionHelper.InvokeConstructor(String assemblyQualifiedName, Type constructorSignature,
at Microsoft.SharePoint.PostSetupConfiguration.TaskCommon.ReflectionHelperInvokeConstructor(String assemblyQualifiedName, Type
constructorSignature, Object constructorParameters, TaskBase task)
at Microsoft.SharePoint.PostSetupConfiguration.WelcomeForm.PsconfigBaseFormNextButtonClickedEventHandler(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Wednesday, April 25, 2012 8:01 AM
According to .net reflector analysis at Microsoft.Office.Server.EvaluatorModeProvisioning.OfficeServerProducts.get_OfficeProductList(), if the return of NativeMethods.MsiEnumProducts(productIndex, returnedProductCode) is not equal to zero, it will result tracelogerror in the log file and threw InvalidOperationException.
To find the log file, open a Command Prompt window, and then type the following commands at the command prompt. The log file is displayed at the end of the directory listing.
Based on my experience, the MsiEnumProducts function should return 1610, which means ERROR_BAD_CONFIGURATION.
Finally, please check if you have enable UAC, if so, please disable UAC, then try again.
For more information about MsiEnumProducts function, check out the following articles:
Rock Wang TechNet Community Support
- Edited by Rock Wang– MSFT Wednesday, April 25, 2012 8:47 AM
Thursday, April 26, 2012 3:19 PM
Thanks for taking the time to reply. Unfortunately this doesn't help me diagnose the actual problem.
For information, I've now managed to get Sharepoint Server 2010 to install on my Windows 7 machine in a "Farm" configuration. So I presumed I'd fixed the problem. Everything installed fine, I can access central configuration, and create web applications / site collections.
However, when I first tried to access the first top-level site, I got an error. I checked the log, and it's exactly the same error!
The only thing I can think of is, back to one of my original points, is that I've got Microsoft Office 2003 installed?? Can there be anything else??
Friday, May 04, 2012 9:37 AM
You can download a tool whose name is EnumProducts from the following link, then locate Bin\debug\ directory, run EnumProducts.exe, it will tell you the GUID of the problematic products.
Rock Wang TechNet Community Support
- Marked As Answer by RJ-Liverpool Thursday, May 10, 2012 4:01 PM
Thursday, May 10, 2012 4:02 PMThanks so much Rock. It was SQL SERVER COMPACT EDITION 3.5 SP2 that was erroring (slightly odd that it brings down almost the whole of sharepoint, but anyway.)Had to manually remove it / reg keys and now it all works!!