Home » Sharepoint 2010

v4.master: Internet Explorer loses scrollbar unless user authenticates

I am somewhat new to Sharepoint, and used a spsecuritytrimmedcontrol for anonymous users.  However, when I log in as anonymous, I lose the scrollbar in IE.  Once I authenticate as someone, I have the scroll bar back.

I have scroll=no on the page (default).  If I change this to Yes, I do have an anonymous scrollbar, but once authenticating, it creates a second scrollbar for the authenticated user.

Here is the offending code - can someone point me in the right direction (my guess is the menuitemtemplates are not the offending code, but wanted to throw in the whole block)...


<SharePoint:SPSecurityTrimmedControl PermissionsString="ManagePermissions" runat="server">
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
 <div id="s4-ribboncont">
    CssClass="ms-siteactionscontainer s4-notdlg">
        <span class="ms-siteactionsmenu" id="siteactiontd">
<!--        <SharePoint:SPSecurityTrimmedControl ID = "spstcSiteActions" runat = "server" PermissionsString = "ManageWeb" > -->
        <SharePoint:SiteActions runat="server" accesskey="<%$Resources:wss,tb_SiteActions_AK%>" id="SiteActionsMenuMain"
      <SharePoint:FeatureMenuTemplate runat="server"
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_TakeOffline"
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreatePage"
        ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Page')) { OpenCreateWebPageDialog('~site/_layouts/createwebpage.aspx') }"
        PermissionsString="AddListItems, EditListItems"
        PermissionMode="All" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateDocLib"
        ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('DocLib')) { GoToPage('~site/_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&amp;ListTemplate=101') }"
        VisibilityFeatureId="00BFEA71-E717-4E80-AA17-D0C71B360101" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateSite"
        ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Site')) { STSNavigate('~site/_layouts/newsbweb.aspx') }"
        PermissionMode="All" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create"
        ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('All')) { STSNavigate('~site/_layouts/create.aspx') }"
        PermissionsString="ManageLists, ManageSubwebs"
        PermissionMode="Any" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_ViewAllSiteContents"
        PermissionMode="Any" />
        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditSite"
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_SitePermissions"
        PermissionMode="Any" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings"
        PermissionMode="Any" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CommitNewUI"
        ShowOnlyIfUIVersionConfigurationEnabled="true" />
    <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server">
       <div class="s4-breadcrumb-top">
        <asp:Label runat="server" CssClass="s4-breadcrumb-header" Text="<%$Resources:wss,master_breadcrumbHeader%>" />
       <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
         SkipLinkText="" />
      <div class="s4-die">
       <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server" Visible="false">
    <SharePoint:PageStateActionButton id="PageStateActionButton" runat="server" Visible="false" />
    CssClass="s4-trc-container s4-notdlg">
 <SharePoint:DelegateControl runat="server" ID="GlobalDelegate0" ControlId="GlobalSiteLink0" />
  <a href="#" tabindex="-1" style="display:none"></a><a href="#" tabindex="-1" style="display:none"></a>
  <div class="s4-trc-container-menu">
   <wssuc:MUISelector ID="IdMuiSelector" runat="server"/>
 <SharePoint:DelegateControl ControlId="GlobalSiteLink2" ID="GlobalDelegate2" Scope="Farm" runat="server" />
  <span class="s4-devdashboard">
    Width=16 />
 <div id="notificationArea" class="s4-noti">
 <asp:ContentPlaceHolder ID="SPNavigation" runat="server">
   <SharePoint:DelegateControl runat="server" ControlId="PublishingConsole" Id="PublishingConsoleDelegate">
 <div id="WebPartAdderUpdatePanelContainer">
    <WebPartPages:WebPartAdder ID="WebPartAdder" runat="server" />
    <asp:PostBackTrigger ControlID="WebPartAdder" />


3 Answers Found


Answer 1

The ribbon exposed is meant to work with the first two Divs in the master  page - that help with the scroll  bar.  So that you can hide the ribbon and have the scroll on your page  you have to remove the first two divs on your master page, the #s4-workspace and the #s4-bodycontainer - if you just remove the ID's that will be fine.

I will have to look back  at the exact changes you need to make but - you also remove the scroll="no" from the body tag.  Then you have some CSS changes to make.

I did that on a site and while it works. I regret doing so.  When you edit your page you are left with scrolling up and down the page to view the ribbon and edit the page.

Give those first two items a try and see if that starts working for you. Meanwhile I will look back to view the changes I made and post them.




Answer 2


Thank you for your reply.  I did wrap a spsecuritytrimmedcontrol  around the 2 items you had mentioned and the body of the page  disappeared.  I have to warn you I am new to Sharepoint, but by removing the spsecuritytrimmedcontrol (in the original email) the page does work correctly.  This is just the basic v4.master that came installed with the site.

Like I mentioned before, I did set scroll=yes to the page, and I did have a scrollbar  for anonymous  users.  Unfortunately, when a user  authenticated, it displayed a second scrollbar (and disabled the other).

Kind of strange?


Answer 3

Looks as though the answer was in the placing of the spsecuritytrimmed control after all.  Made sense, since removing the control fixed the issue (of only the scrollbar  disappearing).

The placement was to the left of the control, whereas it should have been inside.  This change  of placement allowed the scrollbar to appear, while hiding the ribbon controls from anonymous  users.


Hi, I need to change the scroll bar's size of Internet Explorer 6 in Windows CE application. by referring to http://msdn.microsoft.com/en-us/library/aa452005.aspx , I'm only able to change the scroll bar slider's size(by changing SBSizeV and SBSizeH value) but not the arrow button's size. Is there any way that I could change the size? Thank you.
Hi, I need to change the scroll bar's size of Internet Explorer 6 in Windows CE application. by referring to http://msdn.microsoft.com/en-us/library/aa452005.aspx , I'm only able to change the scroll bar slider's size(by changing SBSizeV and SBSizeH value) but not the arrow button's size. Is there any way that I could change the size? Thank you.
what does T1(1.5) mean in reference to choosing a download type  for example  DSL/cable  etc...I have an airlink card from verizon on my laptop...and i don't know which type to choose so that I can download the internet explorer 8

I am building a Facebook Application (or IFrame Application).


Facebook load my application into the IFrame at runtime when the user wants to use my application.  My application allows end users to view their Facebook videos, upload videos and so on.  The end users videos are stored on the Facebook CDN (Content Delivery Network).



Currently this is working, in Chrome 8.0 and 9.0, Firefox 3 and Safari but not IE 8 or IE 9. I keep getting the error message in my flash media player inside the iframe inside facebook that says:


"We are unable to connect to the content you've requested. We apologize for the inconvenience"


When I examine IE 9 Debugger and look at the network traffic the caputres in there say:


Initiator: Flash

Method: Get

Result: 404

Type: Text/Html


Now when i create a standard html page with the flash player not inside of facebook but on my own server and run it again.  The video plays fine in IE.  So I'm presuming that IE is not liking the fact that my app is inside of the facebook domain that is doing a call out to the facebook cdn or indeed any cdn and is preventing this transfer from happening.


The question obviously is then is how do I go about getting around this problem so that I can offer customers my service on IE ...


I've uploaded several videos to facebook to test against they in turn convert them to MP4.  Here is one that you can see for yourself.




There is a crossdomain.xml policy file at the root:




So there are no problems with permissions.  What else could be the problem here as to why IE refuses to load the cdn videos from within my application that is inside the facebook domain?

Or better yet how do I fix this problem, or is this a bug in IE????







Hi All,

There are multiple users who are not able to load the default home pages of sharepoint sites.

They are able to load other pages on the same sharepoint site, just not the home page.

The page seems to be trying to load for hours on end but never opens. No error messages appear, just a blank screen.

This issue started when IE7 was loaded on their workstations.

Anyone else experienced similar issues out there?  I'm tempted to think there is a setting on IE that needs to be changed, but not sure where to start looking.

Thanks in advance for any assistance.


I need to show the Internet Explorer in my application dialog. It should not be a separate process/ window, ie, there will not be a internet explorer on taskbar, only my application (and it should hav all the features like addressbar, menu, title bar, buttons etc).

Is it possible?


VS6, IE6



I need to install Cab files or ActiveX on workstation from IIS directory using Internet explorer using non-admin user login.

How can i do it?

Any help in this regard will be appreciated



Hi folks,

whe have registered a protocol handler (oph:) for our application to start them via URI. So we can link from inside an excel document to our application for example. Starting our application via such an URI works fine from excel and other office applications. Typing such URI in the IE works fine also. But now comes the problem. We have a redirect ASP.NET application which does nothing than redirecting from a http-URI to our oph-URI. The reason for this detour is that some applications which support links only support HTTP/HTTPS links. The ASP.NET application redirects like the following code line shows:


The problem is that the IE displays a "Internet Explorer cannot display the webpage" and makes the guess to check the connection. I have already disabled "user friendly http messages" in the IE options but the error message stays the same.

I have checked the several situations:

starting our oph-URI via "windows -> run"
  result: out application starts as expected starting our oph-URI directly in the IE address bar
  result: some security warnings but our application starts as expected starting the http-URI with the redirection ASP.NET application via "windows -> run"
  result: some security warnings but our application starts as expected starting the http-URI with the redirection ASP.NET application directly in the IE address bar
  result: BANG -> "Internet Explorer cannot display the webpage" a simple HTML page with nothing than a link to the redirect ASP.NET application
  result: BANG -> "Internet Explorer cannot display the webpage"

I have also checked the HTTP response via fiddler and for me the response seems to be ok:

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: oph:ophDev/DefaultClient/SERVICE.SUBSERVICE.5AC3D252-48C8-4029-BC7F-B349BB8D7FCC
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 18 Oct 2010 11:14:08 GMT
Content-Length: [..]

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="oph%3aophDev%2fDefaultClient%2fSERVICE.SUBSERVICE.5AC3D252-48C8-4029-BC7F-B349BB8D7FCC">here</a>.</h2>

Does anybody have an idea for this strange behavior?

Thanks and greetings from germany,

Tobias Jamin


We analyzing the implementations approach, for a scenario.

External Site: To log-in to external site which has its own user store and is hosted on different domain. So user has to provide his user id and password for logging in to external site like e.g.  DOMAIN1\UserName & Password

SharePoint Site: This site is hosted on different domain other than DOMAIN1 and has got windows/forms authentication. So the user to login to SharePoint site has to provide SharePoint site Credentials DOMAIN2\UserName & Password. SharePoint Web Part which shows external site in IFrame and allows user to perform CURD operation once the user is authenticated in external site.

What we want is once user login to SharePoint site using (Forms/Windows) authentication, he should be automatically authenticated in External Site (using some mechanism) the logged in user credentials are picked up from some store based on his sharepoint username and system authenticates the user on external site.

Any pointers to code/blogs/articles would be really helpful.


XP Professional SP2 and 3 boxes running internet explorer 6 or 7. The same issues exists in all versions. All boxes have 3rd party network providers, namely Hummingbird NFS.

The issue:
When a user is in internet explorer and tries to browse to a file sever location, it uses the 3rd party provider. When the user tries to browse to the same location using windows explorer, it uses Microsoft Windows Network provider.

Asside from changing the provider order, is there a way to force internet explorer to use a specific provider? This is important our situation because we heavily use web-based file sharing. This of course doesn't work well when a user tries to access a shared file with a 3rd party provider that our file servers aren't setup to use. I don't want to change the provider order because it breaks other terminal applications that require the provider to be listed first.

my internet explorer will not load web page it comes up with box stating :-   Runtme error!       Program C:|  program files | internet explorer| 

                                                                                                                                IEXPLORE.EXE           Abnormal program termination

Also when i go to internet options it wont open....
Computer is xp   ,,,.,,,,,,,,,,,,    im not very good with computers so any help would be great thanks......

I know it's a known issue and there are few reasons for it; (here are some:






Just wanted to note, that there is something that seems to me as bug in IE DOM implementation that can cause it as well. In my application I have following code on the client side:

while (body && body.hasChildNodes()) {

var node = body.firstChild;

// ... app logic



while body content is created by Response.Write on the server side (I write down context in <p>...</p> paragraphs sections ).

Occasionally I was getting "Internet Explorer cannot open the Internet site - Operation aborted" in IE. In Firefox it was never happen.

After some research I found that it was related to the fact that on the server side I was writing:

1) '<p>'

2) content

3) '</p>

so - sometimes on the client side the code was running while paragraph wasn't fully formed (e.g. only <p> was written).

In this case body.hasChildNodes() still returns true (bug #1) and body.removeChild(node) will cause "operation aborted" (bug #2).

Hope it may help someone.

Alex Pinsker


I cannot access any Microsoft product from my computer. cannot run  regedit, network center is locked up print spooler is missing service control manager missing. cannot install or uninstall any program. and various other problem however computer (one user) can be connected to the internet through Firefox only wireless network (network connection invisible) please help. trying for four days now.

I have two computers, and on one of them I am unable to open Internet Explorer because I keep getting a dialog box that says "Internet Explorer Security - a website wants to open web content using this program on your computer.  This program will open outside of Protected mode.  Internet Explorer's Protected mode helps protect your computer.  If you do not trust this website, do not open this program.

  Name:  dw20.exe

  Publisher:  Microsoft Corporation"

The details say it has to do with ...rosoft.NET\Framework\v2.0.50727\dw20.exe

Each time I click on Allow or Don't allow, IE closes and I can't use it.  It doesn't seem to matter which option I choose....it still closes.  What is causing this and how do I fix it?  It's very frustrating.  I need to be able to get into IE on this particular computer.



I have become confused by the lack of mapping between the registered versions of shell.explorer that are available, and the installed version of internet explorer.

So, two questions:

1. What is the difference between shell.explorer.1 and shell.explorer.2 ? Is it just an difference in the offered interfaces, but with the same actual rendering technology?

2. Given that there are only 2 shell.explorer versions, how would I try an instantiate - or at least verify the capabilities of - a particular version of the Internet Explorer renderer control? i.e. I would want to be able to instantiate a control that renders compatible with pages developed for IE6 - or verify the version of the control is the IE9 renderer?



Windows 7 32bit

Sharepoint 3.0

Internet Explorer 8


I'm currently troubleshooting an issue with a user who is attempting to access his document library in Explorer view. When this action is attempted the error: Internet Explorer cannot display the web page.


When attempting to replicate, opened the users Sharepoint site, as the user, in IE8, navigated to the document library, clicked action > Open with Windows Explorer. Nothing happens. No error received and the documents do not open.

Any ideas.



does anyone knows is this is posible?

i'm using 2 databases for my wss3 site. 1 db is the wss_content db created by sharepoint and the other db is my own db.

now. the thing is when the user log in to my wss site using windows authentication he must click on a page to see his own vacation days. these vacation days are stored in my own db

i created a view that use 2 table from both the databases. the userInfo table from the wss_content db and the vac_mutatie table from my own table. when i run the view it runs with no error

in SSBIDS i try to use the =User!UserID in a parameter.

this is my query in SSBIDS:

WHERE     (tp_Login = @userID)

in the data section it runs good with no error. but when i go to the preview section it runs but it does not show any data.

can anyone help me with this



Hi All,

        I want to add a footer to the v4.master(which is the default master page in Sharepoint server 2010). Can anyone please help me out on this. Thank you.


I am attempting to remove the search box from the v4 master page.  I have managed to remove it by commenting out the following code:

<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">

    <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/>



However, now that I have commented that out, I receive an "error on page" in IE on every page.  The error details are:

Line: 905
Char: 3
Error: 'document.getElementById(...)' is null or not an object
Code: 0
URL: http://.......

It looks like something is trying to post something back to that search box later, but I can't find what it is.  This is line 905 from the source (from View Source):

904: if(typeof document.body.onload == 'function')
905: {
906: document.body.onload = function()
907: {
908: S3031AEBB__onload();    
909:  document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords').name = 'InputKeywords';
910: }
911: }
912: else
913: {
914: document.body.onload = function()
915: {
916:  eval(S3031AEBB__onload);    
917:  document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords').name = 'InputKeywords';
918: }
919: }


<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure