Thursday, February 2, 2012

MOSS 2007 Troubleshooting Guide

need a trouble shooting guide for MOSS 2007.



Please suggest a good document on this which covers almost all scenarios like in MOSS 2007.



_______________________________________________________________________________________________________________

Few resources accumulated:









  1. 1.       Administration Tool Kits : 

What it contains: http://blogs.technet.com/b/steve_chen/archive/2009/09/02/sharepoint-administration-toolkit-v4-for-moss-2007.aspx



Download links:

WSS 3.0:

http://technet.microsoft.com/en-us/library/cc508986%28office.12%29.aspx

MOSS 2007 :

http://technet.microsoft.com/en-in/library/cc508851%28en-us,office.12%29.aspx





  1. 2.       The Shortcut Guide to Centralized SharePoint Administration

http://nexus.realtimepublishers.com/sgcsa.php





  1. 3.       Content of this training :



http://download.microsoft.com/download/2/A/B/2AB91CD5-CA1A-4906-AA5C-E26522E4B2E6/WorkshopPLUS%20-%20MOSS%202007%20-%20Administration%20and%20Troubleshooting.pdf







  1. 4.       Installation Guide :

http://www.datasprings.com/resources/articles-information/overview-on-installing-sharepoint-2007



http://sharepointforum.com/en-US/Wiki/Installation%20MOSS%202007.aspx





  1. 5.       Before we start any troubleshooting 4 things to be done always:

http://consultingblogs.emc.com/mohammadalzawati/archive/2009/10/13/how-to-quickly-troubleshoot-moss-2007.aspx





  1. 6.       All about SharePoint :   



http://blogs.technet.com/b/vedant/archive/2009/07/28/microsoft-office-sharepoint-server-moss-2007-resource-guide.aspx



In this link above , just search for word "Troubleshooting" , we get a section to cover troubleshooting many things like :



SharePoint 2007 Versions - How do you find out what version of SharePoint you are running?

Troubleshooting backup and recovery - Use this information to troubleshoot problems that you encounter during backup or recovery

Troubleshoot Messaging Integration

Events and error reference

Account permissions and security settings (Office SharePoint Server) - This article describes Microsoft Office SharePoint Server administrative and services account permissions. It covers the following areas: Microsoft SQL Server, the file system, file shares, and registry entries

Plan for administrative and service accounts

Special directories and storage locations (Office SharePoint Server) - This article lists the folders and files that are used by Microsoft Office SharePoint Server 2007

Files and permissions for Office SharePoint Server 2007 - This article lists the detailed minimum file permission settings for folders and files created when you install MOSS 2007

Running Central Admin on Multiple Servers within a Farm

Decentralizing Site Administration - Security model of WSS 3.0, including its advantages and implications when delegating administrative control over SharePoint sites to individual departments while maintaining centralized administrative control over the SharePoint infrastructure.

Special directories and storage locations - This article lists the folders and files that are used by Microsoft Office SharePoint Server 2007.

Moving all databases to a different database server or a server with the same name - Two procedures describing how to move databases to a different server or a server with the same name



I was looking for similar to this one in 2007:
http://sharepoint.microsoft.com/Blogs/GetThePoint/Blog%20Documents/SharePointFeaturesServices-10.zip

 Reply 1



ou're never really going to get a unified document as it'll almost certainly end up with things that aren't relevant.  Some basic questions would be: -

  • Are you using Performance Point?

  • Are you using Standard or Enterprise?

  • What version of SQL Server do you have?

  • Are you integrating Reporting Services into your deployment?

  • Are you using any major third party products from guys like Metalogix, AvePoint etc.

  • Have you any internal customisations?

All of these would represent deviations from one deployment to the next.  You'd be best served reading widely around the current set-up that you have, reading the link that Bogdan provided and looking at MVP/Support Engineer blogs




Steven Andrews



Reply 2

There are thousands of troubleshooting scenarios and articles. Check the blogs of the SharePoint Support Engineers that are working for Microsoft and you will find a lot of information.

Here you have my blog http://sharepointboco.com/ where you can find SharePoint performance troubleshooting tips and tricks


You may also like:

Few Questions to be answered before you start a SharePoint…

List web service returns empty result if anonymous is enabled for site collection using list GUID

I am using MOSS 2007 SP 2. I enabled anonymous access on the site collection for lists only. When I try to call GetListItems on the lists web service on a list that does not have anonymous enabled using the list GUID in the request I get back 0 items. If I used the list name instead I get back list items. If I disable anonymous access for the site collection I also get back list items. Any idea what's going on?

 

Reply 1

Wrap your request inside authentication.asmx.

Use LoginResult method and based on the results of this function assign the CookieContainer of authentication web service to the Lists web service.

Delegate Control to Inject Google Analytics in MOSS

Hi Guys,

i want to load js for Google analytics for some site and don't want to load for some site so thinking of doing this using delegate control so users can control through feature activation and deactivation.i did something like this for banner image so will this approch work to load js too ?

if there is other way please advise

Thanks

Ronak

Reply

You can opt for 2 set of master pages. One without scripts included, the other one having the Google Analytic implementation

 

Reply 2

Guys,

I am trying to add JS in Master page using Delegate Controls but its not working.here is code i have written.

Please advise

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint;
namespace WSPBuilderProject1.SharePointRoot.Template.ControlTemplates.PhilaGov
{
public partial class PhilaGovGA : UserControl {
protected void Page_Load(object sender, EventArgs e) {
string _url = SPContext.Current.Web.Url;
}
protected override void CreateChildControls() {
base.CreateChildControls();
this.Controls.Add(new LiteralControl(@"<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#12323232']);
_gaq.push(['_trackPageview']);
</script>"));
}

}
}


 

Once i enable feature i dont see this code in head section of master page.

Please advise

 

Thanks

Ronak

Friday, January 20, 2012

ResolvePrincipal

Hi

 

I am trying to ResolvePrincipal using People.asmx in two seprate farms. Both farms are single server farms with same configuration . Both farms target the same AD for user information. End point of AD being use din both the farms are the same .

But one one server it takes average 3.5 seconds to Run this web service method, but on the other it takes 43 seconds.

 

What could be the reason behind ?

Reply 1:

Check out a network trace using the tool Netmon.

http://www.microsoft.com/download/en/details.aspx?id=4865




Varun Malhotra

Wednesday, December 7, 2011

SharePoint 2010 | User Profiles | Recent Activities

Hi

While querying user profile changes we can get changes upto last 14 days.

Now,I want to know about recenet activities web part which shows user profile edits by the user. Up to which point in the past , it shows the user profile changes as recent activities ?

I need to know the duration (in days) in past for which the changes in user profile are reflected as recent activities on page : http://<server>/my/Person.aspx?accountname=domain\AccountID

Reply 1

Helo Heamntrhtk,

 

Check on this site you can configure it: http://sharepointsolutions.blogspot.com/2010/11/sharepoint-2010-social-networkingpart-3.html

Under section:"Timer Jobs Required"

 

The following are listed in the webpart:

Rating, blog, tag, like, ..

Activity Feeds are an ongoing record of a user’s activities through the day (or for whatever time period in which they choose to update the feed). There are two sections of Activity feed.

· My Activities - My Profile > Recent Activities

· Consolidated - My Newsfeed (Activities which track)

These two sections are like two sides of a conversation. Both are depending on Activity Feed timer job.

Kr, Gokan

 

Reply 2

Only the following activities will be displayed in the recent activities.

Rating, Tagging, new blog post and so on.

http://blogs.msdn.com/b/spses/archive/2011/02/05/social-computing-part-3-activity-feeds-social-ratings-tags-and-notes.aspx

 




Wayne Fan

How to exclude items from Search Result page?

in sharepoint 2010, there is an option to remove a url from search results immidiately, corresponding crawling rules/ exclude rules are set automatically

And the that specific content does not get crawled.

 

Otherwise go for Crawl exclude rules directly.

Tuesday, August 9, 2011

The user does not exist or is not unique FBA while adding AdGroup to siteGroup SharePoint 2010

Hi

I tried to add an ADGroup/FBARole to  site  group . In 2 ways:

1 is AddUser(SPUser user);

2nd is AddUser(string loginName, string email, string name, string notes)

code for 1st option:

SPUser cntrSubSiteUser = CreateUser(Constants.C_FBA_AUTHENTICATION_GROUP_PREFIX + RoleProvider + Constants.C_AUTHENTICATION_PIPE + ADgroup, "", ADgroup, "", web.Site);//loginname in format in format c:0-.f|roleproviderName|pp 1001 siteGroup.AddUser(cntrSubSiteUser);

siteGroup.Update();

and the createuser function is like;

private static SPUser CreateUser(string strLoginName, string strEMail, string strName, string strNotes, SPSite spSite) { SPUser spReturn = null; SPRoleAssignment spRoleAssignment = new SPRoleAssignment(strLoginName, strEMail, strName, strNotes); SPRoleDefinition spSPRoleDefinition = spSite.RootWeb.RoleDefinitions["Read"]; spRoleAssignment.RoleDefinitionBindings.Add(spSPRoleDefinition); spSite.RootWeb.RoleAssignments.Add(spRoleAssignment); //Update site spSite.RootWeb.Update(); spReturn = spSite.RootWeb.AllUsers[strLoginName]; return spReturn; }

 

for the second option code is like:- siteGroup.AddUser(Constants.C_FBA_AUTHENTICATION_GROUP_PREFIX + RoleProvider + Constants.C_AUTHENTICATION_PIPE + ADgroup, "", ADgroup, "");//Login Name in format c:0-.f|amsurgrole|pp 1001

siteGroup.Update();

 

 

 

Now lets come to the problem:

On 1 of our dev servers it works fine. But on production we get the error: The user does not exist or is not unique

However by UI, We can add this FBA Role  to any group.

 

please help.

 

Reply 1


hi

 

we have got the solution.

 

we are adding user in group for site 1( on web app 1) from site 2 ( on web app 2) code.  web app 1 is FBA .  site 2 is normal windows site.

in 2007 this code works fine

 

but for sharepoint 2010, we need to give entries for roleprovider and membership provider in web application 2 (admin web app) web.config  also.

                                                                      Reply 1.1


 I  am also getting the same exception. I am doing everything on a single sharepoint application

[SPException: The user does not exist or is not unique.]

 

Can you please point out, what are the other scenarios for the exception to happen?

Reply 1.1.1

did u also do ensure user ? also make sure user exists in ad/ ur membership provider

Reply 1.1.1.1

when extending the application it named the membership provider wrongly, hence the error is caused. Thanks for all the replies. Now the problem is solved.