Try our conversational search powered by Generative AI!

WorkflowTheme.CurrentTheme = WorkflowTheme.CreateStandardTheme(ThemeType.Default); throw TypeInitializationException

Vote:
 

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.


#42864
Sep 03, 2010 12:49
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.