We have an odd error with WebResource.axd url generation. (It does not seem to be related to the fairly common "WebRsource.axd Padding is invalid and cannot be removed" issue).
In this case, we're seeing that the WebResource.axd link turns into garbage past a certain point, replaced by what looks like contents from the actual resource. Worse yet, it seems to be fairly inconsistant.
In our case, the link should (and usually does look like):
All well and good. However, we are getting errors logged from users...and the url they're trying to access looks like (in one case):
/WebResource.axd?d=D-wd7RbHCvS/../../images/icons/Ico_resize.gif')}}function%20ShowFilter_Manufacturer(){var%20div.......
[the remaining encoded javascript from that link has been removed as irrelevant]
Stranger yet, we got a few of these in rapid succession from the same user, who was apparently trying to reload the page...each url slightly different.
Um...I said I don't think it's related to that issue...
We don't actually get that error, and the other symptoms aren't the same either. I just mentioned that error because it seems to be the only thing that I could find information on for WebResource.axd, and it comes up a lot in answers, but that it doesn't
seem to be what's happening here.
I am having the same issue. its captured in my Application_Error event. users will not see it except for maybe a bad linkbutton javascript notification i suppose.
something like this WebResource.axd?d=t6XQ9u7g%20%20%20%20%20%20%20%20%20%20alt='';
padded with whitespace and url encoded?!?!?!
I also gathered the browser info
IsNewSession: ''False''; SessionID: ''gkqtrb45ieip5r2gblinrs55''; Type = ''IE8'' ; Name = ''IE'' ; Version = ''8.0'' ; Major Version = ''8'' ; Minor Version = ''0'' ; Platform = ''WinXP'' ; Is Beta = ''False'' ; Is Crawler = ''False'' ; Is AOL = ''False''
; Is Win16 = ''False'' ; Is Win32 = ''True'' ; Supports Frames = ''True'' ; Supports Tables = ''True'' ; Supports Cookies = ''True'' ; Supports VB Script = ''True'' ; Supports JavaScript = ''True'' ; Supports Java Applets = ''True'' ; CDF = ''False'' ;
I am wondering if I should scrape the output of my pages applictaiont_endrequest to see if I am handing out these bad urls?
I cannot recreate the issue....could be some crappy symantec software seeing the script url and not liking it ?!?!?!
So I looked closer at the IIS Website and noticed that the aspnet_client folder wast still in the directory hosting my website. As I understand it this folder was necessary in asp.net 1 and 1.1 but not in 2. I removed the folder and then was able to remove
the WebResource.axd file. So the production server is now like the test server. I am hoping that this will also solve the weird WebResource.axd urls I am seing requested from clients in the error log. ..... I hope....
I have come to the conclusion that this is likely not a problem with the html that is being served, but rather with the way that html is being parsed by IE, in particular IE 8. Each case we've seen has been with IE 8 or, in a few cases 7...but IE 8 will
pretend to be IE 7 if it is in compatibility mode. My suspicion is that the IE parser is getting confused, and creating these bizarre results. Has anyone else encountered these types of problems?
I thought that too though I have seen the problem with other versions of IE 6,7 and 8. I think it might be related to the script tags and the CDATA in relation to the DOCTYPE and HTML4 strict versus transitional. but I am guessing at this point. baffeled
and confused.....this sucks. i like microsoft generally but its hard to convince people its good technology when shit like this messing things up!!!
beska_miltar
0 Points
5 Posts
Corrupted WebResource.axd url parameters
Jan 20, 2009 02:26 PM|LINK
We have an odd error with WebResource.axd url generation. (It does not seem to be related to the fairly common "WebRsource.axd Padding is invalid and cannot be removed" issue).
In this case, we're seeing that the WebResource.axd link turns into garbage past a certain point, replaced by what looks like contents from the actual resource. Worse yet, it seems to be fairly inconsistant.
In our case, the link should (and usually does look like):
/WebResource.axd?d=D-wd7RbHCvSp_p0mHAmE4g2&t=633464867255568315
All well and good. However, we are getting errors logged from users...and the url they're trying to access looks like (in one case):
/WebResource.axd?d=D-wd7RbHCvS/../../images/icons/Ico_resize.gif')}}function%20ShowFilter_Manufacturer(){var%20div.......
[the remaining encoded javascript from that link has been removed as irrelevant]
Stranger yet, we got a few of these in rapid succession from the same user, who was apparently trying to reload the page...each url slightly different.
/WebResource.axd?d=D-wd7RbHCvS<garbage>
/WebResource.axd?d=D-wd7RbHCvSp<garbage>
/WebResource.axd?d=D-wd7RbHCvSp_<garbage>
Has anyone seen anything like this?
WebResource.axd invalid corrupted url
Tomorrow
Contributor
4192 Points
440 Posts
Re: Corrupted WebResource.axd url parameters
Jan 23, 2009 09:05 AM|LINK
I think you can get some ideas from this links:
http://stackoverflow.com/questions/309859/padding-is-invalid-and-cannot-be-removed-exception-on-webresourceaxd
http://www.netnewsgroups.net/group/microsoft.public.dotnet.framework.aspnet/topic29246.aspx
http://bytes.com/groups/net-asp/717073-padding-invalid-cannot-removed
beska_miltar
0 Points
5 Posts
Re: Corrupted WebResource.axd url parameters
Jan 23, 2009 01:06 PM|LINK
Um...I said I don't think it's related to that issue...
We don't actually get that error, and the other symptoms aren't the same either. I just mentioned that error because it seems to be the only thing that I could find information on for WebResource.axd, and it comes up a lot in answers, but that it doesn't seem to be what's happening here.
webresource.axd asp.net
JoeVolcano
Member
26 Points
13 Posts
Re: Corrupted WebResource.axd url parameters
Apr 18, 2009 02:20 PM|LINK
I am having the same issue. its captured in my Application_Error event. users will not see it except for maybe a bad linkbutton javascript notification i suppose.
something like this WebResource.axd?d=t6XQ9u7g%20%20%20%20%20%20%20%20%20%20alt='';
padded with whitespace and url encoded?!?!?!
I also gathered the browser info
IsNewSession: ''False''; SessionID: ''gkqtrb45ieip5r2gblinrs55''; Type = ''IE8'' ; Name = ''IE'' ; Version = ''8.0'' ; Major Version = ''8'' ; Minor Version = ''0'' ; Platform = ''WinXP'' ; Is Beta = ''False'' ; Is Crawler = ''False'' ; Is AOL = ''False'' ; Is Win16 = ''False'' ; Is Win32 = ''True'' ; Supports Frames = ''True'' ; Supports Tables = ''True'' ; Supports Cookies = ''True'' ; Supports VB Script = ''True'' ; Supports JavaScript = ''True'' ; Supports Java Applets = ''True'' ; CDF = ''False'' ;
I am wondering if I should scrape the output of my pages applictaiont_endrequest to see if I am handing out these bad urls?
I cannot recreate the issue....could be some crappy symantec software seeing the script url and not liking it ?!?!?!
anyone got a fix for me?!?!?!
matten
Member
4 Points
2 Posts
Re: Corrupted WebResource.axd url parameters
Apr 19, 2009 04:46 PM|LINK
I´m having exactly the same problem here. Anybody solved this?
JoeVolcano
Member
26 Points
13 Posts
Re: Corrupted WebResource.axd url parameters
Apr 20, 2009 03:07 AM|LINK
I have seen several of these errors now
/WebResource.axd?d=t%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<noscript><a%20href=
/WebResource.axd?d=t%20</div>%20%20%20%20%20%20%20%20<div%20class='
some include html or javascript that I have on the page as well!
I have only seen it with IE8 so far. but that may not mean anything.....
any help?
JoeVolcano
Member
26 Points
13 Posts
Re: Corrupted WebResource.axd url parameters
Apr 28, 2009 09:38 PM|LINK
So I looked closer at the IIS Website and noticed that the aspnet_client folder wast still in the directory hosting my website. As I understand it this folder was necessary in asp.net 1 and 1.1 but not in 2. I removed the folder and then was able to remove the WebResource.axd file. So the production server is now like the test server. I am hoping that this will also solve the weird WebResource.axd urls I am seing requested from clients in the error log. ..... I hope....
JoeVolcano
Member
26 Points
13 Posts
Re: Corrupted WebResource.axd url parameters
Apr 29, 2009 02:30 AM|LINK
didnt work. still getting the wierd urls for the webresource.axd.....
beska_miltar
0 Points
5 Posts
Re: Corrupted WebResource.axd url parameters
Apr 30, 2009 07:59 PM|LINK
I have come to the conclusion that this is likely not a problem with the html that is being served, but rather with the way that html is being parsed by IE, in particular IE 8. Each case we've seen has been with IE 8 or, in a few cases 7...but IE 8 will pretend to be IE 7 if it is in compatibility mode. My suspicion is that the IE parser is getting confused, and creating these bizarre results. Has anyone else encountered these types of problems?
JoeVolcano
Member
26 Points
13 Posts
Re: Corrupted WebResource.axd url parameters
Apr 30, 2009 08:08 PM|LINK
I thought that too though I have seen the problem with other versions of IE 6,7 and 8. I think it might be related to the script tags and the CDATA in relation to the DOCTYPE and HTML4 strict versus transitional. but I am guessing at this point. baffeled and confused.....this sucks. i like microsoft generally but its hard to convince people its good technology when shit like this messing things up!!!