Sunday, June 14, 2009

The following table provides information about the classes that are defined in Core.css.

http://msdn.microsoft.com/en-us/library/ms438349.aspx
The following table provides information about the classes that are defined in Core.css.
Selector
Description
body, form
Sets the margin of the body or form to 0.
body
Sets the margin of the body to 0.
.ms-main
Border color at the right margin of a page.
.ms-toolbar
table.ms-toolbar
Text and gradient in list toolbars.
.ms-rtetoolbarmenu
.ms-rtetoolbarunsel
.ms-rtetoolbarsel
.ms-rtetoolbardis
a.ms-rtetoolbardis
.ms-rtetoolbarhov
Defines the look of the Rich Text Editor.
.ms-gridT1
Type of rating scale used in a question for a survey, such as Low, Average, and High.
.ms-viewselect a:link, .ms-GRFontSize
Text for available views displayed in the left navigation area for a list.
Font size used for text in the datasheet control.
select
Fonts for any of the drop-down or checkbox items in pages for customizing lists.
hr
Defines properties for a horizontal rule.
.ms-formlabel
Formats the names of fields used in forms for creating or editing list items or adjusting site settings.
.ms-formdescription A
Formats hyperlinks that appear in descriptions on forms such as "Click here to test".
.ms-formtable .ms-formbody
Text for each field in a list item form such as the New Item form for default lists.
.ms-radiotext
Text used for radio buttons in a survey.
.ms-gridtext
Text for a rating scale style used for a question in a survey.
.ms-formbody
Text for each field in a list item form such as the New Item form for default lists.
.ms-formbody FONT
Font characteristics for the formbody class.
.ms-formdescription
Instruction text used for fields in forms. For example, "Enter date in M/D/YYYY format" used in the New Item form.
.ms-searchcorner
Search form field on the home page.
table.ms-form th
Table header for forms.
table.ms-form td
Reserved for internal use only. Do not alter.
.ms-formrecurrence
Text that describes recurrence patterns.
.ms-long
Text in non-date fields used in forms for creating or editing list items.
.ms-longer
Used by the Rich Text Editor.
.ms-italic
Italic font.
.ms-bold
Bold font.
.ms-bannerframe, .ms-GRHeaderBackground, .ms-storMeFree
Background for the banner of the navigation bar at the top of the page..
.ms-banner a:link
.ms-banner a:visited
White hyperlinked text in the banner of the navigation bar.
.ms-banner, .ms-GRHeaderText
White text in the banner at the top of the page.
.ms-nav td, .ms-nav .ms-SPZoneLabel, .ms-input
“Select a View” text in a list page.
Input boxes for non-text (currency, date/time, etc.).
.ms-nav th
Text in the Quick Launch bar on the home page.
.ms-navheader a, .ms-navheader a:link, .ms-navheader a:visited
Section headings in the Quick Launch bar.
.ms-navframe, .ms-GRStatusBar
Color behind the Quick Launch bar and around the datasheet.
.ms-storMeUsed, .ms-storMeFilterBar
Used on the storage management page.
.ms-navline
Line dividing sections of the left navigation area in list views.
.ms-navwatermark
"Quick Launch" text in the Quick Launch bar.
.ms-selectednav,.ms-GRSortFilter
Box around the selected view on the list view page.
Used for a selected column in the datasheet.
.ms-unselectednav
Unselected text on the Quick Launch bar.
.ms-verticaldots
Graphical separator that appears between the main body and the left margin of the page (no longer used).
.ms-nav a
.ms-nav a:link
.ms-nav a:hover
.ms-nav a:visited
Text in the left navigation of the Quick Launch bar. For example, "Shared Documents" and "Tasks".
.ms-titlearea
Site name that appears on each page above the page title (by default, "Team Web Site").
TD.ms-titleareaframe
Upper portion of the border at the left margin of the page.
Div.ms-titleareaframe
Yellow line above the title area of a page.
.ms-titlearealine, .ms-storMeEstimated
Yellow line below the title and above the list toolbar. Also used on the storage management page.
.ms-bodyareaframe
Area below the title.
.ms-pagetitle
Title text on each page.
.ms-pagetitle a
.ms-pagetitle a:hover
Hyperlinks that appear with title text.
.ms-pagecaption
Caption above the title for a Web Part Page.
.ms-selected
.ms-selected SPAN
Background for selected items in the Save or Save As dialog box when saving to a document library.
.ms-selectedtitle
Background for when the pointer is passed over a list item.
.ms-unselectedtitle
Background for a list item when not selected.
.ms-menuimagecell
Background color of the arrow next to an item title for a context menu.
.ms-filedialog td
List of selected shared documents in the Save or Save As dialog box when saving to a document library.
.ms-descriptiontext
Description text for a list,or description text on administration forms and new list forms.
.ms-dspadapterlist
Reserved for internal use only. Do not alter.
.ms-alerttext
Error messages on form submissions.
.ms-separator
Lines between the menu items on list toolbars.
.ms-authoringcontrols
Background color on the right side of administration pages.
.ms-sectionheader
Text in section headings on a page. For example, “Administration” on the Site Settings page.
.ms-sectionheader a
.ms-sectionheader a:hover
.ms-sectionheader a:visited
Section titles that expand and collapse on the Create View page.
.ms-sectionline
Horizontal lines between page sections.
.ms-partline
Line between list items and the text "Add new item" in a summary view style as used on the home page.
.ms-propertysheet
.ms-propertysheet th
.ms-propertysheet a
.ms-propertysheet a:hover
Text in list or site settings pages. For example, "Go Back to Shared Documents", or the text used under settings, such as "Use a filter to display..."
.ms-itemheader a
List and document library names on the Documents and Lists page.
.ms-discussiontitle
Subject for an open discussion item.
.ms-vh, .ms-vh2
Text in column headings for lists.
.ms-vh2
Used for padding.
.ms-vh-icon
.ms-vh-icon-empty
.ms-vh-left
.ms-vh-left-icon
.ms-vh-left-icon-empty
.ms-vh-right
.ms-vh-right-icon
.ms-vh-right-icon-empty
Used for icons next to the view headers, such as the icon representing an attachment, or used for spacing when no icon is present.
.ms-vh a,.ms-vh a:visited,.ms-vh2 a,.ms-vh-left a,.ms-vh-right a
.ms-vh a:hover, .ms-vh2 a:hover, .ms-vh-left a:hover, .ms-vh-right a:hover
Text in hyperlinks for column headings of lists.
.ms-vhImage
Used in header images.
.ms-gb
Defines the group-by view headers.
.ms-gb2
Defines the group-by view headers.
.ms-vb, .ms-vb2, .ms-GRFont, .ms-vb-user
.ms-vb a, .ms-vb2 a, .ms-GRStatusText a,.ms-vb-user a
.ms-vb a:hover, .ms-vb2 a:hover, .ms-vb-user a:hover
.ms-vb a:visited, .ms-vb2 a:visited, .ms-GRStatusText a:visited, .ms-vb-user a:visited
.ms-vb a:visited:hover, .ms-vb2 a:visited:hover, .ms-vb-user a:visited:hover
.ms-vb2, .ms-vb-title, .ms-vb-icon,.ms-vb-user
.ms-vb-icon
.ms-vb-user
.ms-vb2
Text in the body of a view and most other common text.
Icon classes that are used, for example, to indicate attachments.
.ms-homepagetitle
Title on the home page of a Meeting Workspace site.
a.ms-addnew
td.ms-addnew
"Add new..." text in the summary view for lists.
.ms-error
Error messages on form submissions.
.ms-cal
Border type and font formatting used in day cells of a calendar view.
.ms-calWeek
.ms-vcal
.ms-Dcal
Used in a calendar view.
.ms-caltop
Top border of each day cell in a calendar view.
.ms-calhead
.ms-calhead a
.ms-calhead a:hover
Header containing the month name and navigation arrows in a calendar view.
.ms-caldow
Row of cells containing weekday names in a calendar view.
.ms-calmid
Left and right borders on each day cell in a calendar view.
.ms-CalSpacer
Spacer that is used between multiple appointments on the same day in a calendar view.
.ms-CalVSpacer
Spacer used in a calendar view.
.ms-CalAllDay
Calendar view for all-day events.
.ms-firstCalHour
Calendar view in which the first cell in the first row contains the time.
.ms-calHour
Calendar view cell that contains the time.
.ms-calHalfHour
Calendar view cell that contains half-hour marks.
.ms-calQuarterHour
Calendar view cell between hour cells.
.ms-calbot
Bottom row that represents an hour, day, or week in a calendar view.
.ms-appt a
.ms-appt a:hover
Hyperlinked text for an event that spans multiple days in a calendar view.
.ms-appt, .ms-GRCellSelect
Background,border, and text for an event that spans multiple days in a calendar view.
.ms-Dappt
Appointments displayed in a view by day.
.ms-Vappt
.ms-Vappt a
.ms-Vappt a:link
.ms-Vappt a:hover
Appointments displayed in a vertical view by day.
.ms-apptsingle
Text for an appointment that lasts a single day.
.ms-Dapptsingle
Appointments displayed in a view by day with no duration set.
.ms-Vapptsingle
.ms-Vapptsingle a
.ms-Vapptsingle a:link
.ms-Vapptsingle a:hover
Appointments displayed in a view by day with no duration set.
.ms-caldowdown
Calendar table cell for Internet Explorer 5.0 or earlier.
.ms-caldown
Day of week in calendar for Internet Explorer 5.0 or earlier.
.ms-datepickeriframe
Position of date-chooser pop-up calendar when creating or editing a list item.
.ms-datepicker
Date-chooser pop-up calendar when creating or editing a list item.
.ms-dpdow
Line under weekday names in the date-chooser pop-up calendar when creating or editing a list item.
.ms-dpday
Text of date numerals for the current month in the date-chooser popup calendar when creating or editing a list item.
.ms-dpselectedday
Text and background of the selected date in the date-chooser pop-up calendar when creating or editing a list item.
.ms-dpnonmonth
Text of date numerals which are not part of the current month in the date-chooser pop-up calendar when creating or editing a list item.
.ms-dphead
Header containing the month name and navigation arrows in the date-chooser pop-up calendar when creating or editing a list item.
.ms-dpnextprev
Arrows in the date-chooser pop-up calendar for moving from one month to the next or previous month.
.ms-dpfoot
"Today's date" text and the line above it in the date-chooser pop-up calendar when creating or editing a list item.
IMG.ms-button
Changes the cursor to a hand when the pointer is passed over buttons.
.ms-announcementtitle
Titles in the Announcements list view on the home page.
.ms-homepagetitle:Hover
List title in a list view. For example, the words "Announcements", "Events" and "Links" on the default.htm page.
.ms-discussionseparator
Space between discussion threads.
.ms-summarytitlebarframe
.ms-summarytitlebar a:link
.ms-summarytitlebar a:visited
.ms-summarytitlebar
.ms-summarytitlebartitle.ms-
summarytitlebartitle:hover
Unused
img.thumbnail
Color behind thumbnail in the Picture Preview area of the left navigation area in a picture library.
tr.ms-imglibselectedrow , tr.ms-highlight
Color of a row in a picture library when the row is selected in the Selected Pictures view.
.ms-imglibthumbnail
Background for thumbnails in Thumbnails view. Border color should be the same as for img.thumbnail style.
span.thumbnail
span.userdata
Reserved for internal use only. Do not alter.
.ms-imglibmenuarea
Background of the previous and next button in Filmstrip view of a picture library.
a.ms-imglibPreviewTitle
table.ms-imglibPreviewTable
Reserved for internal use only. Do not alter.
.UserShadedRegion
Shaded areas in Web Parts.
.UserCaption
Text areas in Web Parts.
.UserConfiguration
Text areas in Web Parts.
.UserDottedLine
Dotted lines in Web Parts.
.UserButton, .UserInput, .UserSelect
Input boxes in Web Parts.
.UserNotification
Text areas in Web Parts.
.UserToolBarTextArea
.UserToolBarTextArea a: link
.UserToolBarTextArea a: visited
.UserToolBarTextArea a: hover
Spacing for elements on toolbars in Web Parts.
.UserToolbarDisabledLink
.UserToolbarImage
.UserToolBarImageArea
.UserToolbarSelectedImage
Elements on toolbars in Web Parts.
.UserGenericHeader
Header text in Web Parts.
.UserGeneric
Default text in Web Parts.
.UserGenericBody
Indented body text in Web Parts.
.UserGenericText
Generic text that is used in all Web Parts.
.UserBackground
Background areas in Web Parts.
.UserSectionTitle
Form titles in Web Parts.
.UserSectionHead
Control labels in Web Parts.
.UserSectionBody
Instructional text on controls in Web Parts.
.UserControlGroup
Area of form controls in Web Parts.
.UserSectionFooter
Area at the bottom of user forms containing dotted line and command buttons.
.UserFooter
Area at the bottom of a form.
.UserCommandArea
Command button area at the bottom of a user form.
.UserToolbar
Toolbars in Web Parts.
.UserCellSelected
Selected cells in Web Parts.
.UserCell
Cells in Web Parts.
.UserGenericBulletItem
Bulleted items in Web Parts.
.ms-ToolPaneFrame
Background of the tool pane interior in Web Parts.
.ms-ToolPaneBody
Body of the tool pane in Web Parts.
.ms-ToolPaneBorder
Border around the tool pane in Web Parts.
.ms-ToolPaneHeader
Header of the tool pane in Web Parts.
.ms-ToolPaneClose
Area around the button for closing the tool pane in Web Parts.
.ms-ToolPaneTitle
Title of the tool pane in Web Parts.
.ms-ToolPaneFooter
Footer area of the tool pane in Web Parts.
.ms-ToolPaneError
Error messages that appear in the tool pane of Web Parts.
.ms-ToolPaneInfo
Information messages that appear in the tool pane of Web Parts.
.ms-ToolPartSpacing
Spacing between Web Parts.
.ms-ToolStripSelected
Hover behavior for the title bar at the top of the tool pane in Web Parts.
.ms-ToolStrip
Title bar at the top of the tool pane in Web Parts.
.ms-TPHeader
Header of the tool pane in Web Parts.
.ms-TPBorder
Border of the tool pane in Web Parts.
.ms-TPTitle
Title of the tool pane in Web Parts.
.ms-TPBody
.ms-TPBody A:link, .ms-TPBody A:visited, .ms-TPBody A:hover
Body of the tool pane in Web Parts.
.ms-TPCommands
Commands on the tool pane in Web Parts.
.ms-TPInput
Commands on the tool pane in Web Parts.
.ms-PropGridBuilderButton
"..." buttons in the tool pane of Web Parts.
.ms-BuilderBackground
Background of dialog boxes opened through property selections made through the tool pane in Web Parts.
.ms-SPZone
Borders of a zone control in Web Part Pages.
.ms-SPZoneSelected
Borders of a zone control in Web Part Pages when the insertion bar is active inside the zone.
.ms-SPZoneIBar
Insertion bar in Web Part Pages that shows the zone into which the user is dragging a Web Part.
.ms-SPZoneLabel
Label for a zone in Web Part Pages.
.ms-SPZoneCaption
Caption for the text inside a zone in Web Parts Pages.
.ms-WPDesign
Background for design mode in Web Part Pages.
.ms-WPMenu
Area around the menu in Web Parts.
.ms-WPTitle
.ms-WPTitle A:link, .ms-WPTitle A:visited
.ms-WPTitle A:hover
Title of a Web Part.
.ms-WPSelected
Border around a Web Part when the part is selected.
.ms-WPBody
.ms-WPBody TABLE, .ms-TPBody TABLE
.ms-WPBody A:link, .ms-WPBody A:visited
.ms-WPBody A:hover
.ms-WPBody th, .ms-TPBody th
.ms-WPBody TD
.ms-WPBody h1, .ms-TPBody h1
.ms-WPBody h2, .ms-TPBody h2
.ms-WPBody h3, .ms-TPBody h3
.ms-WPBody h4, .ms-TPBody h4
.ms-WPBody h5, .ms-TPBody h5
.ms-WPBody h6, .ms-TPBody h6
Contents of a Web Part.
.ms-WPBorder
Border around a Web Part.
.ms-HoverCellActive
.ms-HoverCellInActive
.ms-HoverCellActiveDark
Cell behavior throughout the UI for when the pointer is passed over a cell.
.ms-SPLink
.ms-SPLink A:link, .ms-SPLink A:visited
Text for Modify Page link.
.ms-SPButton
Font for buttons.
.ms-PartSpacingVertical
Vertical spacing between Web Parts.
.ms-PartSpacingHorizontal
Horizontal spacing between Web Parts.
.ms-WPHeader
Background area of the title bar in Web Parts.
.ms-rtApplyBackground
.ms-tbButtonMouseOverDown
.ms-rtRemoveBackground
Classes for the Rich Text Editor.
.ms-subsmanageheader
Section headers used on the pages for managing alerts: MySubs.aspx and SiteSubs.aspx. For example, Frequency: Immediate.
.ms-subsmanagecell
Subscription rows used on the pages for managing alerts: MySubs.aspx and SiteSubs.aspx.
.ms-ConnError
Error messages related to authoring connections.
.ms-underline
Underlines for the description, items, and last modified text on the Documents and Lists page.
.ms-underlineback
Same as ms-underline but adds a slight gray to the background that is used for titles on the Documents and Lists page.
.ms-back
Background that includes the color gray and spacing.
.ms-smallheader
Header used for group names(for example, Document Libraries) on the Documents and Lists page.
.ms-smallsectionline
Underline for group names (for example, Document Libraries) on the Documents and Lists page.
.ms-tabselected
.ms-tabinactive
.ms-tabinactive a:link
.ms-tabinactive a:hover
.ms-tabinactive a:visited
.ms-tabinactive a:hover
Tabs in a Meeting Workspace site.
.ms-surveyHBar
.ms-surveyHBarB
.ms-surveyVBar
.ms-surveyVBarB
.ms-surveyVBarBI
.ms-surveyVBarS
.ms-surveyVBarT
.ms-surveyVBarTC
.ms-surveyHR
Horizontal rules, horizontal bars, and vertical bars in the chart for rating questions in the Graphical Summary view of surveys.
.ms-surveyTotal
Spacers between verticals bars in the chart for rating questions in the Graphical Summary view of surveys.
.ms-uploadborder
Border around the control for uploading multiple files.
.ms-uploadcontrol
Background for selected text in the file list of the control for uploading multiple files.
.ms-spaceBetContentAndButton
.ms-ButtonHeightWidth
.ms-ButtonHeightWidth2
.ms-SpaceBetButtons
.ms-summarycustombody
.ms-summarystandardbody
Reserved for internal use only. Do not alter.
.ms-stylebox
.ms-stylelabel
.ms-styleheader
.ms-styleheader a:link, .ms-stylebody a:link
.ms-styleheader a:visited, .ms-stylebody a:visited
.ms-stylebody
.ms-styleheader a:hover, .ms-stylebody a:hover
Classes used in boxed view styles such as Document Details, Issues Boxed, etc.
.ms-alternating
Background color for the shaded view style.
.ms-MWSSelectedInstance
.ms-MWSInstantiated a:link, .ms-MWSInstantiated a:visited
.ms-MWSInstantiated a:hover
.ms-MWSUninstantiated a:link, .ms-MWSUninstantiated a:visited
.ms-MWSUninstantiated a:hover
Classes used for the recurrence navigation bar in a Meeting Workspace site.

Thursday, June 4, 2009

Remotely reboot Windows Server 2003

Remotely reboot Windows Server 2003
I know I know its a SharePoint Blog. But I faced this problem in my server farm and thought of posting it so that it helps somebody else too...

So this is what happened:- I came to office and logged on to my Remote Desktop Console to take a look in my MOSS Farm Event Viewers (something I started doing in MOSS Beta 1 days and now I am addicted :-)). What I found was a Event ID 10039 from Office Server Search:

"Retry of query machine 'WFE2' has failed with error: The network path was not found. 0x80070035. It will be retried again in 60 seconds. Component: 5cfead2d-124a-4532-ab47-7b1bfd618059"

-- Tried logging in to WFE 2 (2nd Web Front End Server) with the Farm Admin Account (local admin on the WFE)

-- Access Denied !!

Thought of remotely rebooting the server (I don't want to troubleshoot such weird error and moreover to see the logs first I have to log in!!)

-- a technet article came handy (meant for XP Pro but worked perfect with Windows Server 2003 Ent x64).. check it out.

Excerpts below:

To perform a remote shutdown
1. Open Computer Management (Local)

2. In the console tree, right-click Computer Management (Local), and then click Connect to another computer.

3. In the Select Computer dialog box, click Another computer, type the name of the computer that you want to restart or shut down, and then click OK. You can also click Browse to search for the name of the computer.

4. In the console tree, right-click Computer Management (Remote computer name), and then click Properties.

5. On the Advanced tab, click Startup and Recovery.

6. Click Shut Down to open the Shut Down dialog box.

7. Under Action, select the actions you want to perform on the computer to which you are connected.

8. Under Force Apps Closed, select the circumstances under which you want to force applications to close when you shut down or restart the computer, and then click OK.


Note

• To open Computer Management, click Start, and then click Control Panel. Click Performance and Maintenance, click Administrative Tools, and then double-click Computer Management.

• You must be recognized as an administrator or a member of the Administrators group on your computer and on the computer you are managing to perform this task.



This posting is provided "AS IS" with no warranties, and confers no rights.

SharePoint 2007 and WSS 3.0 SP2 is here….

SharePoint 2007 and WSS 3.0 SP2 is here….
The long awaited SP2 for MOSS and WSS is here!! Download them from here:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082

Description is available here - http://support.microsoft.com/kb/953334

This file has all the changes that has been made in SP2 - Download the 2007 Office servers Service Pack 2 Changes.xlsx package now

For how to deploy software updates on a MOSS Server Farm (or WSS Server Farm as the case may be) keep this link handy - http://technet.microsoft.com/en-us/library/cc263467.aspx . Note : additional steps are required if there are multiple servers. Do read the whole article.

For comprehensive lift of WSS 3.0 SP2 visit the following links:


Windows SharePoint Services 3.0 Service Pack 2
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=79BADA82-C13F-44C1-BDC1-D0447337051B&displaylang=en)
953338 (http://support.microsoft.com/kb/953338)

Windows SharePoint Services 3.0 Service Pack 2, 64-bit edition
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=79BADA82-C13F-44C1-BDC1-D0447337051B&displaylang=en)
953338 (http://support.microsoft.com/kb/953338)

Windows SharePoint Services 3.0 Language Pack Service Pack 2
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=085E5AC8-58F6-4CF9-8012-33B95EE36C0F&displaylang=en)
953338 (http://support.microsoft.com/kb/953338)

Windows SharePoint Services 3.0 Language Pack Service Pack 2, 64-bit edition
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=2C2B6CAF-B46D-45EB-AC4D-DEAAA48C3A2C&displaylang=en)
953338 (http://support.microsoft.com/kb/953338)

Windows SharePoint Services 3.0 with Service Pack 2
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=EF93E453-75F1-45DF-8C6F-4565E8549C2A&displaylang=en)
-

Windows SharePoint Services 3.0 x64 with Service Pack 2
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=9FB41E51-CB03-4B47-B89A-396786492CBA&displaylang=en)


For comprehensive list of MOSS 2007 SP2 visit the following links:


The 2007 Microsoft Office servers Service Pack 2
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=B7816D90-5FC6-4347-89B0-A80DEB27A082&displaylang=en)
953334 (http://support.microsoft.com/kb/953334)

The 2007 Microsoft Office servers Service Pack 2, 64-bit edition
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=B7816D90-5FC6-4347-89B0-A80DEB27A082&displaylang=en)
953334 (http://support.microsoft.com/kb/953334)

The 2007 Microsoft Office servers Language Pack Service Pack 2
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=01C6A3E8-E110-4956-903A-AD16284BF223&displaylang=en)
953334 (http://support.microsoft.com/kb/953334)

The 2007 Microsoft Office servers Language Pack Service Pack 2, 64-bit edition
Download (http://www.microsoft.com/downloads/details.aspx?FamilyId=66C5026F-9F47-4642-8378-2526918009FA&displaylang=en)
953334

This posting is provided "AS IS" with no warranties, and confers no rights

Sunday, May 3, 2009

SharePoint 2007 URL Quick List

SharePoint 2007 URL Quick List
The following is a list of SharePoint URLs to get to commonly used administrative functions on a MOSS or WSS v3 site. Not all links listed on this page are accessible to all user levels of a site. This is a quick list for speedy reference as compared to tracking down links through the admin screens or for faster jumping around sites within a site collection.

Function Add to the URL Notes
Add Web Parts Pane ?ToolPaneView=2 Add to the end of the page URL; WILL ONLY WORK IF THE PAGE IS ALREADY CHECKED OUT
Create New Site Content /_layouts/create.aspx
List Template Gallery /_catalogs/lt
Manage Site Collection Administrators /_layouts/mngsiteadmin.aspx
Manage Sites and Workspaces /_layouts/mngsubwebs.aspx
Manage People /_layouts/people.aspx
Manage User Permissions /_layouts/user.aspx
Master Page Gallery /_catalogs/masterpage Also includes Page Layouts

Modify Navigation /_layouts/AreaNavigationSettings.aspx
Recycle Bin /_layouts/AdminRecycleBin.aspx
Site Column Gallery /_layouts/mngfield.aspx
Site Content Types /_layouts/mngctype.aspx
Site Content and Structure Manager /_layouts/sitemanager.aspx
Site Settings /_layouts/settings.aspx
Site Template Gallery /_catalogs/wt
Site Usage Summary /_layouts/SpUsageWeb.aspx
User Alerts /_layouts/sitesubs.aspx
View All Site Content /_layouts/viewlsts.aspx
Web Part Gallery /_catalogs/wp
Web Part Page Maintenance ?contents=1 Add to the end of the page URL
Workflows /_layouts/wrkmng.aspx

Wednesday, April 15, 2009

Thing that should or should not be done to SharePoint admin account

Thing that should or should not be done to SharePoint admin account
Here is a short list of most common scenarios that people should be aware of regarding SP admin account on AD:

1. When the account initially is created, set "Password never expires" account property to true. This is not a regular user account hence it should comply with service account settings rules. If the password changes, reset passwords to reflect the new password in the Application pool identity.

2. If you are not happy with you "spappadmin" or "spadmin" (fill in the blanks) farm admin account name, DO NOT DELETE IT AND CREATE NEW ONE with the desired name. just rename this account in AD, this will make sure that the SID remains the same and the security settings do not have to be recreated for this account EVERYWHERE.

this applies to any other account in AD, but admins do know it.

3. if your farm admin account without password change suddenly looses connection to the DB and in the log you see account "[blank]" could not be authenticated to the SQL. most likely your account got corrupted in AD.

Another scenario, Farm is still functioning fine, but when you try to connect to the SQL remotely using farm admin account connection fails.

You will still be able to access you farm since the trusted connection had been established before the AD account got corrupted, but you will not be able to establish any new connections with it.

In this case just recreate admin account in AD and go through the pain of recreating security settings or changing SIDs.

Enjoy :-)

Monday, March 30, 2009

How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0

Note If the SQL Server service uses a domain account, and the password for that domain account is either expired or invalid, make sure that you update the password for the domain account before you perform this procedure.
Update the password for the account that is used by the Central Administration application pool. To do this, follow these steps:
On all servers in the server farm, open a command prompt, type the following line, and then press ENTER:
cd %commonprogramfiles%\Microsoft Shared\Web server extensions\12\Bin
On the server that hosts the Central Administration Web site, type the following line at the command prompt, and then press ENTER:
stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword
On all other servers in the server farm, type the following line at the command prompt, and then press ENTER:
stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword -local
Restart Microsoft Internet Information Services (IIS) 6.0. To do this, type the following line at the command prompt, and then press ENTER:
iisreset /noforce
Verify that the Administration Application Pool Credential Deployment job definition is no longer displayed on the Timer Job Definitions page of SharePoint 3.0 Central Administration. To do this, follow these steps:
Open SharePoint 3.0 Central Administration, click Operations, and then click Timer job definitions under Global Configuration.
Verify that the Administration Application Pool Credential Deployment job definition is no longer displayed in the list.

Note If the Administration Application Pool Credential Deployment job definition is displayed in the list, wait until it disappears from the list.
Update the password for the application pool account that is used by Web applications on the server farm. To do this, type the following line at a command prompt on every server on the server farm, and then press ENTER:
stsadm -o updateaccountpassword -userlogin DomainName\UserName -password NewPassword -noadmin
Update the password for the account that is used to run the Windows SharePoint Services Help Search service. To do this, type the following line at a command prompt on every server on the server farm, and then press ENTER:
stsadm.exe -o spsearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
Update the password for the default content access account that is used by the Windows SharePoint Services Help Search service. To do this, type the following line at a command prompt on every server on the server farm, and then press ENTER:
stsadm.exe -o spsearch -farmcontentaccessaccount DomainName\UserName -farmcontentaccesspassword NewPassword
If you are running SharePoint Server 2007, you must also follow these steps:
Update the password for the account that is used by every Shared Services Provider (SSP) on the server farm. To do this, type the following line at a command prompt on every server on the server farm, and then press ENTER:
stsadm.exe -o editssp -title SharedServicesProviderName -ssplogin DomainName\UserName -ssppassword NewPassword
Update the password for the account that is used to run the Office SharePoint Server Search service. To do this, type the following line at the command prompt, and then press ENTER:
stsadm.exe -o osearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
If the server farm is configured to use single sign-on, update the password for the account that is used by the Microsoft Single Sign-On Service. To do this, follow these steps:
Click Operations in SharePoint 3.0 Central Administration, and then click Service accounts under Security Configuration.
Under Windows service, click Single Sign-On Service.
Under Configurable, specify the password, and then click OK.
Update the password for the default content access account that is used by the Office SharePoint Server Search service. To do this, follow these steps:
Open SharePoint 3.0 Central Administration, and then click the link to the SSP Web application under Shared Services Administration.
Under Search, click Search settings, and then click Default content access account.
Specify the password to use for the content access account, and then click OK.

Sample script
The following script is an example of how you can use the previous procedure to create a batch file that automates password changes. Use the following syntax to run the script:
FileName.bat DomainName\UserName NewPassword
@echo off
rem other app pools
echo *** Updating app pool passwords
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o updateaccountpassword -userlogin %1 -password %2 -noadmin
rem central admin
echo *** Updating Central Admin password
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o updatefarmcredentials -userlogin %1 -password %2
rem ssp - new
echo *** Updating ssp password for new installs
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o editssp -title "SharedServices1" -ssplogin %1 -ssppassword %2
rem ssp - upgrade
echo *** Updating ssp password for upgraded installs
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o editssp -title "Default Web Site" -ssplogin %1 -ssppassword %2
rem osearch
echo *** Updating osearch password
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o osearch -farmserviceaccount %1 -farmservicepassword %2
echo *** MANUAL UPDATE NEEDED. To update the password, visit the SSP Web application page, click Search Settings, and then click Default Content Access Account.
rem spsearch
echo *** Updating spsearch password
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o spsearch -farmserviceaccount %1 -farmservicepassword %2
echo *** Updating spsearch content access account
"%commonprogramfiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o spsearch -farmcontentaccessaccount %1 -farmcontentaccesspassword %2
rem restarting IIS
echo *** Doing soft restart of IIS
iisreset /noforce
echo on

Modify the script to include the correct names of each SSP in the server farm. If the server farm is configured to use single sign-on, you must also use the sc config command.
Back to the top
How to update the SharePoint Server 2007 password when SharePoint Server 2007 is installed in a least-privileges configuration
Method 1: Start the SPAdmin service
Start the SPAdmin service on all computers in the farm before you update the password. Stop the service when the operation is complete.
Method 2: Add the database access account to the local administrators group
Add the database access account to the local administrators group of each computer in the farm that has an online search instance. Log on by using that account, and then update the password by using the stsadm command.

When this operation is complete, remove the database access account from the local administrators group of each computer.