ERRORS - ScriptResource.axd and WebResource.axd

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AlexG
Commander (CMDR)
Commander (CMDR)
Posts: 128
Joined: Mon Mar 03, 2008 9:51 pm
Location: StealDeals.com
Contact:

ERRORS - ScriptResource.axd and WebResource.axd

Post by AlexG » Wed Oct 14, 2009 11:23 am

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: ERRORS - ScriptResource.axd and WebResource.axd

Post by mazhar » Thu Oct 15, 2009 4:12 am

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

joebeazelman
Lieutenant (LT)
Lieutenant (LT)
Posts: 78
Joined: Wed Mar 05, 2008 11:27 am

Re: ERRORS - ScriptResource.axd and WebResource.axd

Post by joebeazelman » Fri Nov 06, 2009 4:57 pm

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.

User avatar
AlexG
Commander (CMDR)
Commander (CMDR)
Posts: 128
Joined: Mon Mar 03, 2008 9:51 pm
Location: StealDeals.com
Contact:

Re: ERRORS - ScriptResource.axd and WebResource.axd

Post by AlexG » Sat Nov 07, 2009 1:50 pm

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

sfeher
Captain (CAPT)
Captain (CAPT)
Posts: 220
Joined: Fri Jun 04, 2004 1:58 pm
Location: Steubenville, Ohio

Re: ERRORS - ScriptResource.axd and WebResource.axd

Post by sfeher » Wed Dec 16, 2009 11:29 am

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?

User avatar
AlexG
Commander (CMDR)
Commander (CMDR)
Posts: 128
Joined: Mon Mar 03, 2008 9:51 pm
Location: StealDeals.com
Contact:

Re: ERRORS - ScriptResource.axd and WebResource.axd

Post by AlexG » Fri Dec 18, 2009 12:39 am

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$

Post Reply