Slow loading and error message

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
I am running version 1.6 on GoDaddy and have seen times where the main page is very slow loading and other times it is very quick.

I only have 2 products as I am still in the building stage of the site.

The slowness occurs on both my main page and when I try to access the Nopcommerce admin dashboard log-in page.

I also get the error shown below sometimes...but not always.

GoDaddy's advice was to uninstall and reinstall...not helpful. I do not want to lose the work I have done.

I don't understand if I did something to the coding when making modifications why it would only be slow and have errors sometimes....if I broke the code it would be broke all the time.

Any help is greatly appreciated.

Thanks!

Brian

www.milltraders.com/nopcommerce




Server Error in '/nopcommerce' Application.
------------------------------
*Validation of viewstate MAC failed. If this application is hosted by a Web
Farm or cluster, ensure that configuration specifies the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster.* * Description: *An unhandled exception occurred during the
execution of the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

* Exception Details: *System.Web.HttpException: Validation of viewstate MAC
failed. If this application is hosted by a Web Farm or cluster, ensure that
configuration specifies the same validationKey and validation
algorithm. AutoGenerate cannot be used in a cluster.

*Source Error:*

The source code that generated this unhandled exception can only be shown
when compiled in debug mode. To enable this, please follow one of the below
steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the
error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:







Note that this second technique will cause all files within a given
application to be compiled in debug mode. The first technique will cause
only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a
memory/performance overhead. You should make sure that an application has
debugging disabled before deploying into production scenario.
*Stack Trace:*

[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[]
buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
+289
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +140

[ViewStateException: Invalid viewstate.
Client IP: 70.176.134.207
Port: 52099
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
ViewState: /wEPDwUJMjUzMjk5NDc2D2QWAgIDD2QWAgIBD2QWAmYPZBYGAgEPFgIeBFRleHQFDkUtTWFpbCBBZGRyZXNzZAIFDw8WBB4MRXJyb3JNZXNzYWdlBRJFLU1haWwgaXMgcmVxdWlyZWQeB1Rvb2xUaXAFEkUtTWFpbCBpcyByZXF1aXJlZGRkAg0PEA8WAh4HQ2hlY2tlZGdkZGRkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBRRMb2dpbkZvcm0kUmVtZW1iZXJNZV/ob85r8SBnKKssOwJj6qQkINQy
Referer: http://milltraders.com/nopcommerce/administration/login.aspx
Path: /nopcommerce/administration/login.aspx]

[HttpException (0x80004005): Validation of viewstate MAC failed. If
this application is hosted by a Web Farm or cluster, ensure that
configuration specifies the same validationKey and
validation algorithm. AutoGenerate cannot be used in a cluster.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String
persistedState, String errorPageMessage, Boolean macValidationError)
+106
System.Web.UI.ViewStateException.ThrowMacValidationError(Exception
inner, String persistedState) +14
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +242
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String
serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter,
String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +207
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+6785
System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.administration_login_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +75
13 years ago
goDaddy is very cheap and slow hosting. We don't recommend to use them
13 years ago
One thing that I have noticed with godaddy is how they install the files to your root directory hosting account. If you go threw the auto install godday will place all the shop files into a separate file on your server and load time seams to work fine. If you upload the shop yourself and put it in the root of you hosting directory then you will need to take out some of the preloaded files that godaddy has placed their. The one file I've noticed that will slows the app down is the default google tracking file that is on your root directory. Back it up and delete it and see how much faster the app loads.
13 years ago
This was a GoDaddy auto install but it went into a NopCommerce folder. Will try removing that file in my root directory.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.