Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Event ID: 4170 View modes: 
User avatar
Member
Member
deadjdona-gmail - 7/8/2011 7:57:29 AM
   
Event ID: 4170

Event detail
Event ID: 4170
Event type: Error
Event time: 7/8/2011 5:10:22 AM
Source: Application_Error
Event code: EXCEPTION
User ID: 53
User name: admin
IP address: 193.*********7

Description: Message: This is an invalid webresource request.
Stack Trace:
at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Site name: ******.co.uk
Machine name: YEW
Event URL: /WebResource.axd?d=92bMJRfzdfYRj0Ko6Qjf6akI3HDX1T_d7BNNsSuLHZYFAHWLRujSwBZEsIsu-IXtjjAaQqubPepGi12DVx1Vg1gwUgjloQSnfMal0CXTLfTrdRT8zjTBZZdThT3WgnN_ycZen778xSMA&t=633956540000000
URL referrer: http://webcache.googleusercontent.com/search?q=cache:W6NvY2cJ:www.********.co.uk/+site:http://**********.co.uk&cd=18&hl=uk&ct=clnk&gl=ua&source=www.google.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0


I'm browsing google cache for my site and found this error in log (((((

User avatar
Member
Member
kentico_edwardh - 7/8/2011 9:49:04 AM
   
RE:Event ID: 4170
Hello,

I don't believe this is being caused by Kentico, since iit looks like the exception is from an external source. Unfortunantely, it is pretty hard to say what could be causing this issue. There are lot of discussions on the internet regarding this issue and many of them have completely different solutions.

Could you please try to read following article for a possible explanation?
Link

Are you using some 3rd party control for example like telerik which could cause this issue?

http://www.telerik.com/community/forums/aspnet-ajax/ajax/quot-this-is-an-invalid-webresource-request-quot-exception.aspx
http://stackoverflow.com/questions/2184197/this-is-an-invalid-webresource-request-javascript-datetimepicker


This does not look like a big issue and you could stop logging such a harmless exception in the ~\App_Code\Global.asax.cs file in LogLastApplicationError method, similar as it is described in following article:
www.telerik.com/community/forums/aspnet/spell/this-is-an-invalid-webresource-request.aspx

If you need help with anything else, please let me know.

Regards,
Edward Hillard

User avatar
Member
Member
deadjdona-gmail - 7/11/2011 7:22:49 AM
   
RE:Event ID: 4170
looks like this is an issue from different cms.

previous version of site was build on sitefinity. and in a google cache there's a code

<meta name="Generator" content="Sitefinity 3.7.2057.320" /><link href="/WebResource.axd?d=O4VBfOkKuH4IIDfUU0k4JuLGTCiooDxg7Ux8CsvvVo2u3D1HALRM6CYGyQBNGNzc4fSMoWp33OsyI5a4QJQFFtIaDdEw391A7a-ApU1y2gjqKiNcqMqYo7NHpeJ3TPBGF5eD4A2&t=633953413620000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" /><link href="/WebResource.axd?d=uZuuZ3Pv1bxEs0Jtyu9hn-hB80RCK5jgUBicAkYyXrZeJ9B-HJG83xhDp_EfG3LvaL9dfTY2pqO9h4FNYXfU3LC75Km4-47u4zQDkUEVUc4e-NwXZdh-DRxgDMiXW4QJ7wj6KBOeP2DjyuHPDHcOYW3clBM1&t=633953413620000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" /><link href="/WebResource.axd?d=o8b2TdkIffISAoeqjdWGSdLPeirzh-KYx4mrg2VwJLVhzEyAhMaUtkG0tfwaUDrq_FUdqrmB-mj6qD6qE3WhElKJ80Rq1tyPQRHXOdMd1JQyRDPTddfcWTbO0I63tQFZP5aNqKftJ1uTU2Nw2OQkeW8KXG2MlE2PaSFXmQ9UEH7o4sZu0&t=633953413620000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

current site is built on Kentico without telerik and IIS show 4170 error when trying to serve /WebResource.axd?d=O4VBf******* page.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 7/19/2011 2:02:57 AM
   
RE:Event ID: 4170
Hello,


maybe Google keeps the old pages in his archive and it causes the problems. Are there any logs in Kentico site -> Site manager -> Administration -> Event log?

You can also find some information here: http://kb.monitorware.com/kbeventdb-detail-id-3283.html
http://kb.prismmicrosys.com/evtpass/evtpages/EventId_4170_Microsoft-Windows-MSDTC_66826.asp


Best regards,
Helena Grulichova

User avatar
Member
Member
deadjdona-gmail - 7/19/2011 7:03:38 AM
   
RE:Event ID: 4170
the problem is that in google cache we have some old pages that is non exist in current site.

but the real issue is that kentico drops an IIS error when I try to reach this non existent pages. I suppose it should work with them somehow - 404 or something....

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 7/21/2011 5:38:51 AM
   
RE:Event ID: 4170
Hello,


Event ID: 4170 is not a type of error. It is only ID of log record in our database. The error is a standard ASP.NET error when an .axd request is invalid.

If you want to avoid these logs, you can disable an access for robots to all .axd files in robots.txt (Robots exclusion).


Best regards,
Helena Grulichova