The browser or gateway element with ID 'safari1plus' cannot be found

Hi,

I have upgraded my application ASP.net 2.0 to ASP.net4.0

Application is sucessfully upgraded but I am getting below error when building the website:


Error      3      The browser or gateway element with ID 'safari1plus' cannot be found. (App_Browsers\Safari.browser line 2)            


File name: Safari.browser


<browsers>
  <browser refID="safari1plus">
    <capabilities>
    <capability name="supportsMaintainScrollPositionOnPostback"
        value="true" />
    </capabilities>
    <controlAdapters>
      <adapter controlType="System.Web.UI.WebControls.Menu" adapterType=""/>
    </controlAdapters>
  </browser>
</browsers>


Please suggest the solution

Regards
tia_kamakshiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ugo MenaConnect With a Mentor Commented:
This is due to browser definitions inheriting from definitions that existed on the .NET framework v2 and no longer exist on v4.

Delete the browser definition file in the \App_Browsers folder.

Or

Make sure that all apps use ASP.Net v2.0 integrated pool as application pool.
0
All Courses

From novice to tech pro — start learning today.