Page 1 of 1

ERRORS - ScriptResource.axd and WebResource.axd

Posted: Wed Oct 14, 2009 11:23 am
by AlexG
Hi,
I have a lot of errors on ErrorLog.aspx page like this:
An error has occured at http://www.mysite.com/ScriptResource.ax ... SQWYrgin:0 auto; Invalid viewstate.
An error has occured at http://www.mysite.com/ScriptResource.ax ... ound-color: Invalid character in a Base-64 string.
An error has occured at http://www.mysite.com/ScriptResource.axd?d=gsaB_3lGTv> </div> <br style=System Invalid viewstate.
An error has occured at http://www.mysite.com/WebResource.axd?d ... LFO8v5D<in Invalid viewstate.




1 - The machinekey was generated from http://www.developmentnow.com/articles/ ... rator.aspx for ASP.NET 2.0 and added to web.config before </system.web>
2 - I have the record in the robots.txt:
Disallow: /WebResource.axd
Disallow: /ScriptResource.axd

the version of my store is:
PLATFORM: ASP.NET
VERSION: 7.0.3
BUILD: 12458
MSSQL v2005
AC SCHEMA v2005

AForge.Imaging: 2.3.0.30945
AForge.Math: 1.0.2494.30943
AjaxControlToolkit: 3.0.20229.20843
CommerceBuilder.AbleCommerceTax: 7.3.12396.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.0.9764.0
CommerceBuilder.BankOfCanada: 7.3.0.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.Configuration: 7.3.12065.0
CommerceBuilder.CyberSource: 7.0.9310.0
CommerceBuilder.Data: 7.3.12065.0
CommerceBuilder.DataClient.Api: 7.0.3.1
CommerceBuilder.DataClient.Csv: 7.0.34.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.GoogleCheckout: 7.0.10052.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.2.11284.0
CommerceBuilder.PayPal: 7.3.12238.0
CommerceBuilder.Protx: 7.3.12327.0
CommerceBuilder.Services: 7.3.12065.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.0.9728.0
CommerceBuilder.Web: 7.3.12065.0
ComponentArt.Web.UI: 2008.2.1267.35
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
FredCK.FCKeditorV2: 2.5.2912.21007
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Practices.EnterpriseLibrary.Common: 2.0.0.0
Microsoft.Practices.EnterpriseLibrary.Data: 2.0.0.0
Microsoft.Practices.ObjectBuilder: 1.0.51205.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0


I've the last version of CommerceBuilder.DLL ( build 12912 ) downloaded from http://bugs.ablecommerce.com/show_bug.cgi?id=8128 - 7.0.3 Patch



BUT STILL HAVE THE ERRORS!!

HELP ME TO FIX IT!

Thanks,
Alex

Re: ERRORS - ScriptResource.axd and WebResource.axd

Posted: Thu Oct 15, 2009 4:12 am
by mazhar
Please read discussion in following bug report. You can also apply patch for your 7.0.3 store from this bug report
http://bugs.ablecommerce.com/show_bug.cgi?id=8285

Re: ERRORS - ScriptResource.axd and WebResource.axd

Posted: Fri Nov 06, 2009 4:57 pm
by joebeazelman
mazhar wrote:Please read discussion in following bug report. You can also apply patch for your 7.0.3 store from this bug report
http://bugs.ablecommerce.com/show_bug.cgi?id=8285
I'm also getting these errors and I've applied the patch and the global.asax file. I'm a bit confused because the one I applied has a later date than the one mentioned in the bug report.

Re: ERRORS - ScriptResource.axd and WebResource.axd

Posted: Sat Nov 07, 2009 1:50 pm
by AlexG
joebeazelman wrote:
mazhar wrote:Please read discussion in following bug report. You can also apply patch for your 7.0.3 store from this bug report
http://bugs.ablecommerce.com/show_bug.cgi?id=8285
I'm also getting these errors and I've applied the patch and the global.asax file. I'm a bit confused because the one I applied has a later date than the one mentioned in the bug report.

Yes, you are right, I've the same but changed it. And now I get a few
errors like this:
http://www.mysite.com/WebResource.axd4Lhelp.html
http://www.mysite.com/WebResource.axdsdw3rcontact.aspx

Re: ERRORS - ScriptResource.axd and WebResource.axd

Posted: Wed Dec 16, 2009 11:29 am
by sfeher
Having some trouble with this same error, issue....
Have applied all the patches and still not getting resolution.

Anyone else solved this problem?
Server Error in '/' Application.
The WebResource.axd handler must be registered in the configuration to process this request.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>
</system.web>
</configuration>
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.InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>
</system.web>
</configuration>

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>
</system.web>
</configuration>]
System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded) +8551998
System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded) +296
System.Web.UI.ClientScriptManager.GetWebResourceUrl(Page owner, Type type, String resourceName, Boolean htmlEncoded) +82
System.Web.UI.ClientScriptManager.GetWebResourceUrl(Type type, String resourceName) +16
Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager.RegisterClientScript() +53
System.Web.UI.WebControls.WebParts.WebPartManager.OnPreRender(EventArgs e) +363
Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager.OnPreRender(EventArgs e) +12
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
Have tried to stop/restart the application pool, have updated the global.asax, CommerceBuilder.dll files, etc. No avail.
Any thoughts?

Re: ERRORS - ScriptResource.axd and WebResource.axd

Posted: Fri Dec 18, 2009 12:39 am
by AlexG
After this update http://help.ablecommerce.com/upgrades/a ... _7.0.3.htm I get an errors to but I fix it -
FIND:
string errorInfo = "An error has occured at " +
ctx.Request.Url.ToString();


INSERT BEFORE:
// IGNORE ERRORS WITHIN AXD RESOURCES
if (ctx.Request.Path.ToLowerInvariant().EndsWith(".axd")) return;
and
For the robots.txt file, edit and add this line to the end of the disallow
list:
Disallow: /*.axd$