Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2005

Tip: Looking for answers? Try searching our database.

webresource.axd produces errors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Strøiman - 13 Dec 2005 17:51 GMT
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.ProcessRequest(HttpContext
context)
 at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.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
Steven Cheng[MSFT] - 14 Dec 2005 03:42 GMT
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

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Peter Strøiman" <peterstroeiman@nospam.nospam>
| Subject: webresource.axd produces errors
[quoted text clipped - 8 lines]
| 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
[quoted text clipped - 11 lines]
| 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)
[quoted text clipped - 5 lines]
| Thanks in advance,
| Pete

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.