Search This Blog

Monday 26 August 2013

SP2010: IE10 Crashes and reopens on SharePoint 2010

Dont know why the background is white...Not going to try ad fix it now

Hi, i keep on getting errors on IE with SharePoint 2010.
Not sure if it is just on SharePoint but SharePoint 2013 seems fine. (Nope, has happened on SharePoint 2013 with me a few times now but not as much)

Error in App Log:
Faulting application name: IEXPLORE.EXE, version: 10.0.9200.16660, time stamp: 0x51f1c5f3
Faulting module name: OLEAUT32.dll, version: 6.2.9200.16657, time stamp: 0x51d366c4
Exception code: 0xc0000005
Fault offset: 0x00008f2d
Faulting process id: 0x250
Faulting application start time: 0x01ce9fd8802764ef
Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
Faulting module path: C:\Windows\SYSTEM32\OLEAUT32.dll
Report Id: 2770fecf-0bcc-11e3-be90-f01faf05b4b5
Faulting package full name:
Faulting package-relative application ID: 

Fist i am trying the following:
Disable the name.dll IE add on. Under Add-ons it is called NameCtrl Class.

Ok, that did not help. After that i renamed the name.dll file and that seemed to have done it...
The Name.dll gives your presence status for lync so after that i renamed it back and did a office repair....
So far so good.

Thanks for the Guy's on tech-ed helping me to get this one:

Tuesday 20 August 2013

SP2010: IE 10 and SharePoint does not respond

Hi,
i Have had this for ages and always just changed the compatibility mode but eventually took the time to find a solution...

Sometime you click on a button or trying to save an item and nothing happens....You press F12 change the Browser Mode to IE 9 and it is working

Amazes me how Google Chrome can work better on Microsoft's own products...
If it was not for SharePoint i would have never used this virus called Internet Explorer.

Seems there is 2 solutions:

First Solution:
Go to Tools, Compatibility View Settings.
Here you ccan choose "Display all Websites in Compatibility View" but then there might be some sites saying you must upgrade to a newer browser.
So add your SharePoint url to the list if you don't want all sites to be viewed in compatibility view.


There is a hotfix for this to but i have not tested it as yet.
http://support.microsoft.com/kb/2600100

Thursday 15 August 2013

SP2010: After Exporting and Importing Meeting Work Spaces the destination site is unresponsive wen clicking on dates

Hi,

i Am busy moving sites to it's own content DB's and ran into a issue...

There are plenty of meeting Work Spaces in their environment and after the data is imported you click on the different dates and the destination site is unresponsive.


Used to import:
"Import-SPWeb -Identity "https://name.domain.co.za/sites/SiteUrl" -Path ":\Path\TechnicalServicesES.cmp" -IncludeUserSecurity -UpdateVersions Overwrite"

After re-linking most of the calendar entries with the sites someone suggested i change the master page.

So do the following:

Open Site in SharePoint designer.
Go to master pages.
Right click on MWSDefaultv4.master and select "Set as Default Master page"
Then right click again and select "Set as Custom Master Page"

And there i save myself allot of time!!
Thanks to Rushabh Amin for pointing this out to me on the Technet Forums!

Monday 12 August 2013

SP2013: Save Site as Template on a Publishing Site

Hi,
With meeting work-spaces on the way out i need to add a meeting work-space that was created by a client to the site templates...It has Publishing enabled that requires a little workaround in SharePoint 2013.

Here is how to do it.
Get SharePoint Designer and connect to your site.

Go to site options:

Find SaveSiteAsTemplateEnabled and change to true and click ok.


Go to your site and add the following after the site
/_layouts/15/savetmpl.aspx

So it would be http://yoursite.domain.com/_layouts/15/savetmpl.aspx

And there you have it. Save it as a template.
Now you fill in the options in the Save as template and then you will be given a link to the gallery where it is saved.
You can click on your file and save it to your PC if you want to upload it on another site collection.
For this site collection it will be available as a template.

To upload on another site collection go the the site settings and open Solutions.
Here you can upload the file on your desktop.
Activate the solution and then it will be under your templates when you create a new site.

So, you can simply go to All Site Contents and then at the bottom there will be a "New Subsite"
Under the templates choose the Custom option and your solution should be there...


Tuesday 6 August 2013

Add Feature to Disable or Enable New Folder

Hi,
Client want to be able to Enable or Disable a New Folder for a complete site.

You need to create a future for this.

Steps:
Go to :
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES

Create a Folder, i used "DisableNewFolderButton"


Create a file called "Feature.xml" and add the following to it:

**************************************
<?xml version="1.0" encoding="utf-8" ?>

<Feature Id="33057CD9-6D14-45c9-83ED-5E1FE066AC92"

Title="Disable New Folder Button"

Description="Disable New Folder Button"

Version="1.0.0.0"

Scope="Web"

xmlns="http://schemas.microsoft.com/sharepoint/">

<ElementManifests>

 <ElementManifest Location="Manifest.xml"/>

</ElementManifests>

</Feature>
**************************************

Create a "Manifest.xml" and add the following to it:
**************************************
<?xml version="1.0" encoding="utf-8"?>

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">

  <CustomAction

      Id="Remove.Document.NewFolderButton"

      Location="CommandUI.Ribbon" RegistrationId="0x0101"

      RegistrationType="ContentType">

    <CommandUIExtension>

      <CommandUIDefinitions>

        <CommandUIDefinition

          Location="Ribbon.Documents.New.NewFolder" />

      </CommandUIDefinitions>

    </CommandUIExtension>

  </CustomAction>

</Elements>
**************************************

Now you need to install the feature:
stsadm -o Installfeature -name DisableNewFolderButton

Now you need to activate it

stsadm -o activatefeature -name DisableNewFolderButton -Url http://dev.Site.domain.com



Now run a IISReset and you will have this feature under your "Manage Site Features"
(Yes it is small but you get the idea)
 So enable it and then your site's Libraries will automatically be set to not show "New Folder"


Note: At one point i got the following error: 



Feature with Id '33057cd9-6d14-45c9-83ed-5e1fe066ac92' is not installed in this farm, and cannot be added to this scope.

Turned out i was trying to run the activate feature before i ran the install  feature command as above.

Ok, now 


Sources:
http://jassimkhan.blogspot.com/2010/10/sharepoint-2010-disable-new-folder.html

http://social.technet.microsoft.com/Forums/sharepoint/en-US/41141fd1-dd55-4791-8270-4343a1a64107/disable-new-folder-button-in-a-document-library


SP2010: Site Collections lock overnight

Hi,
We have an issue where site collections get set randomly to read-only.
To get it unlocked is simple:
Go to Central admin, Application Management, Configure Quotas and Locks
Find your Site Collection and set it to Not Locked


Ok, not how do you get a solution for this...
Firstly have you reached your Site limit or Points limit as in settings above?
In my case no...
The other issues that can cause this is Interrupted Backups and Broken Web Parts

Lets Start with Interrupted Backups.
There is a few ideas going threw my head on this one...
Firstly we have hourly log backups, does that maybe interfere with the daily backups sometimes.
Then out Backup Admins also backs up with Backup Exec. Does that interfere.
Then there is site collection backups via SP PowerShell Scripts, all successful.

Did some more research and found one guy that said they got this issue on Big db's even after backups was successful.
Their solution: Run this script after each backup.
 stsadm -o setsitelock -url http://intranet -lock none