arachnode.net
An open source .NET web crawler written in C# using SQL 2005/2008
IT Professionals & Windows Deployment Professionals: SmartDeploy Enterprise is the first hardware-independent imaging toolset that uses boot time driver-injection, simplifying deployment and easing distribution by reducing total image count. [LINK]

Parameter is not valid - may be 304 response issue for images and maybe more

rated by 0 users
Answered (Verified) This post has 1 verified answer | 2 Replies | 2 Followers

Top 10 Contributor
Male
101 Posts
Kevin posted on 4 Sep 2009 3:09 PM

In reviewing Parameter is not valid errors in Exceptions table, it appears that this may be due to 304 responses.

In testing, I get this error on images returned.  Using firebug to see what exactly comes back when these particular absoluteuri images are requested, I see that the first time I get a 200 and on a refresh I get a 304 not returned probably due to caching on the server end.

Debugging ImageManager, I think what is happening is that the image is actually not being returned, so line 96 is trying to do a FromStream call when the stream is a 0 byte stream (nothing returned so nothing there).

So need to look at how 304 respones are handled for images and maybe other things as well.

Kevin

 

Answered (Verified) Verified Answer

Top 10 Contributor
1,244 Posts

Not all WebServers handle the 'Accept-Type' HttpHeader properly.  Fixed in, 1.2 or greater.

For best service when you require assistance:  Big Smile

  1. Check the DisallowedAbsoluteUris and Exceptions tables first.
  2. Cut and paste actual exceptions from the Exceptions table.
  3. Include screenshots.

An open source .NET web crawler written in C# using SQL 2005/2008.

Twitter: http://twitter.com/arachnode_net

arachnode.net provides custom crawling and contracting resources.  Please ask.

C# crawler, C# web crawler, C# site crawler

All Replies

Top 10 Contributor
1,244 Posts

I wonder if this is due to making a HEAD request first?

For best service when you require assistance:  Big Smile

  1. Check the DisallowedAbsoluteUris and Exceptions tables first.
  2. Cut and paste actual exceptions from the Exceptions table.
  3. Include screenshots.

An open source .NET web crawler written in C# using SQL 2005/2008.

Twitter: http://twitter.com/arachnode_net

arachnode.net provides custom crawling and contracting resources.  Please ask.

C# crawler, C# web crawler, C# site crawler

Top 10 Contributor
1,244 Posts

Not all WebServers handle the 'Accept-Type' HttpHeader properly.  Fixed in, 1.2 or greater.

For best service when you require assistance:  Big Smile

  1. Check the DisallowedAbsoluteUris and Exceptions tables first.
  2. Cut and paste actual exceptions from the Exceptions table.
  3. Include screenshots.

An open source .NET web crawler written in C# using SQL 2005/2008.

Twitter: http://twitter.com/arachnode_net

arachnode.net provides custom crawling and contracting resources.  Please ask.

C# crawler, C# web crawler, C# site crawler

Page 1 of 1 (3 items) | RSS
An open source .NET web crawler written in C# using SQL 2005/2008

copyright 2004-2010, arachnode.net LLC

Powered by Community Server (Non-Commercial Edition), by Telligent Systems