03 October, 2009

SharePoint Designer Cache

Clearing SharePoint Desinger Web Part Cache:
After deploy the new assembly to the server you might see that new properties are not reflected in SharePoint Designer. You can correct the issue by clearing the C:\Documents and Settings\[User]\Local Settings\Application Data\Local\Microsoft\WebsiteCache

Clearing the Assembly Cache for SharePoint Designer:
There might be issue with loading workflow with custom activities that you have deployed for SPD workflows, which will result in "Failed to load the workflow" !!
Getting rid of cached file from:C:\Documents and Settings\[user]\Application Data\Microsoft\SharePoint Designer\ProxyAssemblyCache\. Then delete the folder (12.x.x.xxxx)

How to disable Contributor Settings in SharePoint Designer

When you install Microsoft Office SharePoint Server 2007 (MOSS 2007), By Default the Contributor Settings will be enabled on your site(s). You will notice this in the SharePoint Designer task pane.

This is because your account is present in the Content Authors group, wich may “restrict the use of some features” as the task pane mentions.This behavior can be modified if you turn off the "Contributor Settings" in SPD.

How to get this above window:
1. Open The site in SharePoint Designer
2. Site Menu
3.choose Contributor Settings.
4.Click on Disbale Contributor settings
5. Refresh the page and U will not see that message again !!!!

25 July, 2009

An error has occured in Approval

I think, Workflow is the easiest part of SharePoint for anybody to use and especially the out-of-box workflows. Yesterday, One of the user in my project reported an error regarding workflow. The scenario was he set an approval workflow for himself and when he tried to approve it then he got an error message as follows:




When we set up an workflow for the document library and list, We usually follow these process :

-Go to Settings->Workflow Settings->Add Workflow
-Choose the Approval workflow from the list, make it start on item creation go to the second workflow page.
-Select the approvers asper your requirement and check "Update the approval status (use this workflow to control content approval)"
-Finish and the workflow has been set !!

And now the mystery begins and you will get an error as mentioned above. and now You will ask,why? So the keyword is "Approval" !!

This is an approval workflow which should among getting the approvals update the approval status of the document so, if you missed one tiny little step like setting the approval for the document library this simple task will fail at the end.

Resolution:-
-Just go to the document Library Settings
-Versioning Settings Page
-Set "Require content approval for submitted items to?" to yes and everything should be fine.

I hope the above information will helps you to overcome the above mentioned error message!!
Thanks!!!


18 July, 2009

How to find the template name of sharepoint site?

It is really very difficult to find out the name of the template after the site has been created but not now.. After lots of searching & googling, I found out one great post belongs to Mr.SP Raj who written this code and it is very successfull as i have tried this and i am able to find the names of the templates used by the site.

Please Follow this link and your issue will be Resolved:
http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/721bec39-2d32-4bbc-9094-a021a0d06dcb

List of MOSS 2007 Template ID Information
0 - GLOBAL (SetupPath=global) - "Global template"
1 - STS - "windows SharePoint Services Site", "Team Site", "Blank Site", "Document Workspace"
2 - MPS - "Basic Meeting Workspace", "Blank Meeting Workspace", "Decision Meeting Workspace", "Social Meeting Workspace", "Multipage Meeting Workspace"
3 - CENTRALADMIN - "Central Admin Site"
4 - WIKI - "Wiki Site"
7 - BDR - "Document Center"
9 - BLOG - "Blog"
20 - SPS (OBSOLETE) - "SharePoint Portal Server Site"
21 - SPSPERS - "SharePoint Portal Server Personal Space"
22 - SPSMSITE - "Personalization Site"
30 - SPSTOC (OBSOLETE) - "Contents area Template"
31 - SPSTOPIC (OBSOLETE) - "Topic area template"
32 - SPSNEWS (OBSOLETE) - "News area template"
33 - SPSNHOME (SubWebOnly) - "News Home template"
34 - SPSSITES - "Site Directory area template"
36 - SPSCOMMU (OBSOLETE) - "Community area template"
38 - SPSREPORTCENTER - "Report Center Site"
39 - CMSPUBLISHING (SetupPath=SiteTemplates\PUBLISHING) - "Publishing and Team Collaboration Site"
40 - OSRV (SetupPath=SiteTemplates\OSRV) - "Shared Services Administration Site"
47 - SPSPORTAL - "Corporate Intranet Site"
50 - SRCHCEN - "Search Center"
51 - PROFILES - "Profiles"
52 - BLANKINTERNETCONTAINER - "Internet Presence Web Site"
53 - BLANKINTERNET - "Publishing Site", "Press Releases Site", "Publishing Site"
54 - SPSMSITEHOST - "My Site Host"
90 - SRCHCENTERLITE (SetupPath=SiteTemplates\SRCHCENTERLITE) - "Search Center Lite"
6221 - PWA (SetupPath=SiteTemplates\PWA) - "Project Web Access Site"
6215 - PWS (SetupPath=SiteTemplates\PWS) - "Project Workspace"
14483 - OFFILE - "Records Repository", "Records Repository"

I Hope the above information will helps u to find the template name but if you face any problem then please let me know... Thanks!!!

13 July, 2009

Error message when you try to edit an Office document in a document library: "'Edit Document' requires a Windows SharePoint Services-compatible applic

When you try to edit a Microsoft Office document that is stored in a document library of a Microsoft Windows SharePoint Services Web site, you may receive one of the following error messages, depending on the version of Office that you are running.

2007 Microsoft Office suites:
'Edit Document' requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater.

Microsoft Office 2003 and earlier versions of Office :
'Edit Document' requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 5.0 or greater.

you experience these symptoms if you click a Microsoft Word document in the document library, and then click Edit in Microsoft Office Word. Additionally, when you click New Document in the document library, you may receive the following error message:

The document could not be created. The required application may not be installed properly, or the template for this Document Library cannot be opened. Please try the following:

1. Check the General Settings for this Document Library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and then try creating a new document again.

2. If you have permission to modify this Document Library, go to General Settings for the library and configure a new template.

This issue may occur if one or more of the following conditions are true:
-Microsoft Office XP or later is not installed on the computer.

-Office XP or a later version of Office is installed on the computer. However, the SharePoint support component that is included in Office Tools is not installed on the computer. That is, either Microsoft SharePoint Support or Windows SharePoint Services Support (as appropriate to your version of Office) is not installed on the computer.

-The Owssupp.dll file is not registered correctly in Microsoft Windows.

To resolve this issue, use one of the following methods, as appropriate for your situation.

If Office 2003 is installed on the computer, follow these steps:
-Click Start, and then click Control Panel.
-Click Add or Remove Programs.
-In the list of currently installed programs, click Microsoft Office 2003, and then click Change.
-Click Add or Remove Features, and then click Next.
-Click to select the Choose advanced customization of application check box, and then click Next.
-In the Choose update options for applications and tools box, expand Office Tools, click the down arrow next to Windows SharePoint Services Support, and then click Run from My Computer.
-Click Update.

If a 2007 Office suite is installed on the computer, follow these steps:
-Click Start, and then click Control Panel.
-Click Add or Remove Programs.
-In the list of currently installed programs, click Microsoft Office suite 2007, and then click Change.
-Click Add or Remove Features, and then click Continue.
-Expand Office Tools.
-Click the down arrow next to Windows SharePoint Services Support, and then click Run from My Computer.
-Click Continue.

Method 3: Register the Owssupp.dll file
Note For Office 2003 and Office 2007 an error occurs in steps 4 and 6. This error is benign and the appropriate modifications have occurred. The error message reads similarly to: "DllRegisterServer in C:\Program Files\Microsoft Office\OFFICE11OWSSUPP.DLL failed. Return code was: 0x80070716.

-Repair or reinstall Office 2003 or the individual Office 2003 program that is experiencing this issue.

For more information about Windows SharePoint Services, visit the following Microsoft Web site: http://technet.microsoft.com/windowsserver/sharepoint/default.aspx