Error after logging into Admin area

Posted By saturation Tue 25 Jan 2011
Rated stars based on 1 vote.
Add to Favorites1
Author Message
saturation
 Posted Tue 25 Jan 2011
Supreme Being

Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)

Group: Forum Members
Last Active: Fri 30 Nov 2012
Posts: 108, Visits: 1,185
I am now able to get to the front-end, but when I first login to the admin area, I get the following code in the log file.   What am I missing?   This is the first attempt to login to the backend after a fresh install, and I copied down the information in the install process.

-----------------------------------------------------------------------------
>>     Unhandled Error occurred in Page:http://www.myurl.com/Admin/_CustomPages.aspx?strPage=Default
-----------------------------------------------------------------------------


System.Web.HttpParseException: The base class includes the field 'btnCloseStore', but its type (System.Web.UI.WebControls.LinkButton) is not compatible with the type of control (System.Web.UI.WebControls.Button). ---> System.Web.HttpParseException: The base class includes the field 'btnCloseStore', but its type (System.Web.UI.WebControls.LinkButton) is not compatible with the type of control (System.Web.UI.WebControls.Button).
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers()
   at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree()
   at System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath)
   at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder)
   at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)
   --- End of inner exception stack trace ---
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
   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)

==================================================


 
Medz
 Posted Wed 26 Jan 2011
Kartris Expert

Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)

Group: Administrators
Last Active: Tue 3 Dec 2013
Posts: 99, Visits: 1,400
Hi can you try to replace the line in the web.config that says ->

<add tagPrefix="user" tagName="AdminBar" src="~/UserControls/Skin/AdminBar.ascx"/>



with this ->

<add tagPrefix="user" tagName="AdminBar" src="~/UserControls/Front/AdminBar.ascx"/>


and see if it fixes the issue?

Regards,

Medz
saturation
 Posted Wed 26 Jan 2011
Supreme Being

Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)

Group: Forum Members
Last Active: Fri 30 Nov 2012
Posts: 108, Visits: 1,185
I updated web.config as you suggest and now I get the following.   Ideas?

-----------------------------------------------------------------------------
>>     Unhandled Error occurred in Page:http://www.myurl.com/Admin/_Default.aspx
-----------------------------------------------------------------------------
>>     1/26/2011 6:15:44 PM
>>     URL:http://www.myurl.com/Admin/_Default.aspx
>>     98.215.65.169
>>     DESCRIPTION:
System.Web.HttpParseException: The base class includes the field 'btnCloseStore', but its type (System.Web.UI.WebControls.LinkButton) is not compatible with the type of control (System.Web.UI.WebControls.Button). ---> System.Web.HttpParseException: The base class includes the field 'btnCloseStore', but its type (System.Web.UI.WebControls.LinkButton) is not compatible with the type of control (System.Web.UI.WebControls.Button).
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
   at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers()
   at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree()
   at System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath)
   at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder)
   at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)
   --- End of inner exception stack trace ---
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
   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)
saturation
 Posted Fri 28 Jan 2011
Supreme Being

Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)

Group: Forum Members
Last Active: Fri 30 Nov 2012
Posts: 108, Visits: 1,185
No luck yet resolving this "btnCloseStore" issue--anyone have any ideas?    
Paul
 Posted Fri 28 Jan 2011
große Käse

große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Are you sure this is 1.2001 files *and* database?

I've seen similar issues when I've mixed files.

If you set up 1.2001 fresh, make sure when it gets to the database stage that you don't select an existing database (i.e. 1.2000). Because then Kartris will recognize this as an existing db and won't run the new 1.2001 setup script. So you'll end up with 1.2001 files and a 1.2000 database.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
saturation
 Posted Fri 28 Jan 2011
Supreme Being

Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)

Group: Forum Members
Last Active: Fri 30 Nov 2012
Posts: 108, Visits: 1,185
Interesting.   I'm on a hosted site, so I have to create a blank database through their UI and then run the install--on which the host will only let me select an existing due to permissions rather then create a new one.  

How can I get around this?   Will running the SQL scripts directly against the DB fix it?
Medz
 Posted Sun 30 Jan 2011
Kartris Expert

Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)Kartris Expert - (66,048 reputation)

Group: Administrators
Last Active: Tue 3 Dec 2013
Posts: 99, Visits: 1,400
You can try to delete tblKartrisProducts table in your old Kartris database if you want the installation routine to overwrite it with the newer Kartris database. This is the table that is used to identify if the database already contains the Kartris schema. This works for most setup but of course it always safer to start with a blank database. I found that the attached script does a good job in clearing up an existing database. Note that this will delete EVERYTHING from the old database. You can execute this to reset the database before you run the Kartris installation routine.
 ClearDatabase.zip (5 views, 777 bytes)
saturation
 Posted Tue 1 Feb 2011
Supreme Being

Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)Supreme Being - (64,968 reputation)

Group: Forum Members
Last Active: Fri 30 Nov 2012
Posts: 108, Visits: 1,185
When I click on your zip file it just takes me back to the forum home page--I can't download it.   Can you repost?
Paul
 Posted Tue 1 Feb 2011
große Käse

große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)große Käse - (509,198 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Re your mail about the error

> Parser Error Message: The resource object with key 'AdminBar_ViewBackend'
> was not found.

Can you check your web.config file. Find this tag:

<globalization resourceProviderFactoryType="Kartris.SqlResourceProviderFactory"
  culture="auto" uiCulture="auto" enableClientBasedCulture="true"/>


Make sure it is not commented out. Generally it should be commented out when you start up kartris for the first time, as the installer runs and so there is no db setup yet to grab language strings from. So it will run from a resources file.

The last part of the setup routine should either rewrite your web.config (if permissions allow) or give it to you as a download so you can FTP it to the site. It activates this tag by uncommenting it so that it will pick up language strings from the database.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Tue 1 Feb 2011 by Paul
Mart
 Posted Tue 1 Feb 2011
Top Banana

Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)Top Banana - (95,813 reputation)

Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148, Visits: 3,450
saturation (01/02/2011)
When I click on your zip file it just takes me back to the forum home page--I can't download it.   Can you repost?


Make sure you're logged in - I get bumped to home page if I'm not, but once logged in I can download it fine.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top