while studying a way of properly detecting crawlers on our ASP.NET application, I came across Owen Brady's broswercaps project.
In order to use it, I did this:
- Created App_Browsers folder
- Created Spiders folder in the above
- Downloaded [OceanSpiders.browser.xml][2] and renamed it to OceanSpiders.browser
so, the final final looking like App_Browsers/Spiders/OceanSpiders.browser
I do have NET Framework 4 installed on my dev machine, but targeting NET Framework 3.5
The problem is a parser error: 'The browser or gat开发者_如何学Goeway element with ID 'docomon505i' cannot be found.'
I did google/search on SO, but could not find a solution, hence my reason for posting.
Thank you for any suggestions.
It sounds like the web server is running against 4.0 run time and not the 3.5 run time, as it is reading the new Browser files which do not have docomon505i definition in them.
精彩评论