Skip to main content

Posts

System.IO.FileNotFound exception in SharePoint 2010

Sharepoint 2010 works comes certain constrains to improve the performance.So when we start working with 2010 it will be intresting to see some error which normally works in sharepoint 2007. For example if you ran into issue like System.IO.FileNotFound exceptio n. You will wonder why its not working just executing four lines of code like follow using (SPSite objSiteColl = new SPSite("http://localhost")) {          Console.WriteLine("Found Site : {0}", objSiteColl.RootWeb.Title); } Here we just forgot that Sharepoint 2010 support only 64 bit , answer is simple Go to project properties and change platform to X64. Still not over yet same could be raised by the permission Issue read  my other blog and see minimal permission required to execute the code which access the sharepoint Object Model. If you use .Net framework 4.0 check my blog before using it.

Features in Sharepoint 2010

Business Connectivity Services Client Object Model Health Analyzer Microsoft Synch Framework Performance Monitoring and Request Throttling Ribbon Sandboxed Solutions Service Application Framework Silverlight Integration and Cross-Domain Data Access ULS Logging Windows PowerShell for SharePoint Custom Field Rendering Enhancements Events Enhancements List Enhancements External lists Large lists Items per view Documents per list Column Limits Mobile Device Development Enhancements Query Enhancements Security Enhancements UI Enhancements Workflow Enhancements Enterprise Content Management (ECM) Enhancements Excel Services Enhancements PerformancePoint Services SharePoint Enterprise Search Enhancements FAST Search -It supports a number of enhanced capabilities, including a content-processing pipeline, metadata extraction, visual search, and advanced linguistics. User Profiles Enhancements and Social Data Word Automation Services Visio Services New browser support Enhan...