Currently my product has been developed in sp 2010, now my manager was asked test the my product in SP2013. i have started to migrating to SP2013.
I have configured below things for migrating.
- Open the old solution file (created in VS2010) in VS2012 and save that as VS2012 solution format.
- Do the same for all project files and change .NET Framework version tov4.0 or v4.5.
- Delete existing reference of Microsoft.SharePoint.dll and add newer one by going to "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI".
- Add below line in AssemblyInfo.cs (assembly's property) [assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
- Finally, compile and deploy.
I am using windows server R2,Service pack 1,SP2013 and sql server 2012.
after configuring the all things when i access the site its giving "SPContext.Current.Web.CurrentUser.IsSiteAdmin" object is getting null... please help me on this......
nagabhagavan@gmail.com