HI, anybody had experience on following exception:
try { WorkflowTheme.CurrentTheme = WorkflowTheme.CreateStandardTheme(ThemeType.Default); } catch (TypeInitializationException exception) { if (PrincipalInfo.HasAdminAccess) { StringBuilder builder = new StringBuilder(); builder.Append("The account the web application runs under has not access to registry."); builder.Append("See documentation for workaround."); throw new EPiServerException(builder.ToString(), exception.InnerException); } base.Response.Write("Could not generate workflow image. Contact administrator"); base.Response.End(); return; }
It is just a fresh installation. But when I call WorkflowImage, there is some exception thrown.
HI, anybody had experience on following exception:
try { WorkflowTheme.CurrentTheme = WorkflowTheme.CreateStandardTheme(ThemeType.Default); } catch (TypeInitializationException exception) { if (PrincipalInfo.HasAdminAccess) { StringBuilder builder = new StringBuilder(); builder.Append("The account the web application runs under has not access to registry."); builder.Append("See documentation for workaround."); throw new EPiServerException(builder.ToString(), exception.InnerException); } base.Response.Write("Could not generate workflow image. Contact administrator"); base.Response.End(); return; }
It is just a fresh installation. But when I call WorkflowImage, there is some exception thrown.