Skip to main content

Posts

Showing posts from March, 2013

How to write Custom SharePoint 2010 WCF Services

Writing a custom WCF service, deploying it in SharePoint as a solution and then using it in Silverlight front end. The WCF service has access to the entire object model and it can expose custom business objects, thereby allowing scenarios such as WCF RIA services. Start Visual Studio 2010 and create a new project based on the empty SharePoint project template. Call this project CustomWCFService and require it to be a farm solution . It has to be a farm solution because we will deploy an . svc , and its . config file to the file system. In the same solution, add a new project of template type WCF service library and call it MyServiceLibrary. By default , the WCF service library project type will add a Service1 service for you.  Because we don't want the default service added, go ahead and delete the IService1 . cs and Service1 . cs files. Also open the app.config for your service library, and delete everything under the system.serviceModel element.  Next , right-...

How to Configure the Trace Logs to save seven days of events in MOSS 2007

Configure the trace log to save seven days of events. 1. In Central Administration , on the Operations tab, in the Logging and Reporting section, click Diagnostic logging . 2. On the Diagnostic Logging page, in the Trace Log section, do the following: 3. In the Number of log files box, type 336 .In the Number of minutes to use a log file box, type 30 . Note : To save 10,080 minutes (seven days) of events, you can use any combination of number of log files and minutes to store in each log file. 4. Ensure that the path specified in the Path box has enough room to store the extra log files or change the path to another location. Note : 5. We recommend that you store log files on a hard drive partition that is used to store log files only. 6. Click OK . Trace log files can help you to troubleshoot issues related to configuration changes of either the Office SharePoint Server Search service or the Windows SharePoint Services ...

Configure Web application General Settings in Sharepoint

1. On the top link bar, click Application Management . On the Application Management page, under SharePoint Web Application Management ,  2. click Web application general settings . If the currently selected Web application is not the  Web application for which you want to configure settings, on the Web Application General Settings page, in the Web Application section,  3. click Change Web Application on the Web Application menu. On the Select Web Application page, click the Web application for which you want to configure settings. 4. In the Default Time Zone section, in the Select time zone list, click the time zone to use for all sites and subsites under the Web application. 5. In the Default Quota Template section, in the Select quota template list, click the quota template to use as the default template for all site collections. 6. If there are no quota templates, you can cr...