Sharepoint runtime error: “The browser or gateway element with ID ‘SKTDevicesSamSung’ cannot be found”

Sharepoint started erroring out and wouldn’t load today.  I had made a couple of changes to the server so I wasn’t sure which one had caused the problem.

After turning off custom errors so I could see the details, the error was: “Error: The browser or gateway element with ID ‘SKTDevicesSamSung’ cannot be found”

Right away I knew what did it but not sure why.  I was playing with interpreting the user agent strings that various browsers send to your server when they make requests.
I don’t really need to know what browser, version and OS is hitting our intranet but it was fun figuring out how to do it.  Well I had run the aspnet_registerbrowsers.exe -i command which loads info from .browser files to help with identifying web browsers.  There’s a bug that causes sharepoint to choke on the SKTDevicesSamSung element of the compat.browser xml file.

To fix it find these files (I had 2 because of 64bit Server 2008).
They were in my folders below:

Following instructions from Microsoft had me delete the following lines from the compat.browser files:

<browser id=”InfrawareSamSung” parentID=”SKTDevicesSamSung”>
<browser id=”InfrawareLG” parentID=”SKTDevicesLG”>
<browser id=”InfrawareSKY” parentID=”SKTDevicesSKTT”>
<browser id=”InfrawareMotorola” parentID=”SKTDevicesMotorola”>

Remove these lines from the opening tag <browser…> including the line with </browser>.

After removing these lines I re-ran the aspnet_registerbrowsers.exe -i command (not sure if that’s necessary or not).
That fixed the issue.

“The Datasheet view is attempting to retrieve data from a different domain” error in Microsoft Windows Server Sharepoint Services 3.0


I kept getting this error message that stated “”The datasheet view is attempting to retrieve data from a different domain…contact your system administrator to resolve this issue.”

Well, I am the system administrator and I had no idea how to resolve this issue!  After a bit of searching on the web I found someone who mentioned load balancing and alternate access mappings.
I’m not doing any load balancing so I looked further into alternate access mappings and found instructions on changing these mappings.
You have to enter the Sharepoint Administration console.  When you install Sharepoint it’s setup on a random port on your server.  In my instance it was
You can open IIS and right click on the Sharpoint Central Administration site and select bindings it’ll tell you which port it’s setup on.

Once you are get to the Sharepoint Administration, click on operations on the left side then Alternate access mappings on the right side.
So by default I had http://intranet  (this will likely be the name of your server).
I then added an internal url (there’s a button along the menu bar for this) with

After doing this I no longer get the datasheet view error and am able to edit and save the changes.

Note:  I am using Windows Sharepoint Services 3.0 and not the Sharepoint Server 2007.  I don’t know if there’s a difference in the setup or if this error even occurs on that version.