Showing posts with label site. Show all posts
Showing posts with label site. Show all posts

Wednesday, May 29, 2013

Redirection of a site to another site using Content editor Webpart



Our Client migrated all its sites from MOSS 2007 to SharePoint 2010, and there was a need to redirect users from one site to another in some sites.

·         Edit the page where you would like to include the redirect script
·         Add a Content Editor Web Part on the page
·         Edit the Content Editor Web Part properties , rename the web part to something more meaningful such as, Redirect.
·         Select the Content Editor Web Part Click here to add new content link
·         Locate the HTML icon within the Markup section of the ribbon, select it, and then select Edit HTML Source.
·          Type in (or copy and paste) the code below in the HTML Source web page dialog that displays

<script '"text/javascript"'>//<![CDATA[alert("This site has been moved to another location. You will be redirected momentarily.");//]]></script>
<meta http-equiv="refresh" content="10;url=http://sharepointdirect.blogspot.in/">

·         Select Ok and save the page.
·         The script above is set up to redirect after 10 seconds. You can increase or decrease the time frame.
·         Remember to also replace the URL above with the appropriate destination URL that applies to your particular situation.

Note:  If you are building a web part and is crashing the webpage, here is a quick way to remove it and get the rest of the page working. Add contents=1 to for example, if the page url is http://siteurl/default.aspx then change it to http://siteurl/default.aspx?contents=1 and it will bring up the web part page maintenance page and lists all the web parts that are used in that page and provides way to delete selected web parts , switch view or reset.


Wednesday, May 30, 2012

Cannot load the site / Site takes a long time to load

Today i Came across a issue where in the site did not load up .

We checked and found that we are able to get to every other page and site .

we then tried going to the web part maintainence page and checked there were some content editor webparts and as we know in IE there are major issues with the content editor webpart we tried opening the site in Chrome .

And to my surprise it opened up fine with some junk characters in the webpart

we then tried modifying the webpart and found that under the location of the file there was a excel file url given .

we removed the url and exited the editing on the page and then checked in a New IE browser and we were able to browse the site without any issues .

Note : This might not be the only cause of the issue . there are mutiple things which can affect the loading of the site . do contact me in such cases so that I can check and come back with some good Resolution.

Tuesday, May 29, 2012

Site not browse able with host header – 401.1 error




ISSUE DESCRIPTION
===================

>SharePoint site is browse able from the client machine with the host header.
>When browsing from the server, it prompts for credentials three times and then we get 401.1 Unauthorized error.
>On server, we can browse the SharePoint site with server name(In some cases even with server name, the site doesn’t come up)

RESOLUTION
===================

>Remove the security update KB963027 for Internet Explorer 7.0 and then reboot the server.
>If that didn’t work try with http://support.microsoft.com/kb/896861

WSS 3.0: When trying to search on sharepoint site, Getting message “Noresults matching your search were found.”




1. Symptom –
=============

–>When you are trying to perform search on your SharePoint site  on your sharepoint server, you are getting following error message:

No results matching your search were found.
Check your spelling. Are the words in your query spelled correctly?
Try using synonyms. Maybe what you’re looking for uses slightly different words.
Make your search more general. Try more general terms in place of specific ones.
Try your search in a different scope. Different scopes can have different results.

–>Windows SharePoint help search is working fine and it gave results when we searched for “SharePoint”

–>Unable to get results on the SharePoint site

2. Cause –
==========

–>Issue due to windows Updates

3. Resolution –
================

–>We created a registry entry in the following location

HKLM\System\CurrentControlSet\Control\Lsa

–>Created a new DWORD key named “DisableLoopbackCheck” and modified the value to 1

–>We performed Full Crawl by the command

stsadm -o spsearch -action fullcrawlstart

–>We performed Search and it worked successfully

Tuesday, May 22, 2012

How to create a Subsite in Sharepoint 2010

  •   Click on Site Actions in the Site
  •   Click on "Create a site for a team or project. (New site)

  • Click on Browse all to browse all the site templates available


 
  •    Select the template .  I have selected the Team site template .  Click on more option on the right to add more details 
  •      Fill in all the details as shown in the screen shot 


  •      And then click on create Your site is ready
  •     You can navigate it from the top navigation as well as from the Quick launch as we have selected both the Options


Users cannot see the checked out files in the folder/ library

I Came across a Issue today wherein the user opened a ticket for the below issue Issue : Users cannot see the checked out files in the fo...