locked
Error: <pages styleSheetTheme="White"/> RRS feed

  • Question

  • User-245764003 posted

    Hi,

    I downloaded this kit, but when I try to run it (Ctrl F5) I get the following error.

    Server Error in '/HP' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Theme 'White' cannot be found in the application or global theme directories.

    Source Error:

    Line 7:  	</connectionStrings>
    Line 8:  	<system.web>
    Line 9:  		<pages styleSheetTheme="White"/>
    Line 10: 		<customErrors mode="RemoteOnly"/>
    Line 11: 		<compilation debug="false"/>

    Source File: C:\Documents and Settings\Niclas\Skrivebord\HP\web.config    Line: 9


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

     

     

     

    You guys have any idea whats wrong, and how  to fix it?

    The error appears in Visual Studio 2005, and Visual Web Developer 2008 Express Edition.

    <!-- [ConfigurationErrorsException]: Theme 'White' cannot be found in the application or global theme directories. (C:\Documents and Settings\Niclas\Skrivebord\HP\web.config line 9) at System.Web.Configuration.PagesSection.get_StyleSheetThemeInternal() at System.Web.UI.PageParser.ProcessConfigSettings() at System.Web.UI.TemplateParser.PrepareParse() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -->

    Saturday, January 26, 2008 10:54 AM

All replies

  • User537870505 posted

    Do you have all the theme files in a folder named White underneath the App_Themes folder of your web app? If, say your web app folder is C:\Documents and Settings\Niclas\Skrivebord\HP, then have your theme files under C:\Documents and Settings\Niclas\Skrivebord\HP\App_Themes\White.

    Saturday, January 26, 2008 11:41 AM
  • User-1083891257 posted

    Berner,

    Take a look at the following solution, looks like the same issue you are having.

    http://www.aspspider.net/resources/Resource167.aspx

    Saturday, January 26, 2008 11:43 AM