Posts

Showing posts from 2014

Enable Session State in SharePoint 2010

Dear All, Today, I have faced an issue when try to use session in my custom webpart and it destroyed the whole website. After checking the log file i found the issue is related to ASP.net 2.0 session is not enable for the web Application I have spend 5 hours to find the proper solution here are the steps i hope it will work 1) Please make sure in your services  ASP.NET  Session State   is enable. If it's not started make it automatic and start it. 2) Run the following command on your SharePoint Powershell by  running as Administrator 3) The Most important point that you need to do in SQL Server Strange? Not so. According to the permissions and security settings article, your main account only needs dbcreator and securityadmin rights. But, when you enable the session state service, a job has to be created under the SQL Agent Service, which you need sysadmin rights for. So if your account only has dbcreator and securityadmin at runtime, kindly ask the SQL team to give sy

Installation of sharepoint 2013on windows 8 and windows 7

Image
Download All Preinstaller from following URL https://blogs.technet.microsoft.com/meamcs/2012/12/26/install-and-download-sharepoint-2013-prerequisites-offline-manually/ I got this post from John blog, below is an original reference: http://www.disruptivei.com/Blogg/Inl%C3%A4gg/6/Install-SharePoint-2013-on-Windows-7-8-8-1 Video presentation https://www.youtube.com/watch?v=HZZkgu0BiGk  (Just make sure run launcher.exe as mentioned in below steps) If you want it "close to the metal" without installing a server OS now you can, you decide for yourself if it is a good idea ;-) It is COMPLETELY unsupported by MS and should only be used for a local development/demo machine. ​First you should download SharePoint foundation 2013 with SP1​ or SharePoint Server 2013 with SP1 . If you need to apply a language pack you get them from here . This setup requires you to be joined to a domain. If you want to use local accounts it can be done but it won't be described h

How to Encrypt the web.config in SharePoint

Granting Read Access to an RSA Encryption Key Encrypt with Folder Location  Step 1: Go to the appropriate framework directory for the ASP.NET files:cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 Step 2: From here we can grant read access to an RSA encryption key by running this command: aspnet_regiis -pef "system.web/sessionState" "<Web Application Directory Path>" web application directory path sample ( C:\inetpub\wwwroot\wss\VirtualDirectories\your web application folder) With Application Pool Step 1: Go to the appropriate framework directory for the ASP.NET files:cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 Step 2: From here we can grant read access to an RSA encryption key by running this command:.\aspnet_regiis.exe -pa "NetFrameworkConfigurationKey" "IIS APPPOOL\MySite" How to Identify the APP  Pool "IIS APPPOOL\MySite" is the identity that my App Pool runs under. If you don't know

How to Configure Email Enabled Document Libraries in SharePoint 2013

Error loading navigation: The Managed Navigation term set is improperly attached to the site.

Hi every one,  Yesterday i got an error in SP navation Error loading navigation: The Managed Navigation term set is improperly attached to the site, and i found the solution for it here it goes The solution : Switch back to structure navigation in site settings->navigation and switch to managed navigation again. This way, the lost attached web id seems to be written again. I hope it helps you and save your time Regards Rashid Imran Bilgrami CEO Best visualization http://www.bestvisualization.com

Step by Step Procedure to Migrate sites from SharePoint 2010 to SharePoint 2013

Image
Hi Today i completely transfer the SharePoint 2010 to SharePoint 2013. I hope my post also help you i add few comments which is missing in the original post.  Preferable Process http://www.brightworksupport.com/migrate/ Alternative Process In this post, I will show how to migrate sites from SharePoint 2010 to SharePoint 2013. Steps for Migrating SharePoint 2010 site to SharePoint 2013 1. Take backup of SharePoint 2010 Content database Right click on the database name > TASK > Backup  2. Restore the SharePoint 2010 Content database in SQL Server 2012 3. Create a claims based web application. I want to use windows authentication. So I have selected “Enable Windows Authentication” checkbox while creating new web application. By default it's selected 4. Note that classic authentication mode is removed by default in create web application page. You can create classic web application using PowerShell only. (Not need this step) 5. We s

How to shift or transfer complete sharepoint from one computer to another

Dear All, Today I face a problem to shift the sharepoint farm and site collection from one Server to another I have virtual machines i made the virtual machine copy but i need to change the name of server because my existing and new both machines is  a part of network, because of it the server and datbase name has changed and SharePoint stop with the following error: could not connect with the database.  After the detail study i found the following solution SQL Server – Error : Fix : SharePoint Stop Working After Changing Server (Computer) Name Original URL  http://blog.sqlauthority.com/2008/09/09/sql-server-error-fix-sharepoint-stop-working-after-changing-server-computer-name/  (But the orginal URL is not full solution i made the changes in step 3 to work properly)  Here are the fixing points 1) Open the windows command prompt by Start > Run >CMD 2) Locate to following location C:\cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN (

How to Create a Workflow to Change Item Level Permissions

Image
Dear All please have look i did not test it but it seem workable Original Post: http://spcycle.blogspot.com/2012/01/how-to-create-workflow-to-change-item.html  Yesterday in our ShareLabs session a question was asked on how to display and/or secure data in a list based on criteria other than the author. I am going to use colors as the criteria for the purposes of this post. So the scenario is that we want to build a list to track something like, say.... oh I don’t know…. how about bicycles. We only want to display certain colors to certain groups for whatever reason. There are multiple ways to accomplish this, one of them being that we create views that filter the colors that we want to display, then create a page and drop a web part for each filtered view, and then apply Audience Targeting on each web part. At first blush this looks like it would accomplish what we want it to but what happens when a user goes to the list itself instead of our web part page? They are going to be