Tuesday 23 September 2014

Deployment conflicts were detected.

When developing solutions for SharePoint 2010 Visual Studio automatically resolves conflicts when redeploying a solution. By default, user will be prompted with the below message.



  • If you select Resolve Automatically, your list and all of its data will be removed before a new instance of the list is provisioned. 
  • To prevent this, you can set the Deployment Conflict Resolution property of the list instance in the Solution Explorer to None
  • Simply right-click on the list instance project item in VS and select Properties. Then select None from the drop-down list of values:



Thursday 11 September 2014

RSS Viewer Webpart in SharePoint 2010

There can be two types of RSS Feed links.
·         Internal
·         External

Internal RSS Feed Web part

Any RSS Feed link (xml) which is hosted inside a company intranet is categorized as a RSS Feed internal link. To make use of these feeds, we have three options.
·         Change default authentication type NTLM to Kerberos
·         Enable anonymous access on List/Library.
·         Custom RSS Viewer web part

If Kerberos authentication in configured (enabled) on your SharePoint server then you can use an out of the box RSSViewer Web Part to render an RSS feed coming from the internal RSS feed link.To enable Kerberos authentication, follow this link:


If the security configuration is NTLM and you try to configure the RSS view webpart with an internal RSS feed link, it will throw an error like this:

                “The RSS Web Part does not support authenticated feeds.”

In this case, use the custom RSS feed web part

OR

If your web site’s security permits, then give anonymous access to the underlying list/library. To Enable Anonymous access, follw this below link:


External RSS Feed Web part

Any RSS feed link which is hosted on the internet is called an External RSS Feed.
Normally External RSS feed links don’t work as-is on Company Intranet sites, since they use proxy servers to connect to the internet.
In that case use, we have to modified the web.config. Please take a backup of web.config.
<system.net>
      <defaultProxy>
         <proxy usesystemdefault="false" proxyaddress="http://proxyhere" bypassonlocal="true" />
      </defaultProxy>
   </system.net>




Tuesday 9 September 2014

Enable Anonymous Access on SharePoint List or Library

We can enable anonymous access in MS SharePoint 2010 within few clicks.


1. Go to central Administration,under Application Management, click on the Manage web applications. 2. Select your web application and click on Authentication Providers. 
3. Click on "Default"

 

4. Check the "Enable Anonymous Access"


5. Click On Save.
6. Go to your Site --> Site Settings --> Site Permissions. Click on "Anonymous Access" 


7. Select "List and Libraries" 



8.Go to your "List permissions "




9.Click on "Anonymous Access". Select the permissions you want to enable on this list.