parser error after ...
 
Notifications
Clear all

parser error after 1.1.0 update

15 Posts
5 Users
0 Reactions
4,389 Views
Posts: 30
Topic starter
(@siliconbase)
Eminent Member
Joined: 9 years ago

Hi,

 

after manual upgrade to 1.1.0 I'm getting the following error when I open the website

Thanks,

Bora

 
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'CPCC:StyleButton'.

Source Error:

Line 17: <asp:HyperLink runat="server" SkinID="CommandButton" CssClass="CommandButton"></asp:HyperLink>
Line 18: 
<span style="color: red;">Line 19: <CPCC:StyleButton runat="server" SkinID="CommandButton" CssClass="CommandButton"></CPCC:StyleButton>
</span>Line 20: <CPCC:StyleButton runat="server" SkinID="SmallCommandButton" CssClass="SmallCommandButton"></CPCC:StyleButton>
Line 21:


Source File: /App_Themes/Default/Common.skin    Line: 19

14 Replies
Posts: 32
(@datatechuk)
Member
Joined: 9 years ago

Hi Bora,

We have written a PowerShell script that will solev upgrade issues liek this as it will automatically upgrade all servers that form part of your SolidCP deployment.

The script will even patch the web.config files for each component to ensure they remain up to date witht he latest version.

You can download the script from http://installer.solidcp.com/Files/stable/Tools/SolidCP-Auto-Upgrade-Tool.zip

If you would prefer to fix the issue manually you will need to edit the web.config file for your SolidCP Portal.

This specific issue is caused by a missing line in the web.config file.

 

Edit your web.config file and locate the following code:-
<controls>
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
</controls>

Then change it to the following:-
<controls>
<add tagPrefix="CPCC" namespace="CPCC" assembly="CPCC" />
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
</controls>

Then save your web.config file and reload your portal.

There are some other additions which the PowerShell Auto Upgrade script will also cater for that will be introduced in the next version, but the above should get you up and running again very quickly.

Reply
Posts: 23
(@addsvictory)
Eminent Member
Joined: 9 years ago

Hi,

I have an issue when I want to create new site collection in SharePoint component.

<div style="height:300px;overflow:auto;">Control '~/DesktopModules/SolidCP/HostedSharePoint/HostedSharePointEnterpriseEditSiteCollection.ascx' could not be loaded: System.Web.HttpParseException (0x80004005): Type 'System.Web.UI.WebControls.Localize' does not have a public property named 'OnClientClick'. ---> System.Web.HttpParseException (0x80004005): Type 'System.Web.UI.WebControls.Localize' does not have a public property named 'OnClientClick'. ---> System.Web.HttpException (0x80004005): Type 'System.Web.UI.WebControls.Localize' does not have a public property named 'OnClientClick'. <br> at System.Web.UI.ControlBuilder.FillUpBoundPropertyEntry(BoundPropertyEntry entry, String name) <br> at System.Web.UI.ControlBuilder.AddBoundProperty(String filter, String name, String expressionPrefix, String expression, ExpressionBuilder expressionBuilder, Object parsedExpressionData, Boolean generated, String fieldName, String formatString, Boolean twoWayBound, Boolean encode, Int32 line, Int32 column) <br> at System.Web.UI.ControlBuilder.ProcessImplicitResources(ParsedAttributeCollection attribs) <br> at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs) <br> at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) <br> at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) <br> at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) <br> at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) <br> at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) <br> at System.Web.UI.TemplateParser.ProcessException(Exception ex) <br> at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) <br> at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) <br> at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) <br> at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) <br> at System.Web.UI.TemplateParser.ParseInternal() <br> at System.Web.UI.TemplateParser.Parse() <br> at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() <br> at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) <br> at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() <br> at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() <br> at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) <br> at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) <br> at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) <br> at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) <br> at SolidCP.WebPortal.DefaultPage.AddModuleToContentPane(Control pane, PageModule module, String ctrlKey, Boolean editMode)</div>

Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

I will add this to a portal update fix later today ( + - 12 hours tops) which addresses this bug and some other ones we found. (it's an issue in the Portal code)

My apologies for the inconvenience.

Reply
Posts: 23
(@addsvictory)
Eminent Member
Joined: 9 years ago

Thanks

Reply
Page 1 / 3
Share: