layerSymbol.BeginInit(); layerSymbol.LoadStyleFile(System.IO.Path.Combine(styleInstallPath, "Styles\\ESRI.ServerStyle"));
Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at ESRI.ArcGIS.Controls.ISymbologyControlDefault.LoadStyleFile(String fileName) at ESRI.ArcGIS.Controls.AxSymbologyControl.LoadStyleFile(String fileName)
Solved! Go to Solution.