473,624 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help - exception from WebResource.axd - what does it mean?

Hello,

I have an error logging system on one of my sites, so that if an
unexpected exception occurs, I get an e-mail sent. The e-mail includes
the name of the page on which the exception occurred, so I can track it
down.

I have been getting a lot of e-mails recently showing the source of the
exception as being WebResource.axd , and I'm not sure what's happening. I
wonder if anyone here has any ideas.

The most common exception I get is...

Exception: System.Security .Cryptography.C ryptographicExc eption

Message: Padding is invalid and cannot be removed

Source = mscorlib

Stack trace =
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock
(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean useValidationSy mAlgo)
at System.Web.UI.P age.DecryptStri ng(String s)
at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.Proces
sRequest(HttpCo ntext context)
at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplic
ation.IExecutio nStep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean& completedSynchr onously)

Anyone any ideas what this could be, or how I work out what was going on
at the time? I don't even know which page on the site caused this, as
Request.ServerV ariables["SCRIPT_NAM E"] simply returns WebResource.axd ,
which is a .NET resource that is used all over the place.

TIA for any help.

--
Alan Silver
(anything added below this line is nothing to do with me)
Sep 14 '06 #1
4 4280
if you look in the iis log, you will requests to WebResource.axd . look for
the 500 status and you have the query string.

"Alan Silver" <al*********@no spam.thanx.inva lidwrote in message
news:pc******** ******@nospamth ankyou.spam...
Hello,

I have an error logging system on one of my sites, so that if an
unexpected exception occurs, I get an e-mail sent. The e-mail includes the
name of the page on which the exception occurred, so I can track it down.

I have been getting a lot of e-mails recently showing the source of the
exception as being WebResource.axd , and I'm not sure what's happening. I
wonder if anyone here has any ideas.

The most common exception I get is...

Exception: System.Security .Cryptography.C ryptographicExc eption

Message: Padding is invalid and cannot be removed

Source = mscorlib

Stack trace =
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock
(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo)
at System.Web.UI.P age.DecryptStri ng(String s)
at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.Proces
sRequest(HttpCo ntext context)
at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplic
ation.IExecutio nStep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)

Anyone any ideas what this could be, or how I work out what was going on
at the time? I don't even know which page on the site caused this, as
Request.ServerV ariables["SCRIPT_NAM E"] simply returns WebResource.axd ,
which is a .NET resource that is used all over the place.

TIA for any help.

--
Alan Silver
(anything added below this line is nothing to do with me)

Sep 14 '06 #2
In article <#7************ **@TK2MSFTNGP06 .phx.gbl>, "bruce barker
(sqlwork.com)" <b_************ *************@s qlwork.comwrite s
>if you look in the iis log, you will requests to WebResource.axd . look for
the 500 status and you have the query string.
I looked in there, but found query strings like...

d=FIjXXc-q6aYj-7yQasNHpg2&t=63 292664250312500 0

which means diddly squat to me. AFAIK, WebResource.axd is a .NET thing,
and the framework generates references to it, and the query strings as
well, so I'm not sure how to read this info. I have never manually added
a reference to it, so the exception is not something I've done (directly
at least).

Thanks for the reply, any further suggestions?
>"Alan Silver" <al*********@no spam.thanx.inva lidwrote in message
news:pc******* *******@nospamt hankyou.spam...
>Hello,

I have an error logging system on one of my sites, so that if an
unexpected exception occurs, I get an e-mail sent. The e-mail includes the
name of the page on which the exception occurred, so I can track it down.

I have been getting a lot of e-mails recently showing the source of the
exception as being WebResource.axd , and I'm not sure what's happening. I
wonder if anyone here has any ideas.

The most common exception I get is...

Exception: System.Security .Cryptography.C ryptographicExc eption

Message: Padding is invalid and cannot be removed

Source = mscorlib

Stack trace =
System.Securit y.Cryptography. RijndaelManaged Transform.Decry ptData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
System.Securit y.Cryptography. RijndaelManaged Transform.Trans formFinalBlock
(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
at
System.Web.Con figuration.Mach ineKeySection.E ncryptOrDecrypt Data(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationS ymAlgo)
at System.Web.UI.P age.DecryptStri ng(String s)
at
System.Web.Han dlers.AssemblyR esourceLoader.S ystem.Web.IHttp Handler.Proces
sRequest(HttpC ontext context)
at
System.Web.Htt pApplication.Ca llHandlerExecut ionStep.System. Web.HttpApplic
ation.IExecuti onStep.Execute( )
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynch ronously)

Anyone any ideas what this could be, or how I work out what was going on
at the time? I don't even know which page on the site caused this, as
Request.Server Variables["SCRIPT_NAM E"] simply returns WebResource.axd ,
which is a .NET resource that is used all over the place.

TIA for any help.

--
Alan Silver
(anything added below this line is nothing to do with me)

--
Alan Silver
(anything added below this line is nothing to do with me)
Sep 14 '06 #3
Hi,

Alan Silver wrote:
In article <#7************ **@TK2MSFTNGP06 .phx.gbl>, "bruce barker
(sqlwork.com)" <b_************ *************@s qlwork.comwrite s
>if you look in the iis log, you will requests to WebResource.axd . look
for
the 500 status and you have the query string.


I looked in there, but found query strings like...

d=FIjXXc-q6aYj-7yQasNHpg2&t=63 292664250312500 0

which means diddly squat to me. AFAIK, WebResource.axd is a .NET thing,
and the framework generates references to it, and the query strings as
well, so I'm not sure how to read this info. I have never manually added
a reference to it, so the exception is not something I've done (directly
at least).

Thanks for the reply, any further suggestions?
The webresource.axd is an ASP.NET handler which is able to extract
embedded files from a resource assembly (for example script files, CSS
files, images etc...) and to return them to the client. The advantage is
that you don't need to install multiple files together with a web
assembly or web control, but only one DLL containing all the files.

See this tutorial:
http://weblogs.asp.net/jeff/archive/...18/419842.aspx

Do you use 3rd party controls in your application? Or ATLAS? Or any
other external framework?

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Sep 14 '06 #4
In article <uE************ **@TK2MSFTNGP02 .phx.gbl>, Laurent Bugnion
<ga*********@bl uewin.chwrites
<snip>
>The webresource.axd is an ASP.NET handler which is able to extract
embedded files from a resource assembly (for example script files, CSS
files, images etc...) and to return them to the client. The advantage
is that you don't need to install multiple files together with a web
assembly or web control, but only one DLL containing all the files.

See this tutorial:
http://weblogs.asp.net/jeff/archive/...18/419842.aspx

Do you use 3rd party controls in your application? Or ATLAS? Or any
other external framework?
Thanks for the reply, but I don't think this is the issue. This site
doesn't use any 3rd party controls, nor Atlas (or any flavour of AJAX),
no external framework, etc. It's just a straight ASP.NET site, with all
code written in plain text files (eg classes in APP_Code folder), no
DLLs at all, etc.

The site uses plenty of CSS files, images, etc, but these are all linked
normally in the rendered HTML code AFAIK. Even the CSS, which is in a
theme folder is just linked normally.

Thanks again, any other ideas?

--
Alan Silver
(anything added below this line is nothing to do with me)
Sep 18 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3502
by: felecha | last post by:
I learned about Exceptions in School, and now that I'm building my first real application on the job, I'm going through it trying to analyze it for all possible Exceptions so I can handle them effectively. I've been looking in the Help / Index for each Method's documentation, and looking at the listed Exceptions. I'm finding a number of methods with no Exceptions specified. Does that mean there is no possible Exception for that method?...
4
2050
by: Chris | last post by:
Hi all, I've built a site using ASP.NET (my first) and currently it has no content. The layout and design is done (only 4kb of images used). Testing it out on my webserver I notice a large load time for each page. On investigating, each page seems to download 2 "WebResource.axd" files, one being 32.41 kB and the other 20.52 kB. I use the menu control (static with 1 level) and navigation control. Are these the cause of the two above...
0
1343
by: sunev | last post by:
I have a question regarding WebResource and in particular the PerformSubstitution. I see that the <%=WebResouce(…)%can be used with a WebResource to perform substitution on a resource to substitute the WebResourceUrl of other resource referenced with the first (perhaps an image within an html file). What I would like to be able to do is perform substitution on a script file that contains <%=Control1.ClientID%so that the clientID is...
8
8453
by: Mark Rae | last post by:
Hi, I'm developing an intranet for a client. On my development machine, I have created a virtual directory called, fairly unimaginatively, intranet. However, the client wants to deploy the app into its own site, rather than into a virtual directory, on the production server. Problem now is that the production site can't find WebResource.axd.
0
2495
by: Steve B. | last post by:
Hi, We have on a production server a very strange bug. After several hours of correct working (from 2hours to 5 hours, randomly), the page output an error : The WebResource.axd handler must be registered in the configuration to process this request.
1
2553
by: =?Utf-8?B?TWF5?= | last post by:
We are getting WebForm_DoPostBackWithOptions is not defined and other Java script errors related to WebResource.axd file. I narrowed down the problem and found out the cause but can't come up with a solution based on our application setup. Here is is how our web sites configured on IIS. Multiple web sites points to the same IP address and some of these web sites has sub-virtual directories, for example mystore.com is a web site that has...
9
2530
by: AG | last post by:
I occassionally get the following exception from an ASP.NET 2.0 Web Application running on a shared web host. I have no way of knowing what the actual request page was as it never happens when I visit the site. The exception is trapped in the Application_Error event of global.asax and emailed to me. The only encryption in the app is the connectionStrings section of web.config.
3
3876
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... We recently upgraded to the blowery.HttpCompress module for .Net 2.0 (I know, long time coming), and I've been investigating some exceptions that have ended up in our log as a result. I'm new to some of the modules involved, but the exception I've found is that when a request comes in for WebResource.axd with an Accept-Encoding: header of gzip or deflate, when the process gets handed to the blowery.HttpCompress module, the...
2
1973
by: Roberto Rasto | last post by:
I have an application that use Componentart WebUI calendar control. When I execute on local everything works fine. When I execute on server I get the javascript error: Expected ')' I compared the two html source and I saw then on local I see WebResource.axd?d=...... On server source I can't see it. Can you help me? Thanks.
0
8234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8620
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.