Error : The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.
Answer :
1. Start Central Administration.
2. Click Security, and then click "Define Blocked file types"
3. On the Blocked File Types page, click the Web application that you want to configure in the Web Application box.
4. Remove the file name extension from the list of blocked file types.
5. Click OK.
Monday, January 30, 2012
Saturday, January 28, 2012
Friday, January 27, 2012
Error : Search Alert rule not working
Error : Search Alert rule not working
Answer :
To enable search alerts
1.Verify that the user account that is performing this procedure is an administrator for the Search service application.
2.Open SharePoint 2010 Central Administration.
3.In the Application Management section, click Manage service applications.
4.On the Manage Service Applications page, click the Search service application for which you want to configure search alerts.
5.On the Search Administration page, in the System Status section, locate Search alerts status.
6.The search alerts status displays as OffEnable or OnDisable.
7.By default, search alerts are turned Off. Click Enable to turn on Search alerts.
Answer :
To enable search alerts
1.Verify that the user account that is performing this procedure is an administrator for the Search service application.
2.Open SharePoint 2010 Central Administration.
3.In the Application Management section, click Manage service applications.
4.On the Manage Service Applications page, click the Search service application for which you want to configure search alerts.
5.On the Search Administration page, in the System Status section, locate Search alerts status.
6.The search alerts status displays as OffEnable or OnDisable.
7.By default, search alerts are turned Off. Click Enable to turn on Search alerts.
Error : An error was encountered while retrieving the user profile.
Error : An error was encountered while retrieving the user profile.
Code which cause this error : UserProfile profile = mgr.GetUserProfile(user.Name);
Answer : UserProfile profile = mgr.GetUserProfile(SPContext.Current.Web.CurrentUser.RawSid);
Code which cause this error : UserProfile profile = mgr.GetUserProfile(user.Name);
Answer : UserProfile profile = mgr.GetUserProfile(SPContext.Current.Web.CurrentUser.RawSid);
Tuesday, January 24, 2012
Error : There was an error when granting access for
Error : There was an error when granting access for DOMAIN\SP_XXXDbAdmin to this SharePoint farm. Membership in the machine administrators group is required to grant access to the SharePoint databases.
Access denied. Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPUpdateWorkerProcessGroup, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
Ans : Run the SharePoint configuration wizard which will solve the issue.
Access denied. Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPUpdateWorkerProcessGroup, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
Ans : Run the SharePoint configuration wizard which will solve the issue.
Monday, January 23, 2012
Error : Failed to establish connection with report server.
Error : Failed to establish connection with report server. Verify the server URL is correct or review ULS logs for more information. Product area: SQL Server Reporting Services, Category: Configuration Pages
Answer : Use IP rather than Server name. Eg : http://IPADDRESS:80/ReportServer
Note : Before doing the Sharepoint SSRS config in Central Admin, we need to install the SharePoint 2010 Full installation (existing farm option).
Answer : Use IP rather than Server name. Eg : http://IPADDRESS:80/ReportServer
Note : Before doing the Sharepoint SSRS config in Central Admin, we need to install the SharePoint 2010 Full installation (existing farm option).
Saturday, January 21, 2012
Error : Could not find MOSS MA despite being marked as fully configured, was it deleted?
LoadConnections failed trying to fill the connections list. Most likely during RetriveResources because of permissions --- {1}. Available parameters: Microsoft.ResourceManagement.WebServices.Client.PermissionDeniedException: Access to the requested resource(s) is denied at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.EnumerateResources(SearchParameters parameters) at Microsoft.ResourceManagement.WebServices.ResourceManager.RetrieveResources() at Microsoft.Office.Server.UserProfiles.ConnectionManager.LoadConnections() .
ConnectionManager.LoadConnections(): Could not find MOSS MA despite being marked as fully configured, was it deleted?
Symptom : the disappearance of your AD connection from User Profile Sync connections.
Answer1 : Stop the User Profile Synchronization service in Central Administration -> Manage Services on Server and restart it. Please take a look at http://cid-6f40fb61d28cf147.office.live.com/view.aspx/Technology/MOSS%20MA%20Not%20found%20error%20when%20create%20new%20synchronization%20connection.docx for detail.
ConnectionManager.LoadConnections(): Could not find MOSS MA despite being marked as fully configured, was it deleted?
Symptom : the disappearance of your AD connection from User Profile Sync connections.
Answer1 : Stop the User Profile Synchronization service in Central Administration -> Manage Services on Server and restart it. Please take a look at http://cid-6f40fb61d28cf147.office.live.com/view.aspx/Technology/MOSS%20MA%20Not%20found%20error%20when%20create%20new%20synchronization%20connection.docx for detail.
Friday, January 20, 2012
Error : Load control template file /_controltemplates/TaxonomyPicker.ascx failed
Error 7043 "Load control template file /_controltemplates/TaxonomyPicker.ascx failed"
Answer :
This is not causing any issues except for a wrong ULS log message a single time in a web application process life time, the exception is caught and that template file is skipped. This message should be treated as log noise and can be ignored.To change this behavior:
1. Navigate to /14/TEMPLATE/ControlTemplates/TaxonomyPicker.ascx user control
2. Open the user control in a text editor and locate the first line
3. Find the character string , and replace with a comma ‘,’ (without quotes).
4. Save the user control
Answer :
This is not causing any issues except for a wrong ULS log message a single time in a web application process life time, the exception is caught and that template file is skipped. This message should be treated as log noise and can be ignored.To change this behavior:
1. Navigate to /14/TEMPLATE/ControlTemplates/TaxonomyPicker.ascx user control
2. Open the user control in a text editor and locate the first line
3. Find the character string , and replace with a comma ‘,’ (without quotes).
4. Save the user control
Thursday, January 19, 2012
Wednesday, January 18, 2012
ULS Viewer
User friendly error log viewer
http://archive.msdn.microsoft.com/ULSViewer/Release/ProjectReleases.aspx?ReleaseId=3308
http://archive.msdn.microsoft.com/ULSViewer/Release/ProjectReleases.aspx?ReleaseId=3308
Cancel a timer job
when you register a timer job, it creates a timer job definition. as long as timer job definition stays in, Sharepoint will kick off the job based on its definition which is for example every 5 minute or once in a day etc. So if your requirement is to cancel a job, you will need to delete the timer job definition. However if timer job has started executing, you can not really STOP it unless you reset IIS or stop Sharepoint Windows Timer Service. so programmatically you can control the cancellation of a job in advance before that scheduled time reaches but you can not really control the other thing which is to stop an executing job. and restarting WSS timer service is not a good idea to acheive the second part.
Source : Internet
Source : Internet
Error : The form cannot be rendered. This may be
Error : "The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator"
Resolution : Run the Farm wizard in Central Admin and select the State Service.
For more info : http://www.topsharepoint.com/sharepoint-2010-state-service
Resolution : Run the Farm wizard in Central Admin and select the State Service.
For more info : http://www.topsharepoint.com/sharepoint-2010-state-service
Tuesday, January 17, 2012
Types of Content - Search scope Rule
There are a set of pre-defined values Sharepoint assigns to the property contentClass to represent different types of content. The table below has most of them.
STS_Document
STS_List_Comments
STS_List_300
STS_List_Contacts
STS_List_850
STS_List_DiscussionBoard
STS_List_Announcements
STS_List_DocumentLibrary
STS_List_Categories
STS_List_Events
STS_List_GenericList
STS_list_Links
STS_List_PictureLibrary
STS_List_Posts
STS_List_Tasks
STS_ListItem_300
STS_ListItem_850
STS_ListItem_Announcements
STS_ListItem_Categories
STS_ListItem_Comments
STS_ListItem_Contacts
STS_ListItem_DiscussionBoard
STS_ListItem_DocumentLibrary
STS_ListItem_Events
STS_ListItem_GenericList
STS_ListItem_Links
STS_ListItem_Posts
STS_Site
STS_Web
STS_Document
STS_List_Comments
STS_List_300
STS_List_Contacts
STS_List_850
STS_List_DiscussionBoard
STS_List_Announcements
STS_List_DocumentLibrary
STS_List_Categories
STS_List_Events
STS_List_GenericList
STS_list_Links
STS_List_PictureLibrary
STS_List_Posts
STS_List_Tasks
STS_ListItem_300
STS_ListItem_850
STS_ListItem_Announcements
STS_ListItem_Categories
STS_ListItem_Comments
STS_ListItem_Contacts
STS_ListItem_DiscussionBoard
STS_ListItem_DocumentLibrary
STS_ListItem_Events
STS_ListItem_GenericList
STS_ListItem_Links
STS_ListItem_Posts
STS_Site
STS_Web
Monday, January 16, 2012
Error : The Controls collection cannot be modified because the control contains code blocks (i.e. <% … %>)
Error : The Controls collection cannot be modified because the control contains code blocks (i.e. <% … %>)
Answer : the workaround is to wrap atag around the <% ... %>code block. This makes the code block a child of the Placeholder control, instead of being a direct child of the Page.Header control, but it doesn't change the rendered output at all. Now that the code block is not a direct child of Page.Header you can add things to the header's controls collection without error.
Source : Stackoverflow
Answer : the workaround is to wrap a
Source : Stackoverflow
Thursday, January 12, 2012
Wednesday, January 11, 2012
SSRS Integration in Sharepoint 2010
Report Server Installation
http://mosshowto.blogspot.com/2009/03/reporting-services-sharepoint-multiple.html
Report Server DB Mode change from Native to Sharepoint Integrated
http://dereksan.blogspot.com/2011/01/how-to-switch-from-ssrs-native-mode-to.html
Error :
The report server instance is not configured correctly. Please use the Reporting Services Configuration tool to create a report server database in SharePoint integrated mode before setting integration options for this SharePoint Web application.
Answer :
Design SSRS Report using Sharepoint
http://dereksan.blogspot.com/2011/01/how-to-switch-from-ssrs-native-mode-to.html
Error :
The path of the item is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash.
Answer :
We cannot create or design report using VS for Sharepoint Integrated mode database. We need to confige and use SP 2010 to develop reports.
http://fendy-huang.blogspot.com/2011/02/create-ssrs-report-with-sharepoint-2010.html
Add SSRS Report in Report viewer web
http://technet.microsoft.com/en-us/library/bb326362.aspx
Connect Filter or Documents Web Part (Reporting Services in SharePoint Integrated Mode)
http://technet.microsoft.com/en-us/library/bb283248.aspx
Adding Parameters to Create a List of Available Values (SSRS)
http://msdn.microsoft.com/en-us/library/aa337400.aspx
http://mosshowto.blogspot.com/2009/03/reporting-services-sharepoint-multiple.html
Report Server DB Mode change from Native to Sharepoint Integrated
http://dereksan.blogspot.com/2011/01/how-to-switch-from-ssrs-native-mode-to.html
Error :
The report server instance is not configured correctly. Please use the Reporting Services Configuration tool to create a report server database in SharePoint integrated mode before setting integration options for this SharePoint Web application.
Answer :
Design SSRS Report using Sharepoint
http://dereksan.blogspot.com/2011/01/how-to-switch-from-ssrs-native-mode-to.html
Error :
The path of the item is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash.
Answer :
We cannot create or design report using VS for Sharepoint Integrated mode database. We need to confige and use SP 2010 to develop reports.
http://fendy-huang.blogspot.com/2011/02/create-ssrs-report-with-sharepoint-2010.html
Add SSRS Report in Report viewer web
http://technet.microsoft.com/en-us/library/bb326362.aspx
Connect Filter or Documents Web Part (Reporting Services in SharePoint Integrated Mode)
http://technet.microsoft.com/en-us/library/bb283248.aspx
Adding Parameters to Create a List of Available Values (SSRS)
http://msdn.microsoft.com/en-us/library/aa337400.aspx
Monday, January 9, 2012
Configure alternate access mapping
Each Web application can be associated with a collection of mappings between internal and public URLs. Both internal and public URLs consist of the protocol and domain portion of the full URL (for example, https://www.fabrikam.com).
A public URL is what users type to get to the SharePoint site, and that URL is what appears in the links on the pages. Internal URLs are in the URL requests that are sent to the SharePoint site. Many internal URLs can be associated with a single public URL in multi-server farms (for example, when a load balancer routes requests to specific IP addresses to various servers in the load-balancing cluster).
Each Web application supports five collections of mappings per URL; the five collections correspond to five zones (default, intranet, extranet, Internet, and custom).
When the Web application receives a request for an internal URL in a particular zone, links on the pages returned to the user have the public URL for that zone. For more information, see Plan alternate access mappings (Office SharePoint Server).
Manage alternate access mappings
On the top navigation bar, click Operations.
On the Operations page, in the Global Configuration section, click Alternate access mappings.
For information about how to perform this procedure using the Stsadm command-line tool, see Addalternatedomain: Stsadm operation (Office SharePoint Server).
Add an internal URL
On the Alternate Access Mappings page, click Add Internal URLs.
If the mapping collection that you want to modify is not specified, then choose one. In the Alternate Access Mapping Collection section, click Change alternate access mapping collection on the Alternate Access Mapping Collection menu.
On the Select an Alternate Access Mapping Collection page, click a mapping collection.
In the Add internal URL section, in the URL protocol, host and port box, type the new internal URL (for example, https://www.fabrikam.com).
In the Zone list, click the zone for the internal URL.
Click Save.
-------------------------------------------------------------
To Get that please follow the steps as shown below
1) Ask the Systems team to place a DNS entry called portal
2) On the SharePoint installed server go to C:\WINDOWS\system32\drivers\etc\Hosts . Open the hosts file with notepad and enter the IP address of the SharePoint server, give space (or hit the tab button once) and then type the DNS name which is portal (e.g 172.18.00.00 portal)2) On the same server open IIS (start-->RUN-->Inetmgr-->Enter)
3) Expand the folder web Sites and right click on the site and select properties. On the tab "web Site", below web site Identification click on the button Advanced.
4) Under Multiple Identities for the web site click on ADD, then in the TCP port enter 80 and in the Host Header Value type port, then click ok, ok and apply.
5) go to the central administration and click on Operation, under Global configuration select "Alternate Access Mapping" in here click on the web application (in our case http://servername:7788) you will be taken to a next page called Edit Internal URLs in here just click the cancel button, when you do that you will be taken to another page called Alternate Access Mappings, in here please click on Add Internal Urls, you will now be taken to another page called ADD Internal URLS . make sure that you have selected the right site collection on the right side, then in the Add Internal Url type http://portal and click Save.You can now open a browser and type portal and hit enter. you will be taken to the site http://portal/pages/default.aspx.
A public URL is what users type to get to the SharePoint site, and that URL is what appears in the links on the pages. Internal URLs are in the URL requests that are sent to the SharePoint site. Many internal URLs can be associated with a single public URL in multi-server farms (for example, when a load balancer routes requests to specific IP addresses to various servers in the load-balancing cluster).
Each Web application supports five collections of mappings per URL; the five collections correspond to five zones (default, intranet, extranet, Internet, and custom).
When the Web application receives a request for an internal URL in a particular zone, links on the pages returned to the user have the public URL for that zone. For more information, see Plan alternate access mappings (Office SharePoint Server).
Manage alternate access mappings
On the top navigation bar, click Operations.
On the Operations page, in the Global Configuration section, click Alternate access mappings.
For information about how to perform this procedure using the Stsadm command-line tool, see Addalternatedomain: Stsadm operation (Office SharePoint Server).
Add an internal URL
On the Alternate Access Mappings page, click Add Internal URLs.
If the mapping collection that you want to modify is not specified, then choose one. In the Alternate Access Mapping Collection section, click Change alternate access mapping collection on the Alternate Access Mapping Collection menu.
On the Select an Alternate Access Mapping Collection page, click a mapping collection.
In the Add internal URL section, in the URL protocol, host and port box, type the new internal URL (for example, https://www.fabrikam.com).
In the Zone list, click the zone for the internal URL.
Click Save.
-------------------------------------------------------------
To Get that please follow the steps as shown below
1) Ask the Systems team to place a DNS entry called portal
2) On the SharePoint installed server go to C:\WINDOWS\system32\drivers\etc\Hosts . Open the hosts file with notepad and enter the IP address of the SharePoint server, give space (or hit the tab button once) and then type the DNS name which is portal (e.g 172.18.00.00 portal)2) On the same server open IIS (start-->RUN-->Inetmgr-->Enter)
3) Expand the folder web Sites and right click on the site and select properties. On the tab "web Site", below web site Identification click on the button Advanced.
4) Under Multiple Identities for the web site click on ADD, then in the TCP port enter 80 and in the Host Header Value type port, then click ok, ok and apply.
5) go to the central administration and click on Operation, under Global configuration select "Alternate Access Mapping" in here click on the web application (in our case http://servername:7788) you will be taken to a next page called Edit Internal URLs in here just click the cancel button, when you do that you will be taken to another page called Alternate Access Mappings, in here please click on Add Internal Urls, you will now be taken to another page called ADD Internal URLS . make sure that you have selected the right site collection on the right side, then in the Add Internal Url type http://portal and click Save.You can now open a browser and type portal and hit enter. you will be taken to the site http://portal/pages/default.aspx.
Wednesday, January 4, 2012
SharePoint - Good URLs
http://www.codeproject.com/KB/sharepoint/SharePointBasics.aspx#usermgmt
http://www.codeproject.com/KB/sharepoint/SharePoint2.aspx#What%20is%20the%20concept%20of%20features%20in%20SharePoint
http://www.codeproject.com/KB/aspnet/SharePoint.aspx
http://www.codeproject.com/KB/sharepoint/SharePoint4.aspx
http://www.codeproject.com/KB/sharepoint/QuickStartFAQ5.aspx
http://www.codeproject.com/KB/sharepoint/SharePointPart6.aspx
http://www.codeproject.com/KB/sharepoint/SharePoint2.aspx#What%20is%20the%20concept%20of%20features%20in%20SharePoint
http://www.codeproject.com/KB/aspnet/SharePoint.aspx
http://www.codeproject.com/KB/sharepoint/SharePoint4.aspx
http://www.codeproject.com/KB/sharepoint/QuickStartFAQ5.aspx
http://www.codeproject.com/KB/sharepoint/SharePointPart6.aspx
Tuesday, January 3, 2012
Sharepoint Out of the Box controls
People picker
http://karinebosch.wordpress.com/sharepoint-controls/peopleeditor-control/?blogsub=confirming#subscribe-blog
Out of the Box controls
http://www.bing.com/videos/watch/video/getting-started-sharepoint-2010-built-in-sharepoint-controls/10tkfuxp9
http://karinebosch.wordpress.com/sharepoint-controls/peopleeditor-control/?blogsub=confirming#subscribe-blog
Out of the Box controls
http://www.bing.com/videos/watch/video/getting-started-sharepoint-2010-built-in-sharepoint-controls/10tkfuxp9
Subscribe to:
Posts (Atom)