RE: webresource.axd produces errors

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Peter,

Welcome to MSDN newsgroup.
As for the webresource exception you mentioned, it is likely caused by some
certain client send request to the webresource.axd.... which dosn't contain
the valid querystring parameter.... The WebResource.axd is the new
build-in handler added in ASP.NET 2.0 to help generate resource stream
dynamically from assembly(embeded resource files.....). Some buildin
asp.net resource files (like validation script, webpart script or
style.....) are generated through this handler..... And when use it ,
the url's querystring will contain the encrypted assemblyname + resource
name, thus, if we send such requst without valid paramters , there'll occur
exception....

As for your scenario, not sure whether the request is sent by asp.net
runtime or any other client ... Have you checked the IIS log to see the
source of the request?

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Peter Strøiman" <peterstroeiman@xxxxxxxxxxxxx>
| Subject: webresource.axd produces errors
| Date: Tue, 13 Dec 2005 18:51:18 +0100
| Lines: 28
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <eVY$U3AAGHA.2736@xxxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.dotnet.framework
| NNTP-Posting-Host: cpe.atm2-0-101262.0xc159f118.boanxx12.customer.tele.dk
193.89.241.24
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework:105220
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| Hi.
|
| I have a web application running .NET 2.0.
|
| In the global.asax we have set up a handler for the ApplicationError
event.
| The handler sends an email with details about the error.
| The puzzling thing is that we regularly (5-10 times a week) get this
error
| message:
|
| System.Web.HttpException: This is an invalid webresource request.
| at
|
System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRe
quest(HttpContext
| context)
| at
|
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
on.IExecutionStep.Execute()
| at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
| completedSynchronously)
|
| The requested URL for this is http://url:80/WebResource.axd
|
| We don't use web-resources ourselves.
|
| Thanks in advance,
| Pete
|
|
|
|
|

.



Relevant Pages

  • Re: Workgroup Messaging Message Configuration
    ... Project MVP ... Visit http://project.mvps.org/ for the FAQs and additional information ... The first time I did that, a status request was displayed ... I sent the request to the resource at ...
    (microsoft.public.project)
  • Re: Resource reservation problem
    ... Are you sure the client is using the "Make a Meeting" to send the request? ... double-clicking ON IT trying to create a meeting directly on the resource. ...
    (microsoft.public.outlook.calendaring)
  • Re: if-modified-since question (protocol problem?)
    ... request, but in response you are interested only if your request ... To base the decision on whether there is something 'new to show' would require knowledge about something 'old' - a cached resource. ... No Last-Modified header is sent in the response, ...
    (comp.infosystems.www.authoring.html)
  • Re: How to refresh cached image ONCE
    ... great detail which headers are used by clients to determine that. ... If there is a cached resource and headers indicate that the ... A client that makes a HEAD request first. ...
    (comp.lang.javascript)
  • Re: Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
    ... That path also contains a subdirectory 'style' in the same directory, and the subdirectory 'style' contains the file 'std.css' which is a Windows shortcut file. ... The only connection to HTML or CSS is via the http server, the program that interprets a request from your browser and "serves" a resource. ... Secondly a windows "shortcut" is not a symbolic link. ...
    (alt.html)