Looking at the error I think it's occuring because some of your links use the file:// protocol, which is very unusual for a public website. For instance, you have a link:
I guess this is something I've never come across before!
I will try and fix tomorrow if I get a chance. However, it's worth pointing out that links using the file:// protocol expect the file to be on the local machine. In other words, if I click on a file:// link it expects the file to be on my computer, not your server! So it's not really suitable for a website. See http://en.wikipedia.org/wiki/File_URI_scheme#Web_pages
Good Grief! We have regular staff (i.e. non-IT people) editing content on our pages and apparently they will link to anything. Well, at least I know what caused the error and can fix it. Thanks for being so responsive! :)
OK, I've released a new package (V1.2) that should handle non-supported schemes such as "file://" or "ftp://". Generally these aren't encountered much on (public) websites but they shouldn't cause a crash! So now if the Link Checker encounters such a link it will flag the link as a Warning and state "Unsupported scheme". So now you should be able to find out if there are any more.
Unable to cast object
Here's the full error:
Sorry, the following error has occured:Unable to cast object of type 'System.Net.FileWebRequest' to type 'System.Net.HttpWebRequest'.
I think this was the last page I was able to successfully check:
http://myfwc.com/license/limited-entry-hunts/general-info/st-marks-general-gun-permit/
the next pages would be:
http://myfwc.com/license/limited-entry-hunts/general-info/st-marks-mob-impaired/
http://myfwc.com/license/limited-entry-hunts/general-info/lower-suwannee-hog/
I just giving you that info in case it helps track down the issue.
More precisely - the last successfully checked page was:
http://myfwc.com/license/limited-entry-hunts/general-info/st-marks-spring-turkey/
the next pages would be
http://myfwc.com/license/limited-entry-hunts/general-info/lower-suwannee-hog/
http://myfwc.com/license/limited-entry-hunts/general-info/lower-suwannee-anterless-deer/
http://myfwc.com/license/limited-entry-hunts/general-info/st-vincent-white-tailed-deer/
You're becoming my full time tester :)
Looking at the error I think it's occuring because some of your links use the file:// protocol, which is very unusual for a public website. For instance, you have a link:
on the page http://myfwc.com/license/limited-entry-hunts/general-info/lower-suwannee-hog/
I guess this is something I've never come across before!
I will try and fix tomorrow if I get a chance. However, it's worth pointing out that links using the file:// protocol expect the file to be on the local machine. In other words, if I click on a file:// link it expects the file to be on my computer, not your server! So it's not really suitable for a website. See http://en.wikipedia.org/wiki/File_URI_scheme#Web_pages
Good Grief! We have regular staff (i.e. non-IT people) editing content on our pages and apparently they will link to anything. Well, at least I know what caused the error and can fix it. Thanks for being so responsive! :)
OK, I've released a new package (V1.2) that should handle non-supported schemes such as "file://" or "ftp://". Generally these aren't encountered much on (public) websites but they shouldn't cause a crash! So now if the Link Checker encounters such a link it will flag the link as a Warning and state "Unsupported scheme". So now you should be able to find out if there are any more.
Please let me know if this resolves your problem?
Dan
is working on a reply...