I have a stranger error on my machine, I have a .browser file in app_browser of my application and it has the following lines:
browsers>
<!-- Disable the Menu Adapter for the Safari/Chrome browser-->
<browser refID="Safari1Plus">
<controlAdapters>
<adapter controlType="System.Web.UI.WebControls.Menu"
adapterType="" />
</controlAdapters>
</browser>
When I try to load the application I get the error in the subject but none of my colleagues (We are all using the same code base) gets it.
I have an instinct that the error is linked to IIS and I spent a whole day trying to get my head around it to no success.
To make this work in the meantime, I have replaced the safari1plus with default, but the underlaying problem is that I have a gridview on one of my pages that doesn't display anything on my local machine and it does work on other devs machine. I am not sure as to why or the cause of this but it looks like it is a configuration based issue and maybe one or two people have had to deal with this.
Anyone with an idea is welcome.
Obviously the OS is Win 7 64 bits, with VS2010 Professional and IIS7.
also I have checked the content of Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers and Windows\Microsoft.NET\Framework\v4.0.30319\Config\Browsers and also on the Framework64 Dir and all looks the same(compared to other devs machine)
Many thanks
You should look up the exact refId
in the corresponding browser definitions files located at <windir>\Microsoft.NET\Framework[64]\<ver>\CONFIG\Browsers
.
For .NET 4.0, the refId
is WebKit
and not Safari1Plus
.
As I suspected this was an IIS issue and I accidentally resolved it by checking all the settings of all the web apps. My application has 7 apps that shares the same Data layer.
The way I resolved it to make sure that all apps use ASP.Net v2.0 integrated pool as application pool, obviously this doesn't make any sense, but that is what worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With