George
George

Reputation: 41

Problem in using Ocean's Browsercaps in ASP.NET app to detect spiders

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:

  1. Created App_Browsers folder
  2. Created Spiders folder in the above
  3. 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 gateway 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.

Upvotes: 2

Views: 547

Answers (1)

Owen Brady
Owen Brady

Reputation: 81

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.

Upvotes: 0

Related Questions