Site and Admin no longer working

Posted By KevinKel Thu 1 Dec 2011
Rated stars based on 1 vote.
Add to Favorites1
Author Message
KevinKel
 Posted Thu 1 Dec 2011
Supreme Being

Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)Supreme Being - (577 reputation)

Group: Forum Members
Last Active: Fri 24 Apr 2015
Posts: 1, Visits: 10
577
Hi,

I'm getting this error.
"Error!
An error occurred. The system has written a log file entry"

I can't access the Front End or Back End.
Not familiar with MS SQL.
Is it a Katris or MS SQL or Hosting problem?
The site has been working fine up until yesterday..
I've included details of the error in the logfiles extract below.

Any help with this is appreciated. The site has been functioning fine for almost a year.

Regards
Kevin





============================================================
Error!
An error occurred. The system has written a log file entry.

-----------------------------------------------------------------------------
>>     URL:http://www.countryhounds.ie/Category.aspx?CategoryID=15
>>     Page:
-----------------------------------------------------------------------------
>>     01/12/2011 15:39:54
>>     180.76.5.63
>>     DESCRIPTION:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Kartris.SqlResourceProviderFactory.SqlResourceProvider..ctor(String virtualPath, String className)
   at Kartris.SqlResourceProviderFactory.CreateGlobalResourceProvider(String classKey)
   at System.Web.Compilation.ResourceExpressionBuilder.GetGlobalResourceProvider(String classKey)
   at System.Web.Compilation.ResourceExpressionBuilder.GetGlobalResourceObject(String classKey, String resourceKey, Type objType, String propName, CultureInfo culture)
   at System.Web.UI.TemplateControl.GetGlobalResourceObject(String className, String resourceKey)
   at ASP.usercontrols_skin_newestitems_ascx.__BuildControllitContentTextNewProductsList()
   at ASP.usercontrols_skin_newestitems_ascx.__BuildControlTree(usercontrols_skin_newestitems_ascx __ctrl)
   at ASP.usercontrols_skin_newestitems_ascx.FrameworkInitialize()
   at System.Web.UI.UserControl.InitializeAsUserControlInternal()
   at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
   at ASP.masterpages_kartris_master.__BuildControlUC_NewestItems()
   at ASP.masterpages_kartris_master.__BuildControlfrmMain()
   at ASP.masterpages_kartris_master.__BuildControlTree(masterpages_kartris_master __ctrl)
   at ASP.masterpages_kartris_master.FrameworkInitialize()
   at System.Web.UI.UserControl.InitializeAsUserControlInternal()
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.get_Master()
   at System.Web.UI.Page.ApplyMasterPage()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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





-----------------------------------------------------------------------------
>>     URL:http://www.countryhounds.ie/default.aspx
>>     Page:
-----------------------------------------------------------------------------
>>     01/12/2011 15:45:55
>>     207.46.194.94
>>     DESCRIPTION:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Kartris.SqlResourceProviderFactory.SqlResourceProvider..ctor(String virtualPath, String className)
   at Kartris.SqlResourceProviderFactory.CreateGlobalResourceProvider(String classKey)
   at System.Web.Compilation.ResourceExpressionBuilder.GetGlobalResourceProvider(String classKey)
   at System.Web.Compilation.ResourceExpressionBuilder.GetGlobalResourceObject(String classKey, String resourceKey, Type objType, String propName, CultureInfo culture)
   at System.Web.UI.TemplateControl.GetGlobalResourceObject(String className, String resourceKey)
   at ASP.usercontrols_skin_newestitems_ascx.__BuildControllitContentTextNewProductsList()
   at ASP.usercontrols_skin_newestitems_ascx.__BuildControlTree(usercontrols_skin_newestitems_ascx __ctrl)
   at ASP.usercontrols_skin_newestitems_ascx.FrameworkInitialize()
   at System.Web.UI.UserControl.InitializeAsUserControlInternal()
   at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
   at ASP.masterpages_kartris_master.__BuildControlUC_NewestItems()
   at ASP.masterpages_kartris_master.__BuildControlfrmMain()
   at ASP.masterpages_kartris_master.__BuildControlTree(masterpages_kartris_master __ctrl)
   at ASP.masterpages_kartris_master.FrameworkInitialize()
   at System.Web.UI.UserControl.InitializeAsUserControlInternal()
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.get_Master()
   at System.Web.UI.Page.ApplyMasterPage()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================
Paul
 Posted Thu 1 Dec 2011
große Käse

große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Has the site/server been restarted since this happened? If the site has been running fine for a long time and nothing has been changed, then it could be the hosting falling over.

The error itself refers to the newestitems user control on the front end, but the back end is failing too and that doesn't use this control, so I'm not sure it is code-related.


--
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
Mart
 Posted Sat 3 Dec 2011
Top Banana

Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)Top Banana - (105,099 reputation)

Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148, Visits: 3,450
I noticed its working now - did a restart of IIS clear it?
UKcentric
 Posted Sun 11 Mar 2012
Supreme Being

Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)

Group: Forum Members
Last Active: Mon 13 Apr 2015
Posts: 43, Visits: 2,159
This is exactly the same error we have been getting regularly.

It crashed both the front and back end so the site can only be restarted by restarting the web site in IIS7.

It seems to coincide with admin entering or editing products but I cannot say it is 100% connected with this.
UKcentric
 Posted Fri 30 Nov 2012
Supreme Being

Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)Supreme Being - (31,789 reputation)

Group: Forum Members
Last Active: Mon 13 Apr 2015
Posts: 43, Visits: 2,159
Does anybody have any answers to this? Frankly we are getting desperate. 

Our site (front-end and admin) crashes with the above error about once per day, making running an e-commerce operation on Kartris impossible. So, Kartris = not fit for purpose.

It happens spontaneously and is not coincidental with any user or admin action that we can identify. 

The only cure is to restart the application pool that Kartris is running in. We have set the application pool to recycle every 30 minutes to ensure the site is brought back online automatically when it crashes. 

Here is the error once again:



URL:http://www.***.com/Product.aspx?ProductID=119&L=1
>>     Page:
-----------------------------------------------------------------------------
>>     29/11/2012 14:11:29
>>     66.249.66.130
>>     DESCRIPTION:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.Generic.List`1.Add(T item)
   at Kartris.SqlResourceProviderFactory.SqlResourceProvider..ctor(String virtualPath, String className)
   at Kartris.SqlResourceProviderFactory.CreateGlobalResourceProvider(String classKey)
   at System.Web.Compilation.ResourceExpressionBuilder.GetGlobalResourceProvider(String classKey)
   at System.Web.UI.TemplateControl.GetGlobalResourceObject(String className, String resourceKey)
   at ASP.usercontrols_front_basketview_ascx.__BuildControllitContentTextShipping()
   at ASP.usercontrols_front_basketview_ascx.__BuildControlphdShipping()
   at ASP.usercontrols_front_basketview_ascx.__BuildControlphdBasket()
   at ASP.usercontrols_front_basketview_ascx.__BuildControlphdMainBasket()
   at ASP.usercontrols_front_basketview_ascx.__BuildControl__control3(Control __ctrl)
   at System.Web.UI.UpdatePanel.CreateContents()
   at ASP.usercontrols_front_basketview_ascx.__BuildControlupdPnlMainBasket()
   at ASP.usercontrols_front_basketview_ascx.__BuildControlTree(usercontrols_front_basketview_ascx __ctrl)
   at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
   at ASP.skins_***_template_master.__BuildControlUC_MiniBasket()
   at ASP.skins_***_template_master.__BuildControlfrmMain()
   at ASP.skins_***_template_master.__BuildControlTree(skins_***_template_master __ctrl)
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.get_Master()
   at System.Web.UI.Page.ApplyMasterPage()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Paul
 Posted Mon 3 Dec 2012
große Käse

große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
I noticed this ticket was started a few months ago... what version of Kartris are you using?

--
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
JBeardon
 Posted Wed 12 Dec 2012
Supreme Being

Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)Supreme Being - (5,807 reputation)

Group: Awaiting Activation
Last Active: Thu 13 Dec 2012
Posts: 9, Visits: 18
We are getting the same problem once or twice a week without any predictability. Access to backend stops with 
"Error!
An error occurred. The system has written a log file entry"  but no other detail. Checkout functionality then ceases and eventually accessing anything on the front end produces the same error.

Kartris version 1.4001

This is on a dedicated server running <20 sites (this one is the only Kartris site). Nothing is apparent in the event or IIS logs.

IISRESET fixes the problem but this is not a solution. I am increasing app pool recycling to see if this has any effect but the problem is causing a lot of issues as the site is getting very busy over the Christmas period.
Cheers
John
Tim
 Posted Tue 3 Dec 2013
Supreme Being

Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)Supreme Being - (4,153 reputation)

Group: Forum Members
Last Active: Tue 3 Dec 2013
Posts: 6, Visits: 27
Format of the initialization string does not conform to specification starting at index 0



Been struggling with this error for a while now. It is sporadic and locks the admin out of doing anything until the site is restarted in IIS and appears to also break certain front end pages. Running on Kartris 1.3004. Please see a typical error log below. Any advice please as this is happening 2-3 times a week and makes the shop unusable? Upgrading would be complicated, so if there is a known fix for this without upgrading that would help.

-----------------------------------------------------------------------------
>> Unhandled Error occurred in Page: ***/admin/default.aspx
-----------------------------------------------------------------------------
>> 12/3/2013 1:38:08 PM
>> URL: ***/admin/default.aspx
>> ***
>> DESCRIPTION:
System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.
at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue)
at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey)
at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules)
at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value)
at Kartris.kartrisLanguageDataTableAdapters.LanguageStringsTblAdptr.()
at Kartris.kartrisLanguageDataTableAdapters.LanguageStringsTblAdptr.()
at .(String , String , String , Boolean , IServiceProvider )
at Kartris.SqlResourceProviderFactory.SqlResourceProvider.(String )
at Kartris.SqlResourceProviderFactory.SqlResourceProvider.GetObject(String , CultureInfo )
at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
at System.Web.UI.TemplateControl.GetLocalResourceObject(String resourceKey)
at ASP.admin_default_aspx.__BuildControllitError() in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx:line 30
at ASP.admin_default_aspx.__BuildControldivError() in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx:line 29
at ASP.admin_default_aspx.__BuildControlviwLogin() in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx:line 28
at ASP.admin_default_aspx.__BuildControlmvwMain() in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx:line 27
at ASP.admin_default_aspx.__BuildControlfrmLogin() in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx:line 24
at ASP.admin_default_aspx.__BuildControlTree(admin_default_aspx __ctrl) in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx:line 1
at ASP.admin_default_aspx.FrameworkInitialize() in C:\Domains\hibouhome.com\wwwroot\Admin\Default.aspx.vb:line 912308
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_default_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Paul
 Posted Wed 4 Dec 2013
große Käse

große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)große Käse - (559,256 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
I have seen this reported from time to time. It seems to be related to the connection between the site and the database, as the code that is causing the problem is where the site tries to get language strings.

Googling the error generally suggests something wrong with the database connection string, but we know this is fine if the site runs fine most of the time using that string - again this tends to indicate some kind of db connection issue. However in most cases I see this, recycling the site app pool fixes it, which suggests it is not the db itself, but the connectivity between the site and the db.

I tend to think it's a memory issue as we don't see it on our servers which have a lot of memory headroom. If you have control, you could try setting the recycling of the app pools to happen more often. On shared hosting you may not have that control.


--
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

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top