473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.CryptographicExceptio n

Message: Padding is invalid and cannot be removed

Source = mscorlib

Stack trace =
System.Security.Cryptography.RijndaelManagedTransf orm.DecryptData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
System.Security.Cryptography.RijndaelManagedTransf orm.TransformFinalBlock
(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFin alBlock()
at
System.Web.Configuration.MachineKeySection.Encrypt OrDecryptData(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean useValidationSymAlgo)
at System.Web.UI.Page.DecryptString(String s)
at
System.Web.Handlers.AssemblyResourceLoader.System. Web.IHttpHandler.Proces
sRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)

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.ServerVariables["SCRIPT_NAME"] 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 4248
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*********@nospam.thanx.invalidwrote in message
news:pc**************@nospamthankyou.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.CryptographicExceptio n

Message: Padding is invalid and cannot be removed

Source = mscorlib

Stack trace =
System.Security.Cryptography.RijndaelManagedTransf orm.DecryptData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
System.Security.Cryptography.RijndaelManagedTransf orm.TransformFinalBlock
(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFin alBlock()
at
System.Web.Configuration.MachineKeySection.Encrypt OrDecryptData(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSymAlgo)
at System.Web.UI.Page.DecryptString(String s)
at
System.Web.Handlers.AssemblyResourceLoader.System. Web.IHttpHandler.Proces
sRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

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.ServerVariables["SCRIPT_NAME"] 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_*************************@sqlwork.comwrites
>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=632926642503125000

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*********@nospam.thanx.invalidwrote in message
news:pc**************@nospamthankyou.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.CryptographicExceptio n

Message: Padding is invalid and cannot be removed

Source = mscorlib

Stack trace =
System.Security.Cryptography.RijndaelManagedTrans form.DecryptData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
System.Security.Cryptography.RijndaelManagedTrans form.TransformFinalBlock
(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFin alBlock()
at
System.Web.Configuration.MachineKeySection.Encryp tOrDecryptData(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSymAlgo)
at System.Web.UI.Page.DecryptString(String s)
at
System.Web.Handlers.AssemblyResourceLoader.System .Web.IHttpHandler.Proces
sRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionSt ep.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

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.ServerVariables["SCRIPT_NAME"] 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_*************************@sqlwork.comwrites
>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=632926642503125000

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*********@bluewin.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
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...
4
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...
0
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...
8
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...
0
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...
1
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...
9
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...
3
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. ...
2
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.