find a location for property in a new city
Showing posts with label browser definitions. Show all posts
Showing posts with label browser definitions. Show all posts

Wednesday, 24 March 2010

The browser or gateway element with ID 'Safari1Plus' cannot be found. Upgrading to .NET4

I received an error message of "The browser or gateway element with ID 'Safari1Plus' cannot be found." and a description of "An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately."

This is because the browser definitions that were (appreciatively) borrowed from Ocean's Place are inheriting from definitions that existed on the .NET framework v2 and no longer exist on v4.

There are two ways around this:
  • Replacing all the definitions from .NET4 with the old ones from .NET2
  • Remove Ocean's definitions

Through personal preference I decided to remove the 3rd party definitions as I would assume .NET4 has covered the new browsers/crawlers missed by the 5 year old .NET2 by now.

Replacing all the new definitions with the old ones worries me as we’d getting out of sync with the expectations of the framework, which will affect service pack updates to these definitions.

Follow britishdev on Twitter