Posts

6 basic steps of how to create a WebPart in SharePoint

Introduction This is beginners tutorial of how to deploy a WebPart in SharePoint. It is a 6 step procedure and this tutorial will walk through the same. In case you are fresher to SharePoint you can read my FAQ articles listed below. I am sure within an hour you can get acquainted to SharePoint and get started. Quick Start FAQ Part I :- 11 basic FAQ questions , must for every new comer.It's a the basic Quick Start FAQ tutorial which talks about What is SharePoint, WSS, MOSS, Site/Site collection, Virtual Path provider and then ends with explaining SitePages and Application pages SharePoint FAQ: Part I Quick Start FAQ part II:- This is the second part in the series which explains the ready made functionalities,custom pages,deploying/activating/deactivating features and lot. SharePoint FAQ: Part II Quick Start FAQ Part III:- This covers page templates , page instances , WSS model , understand safe mode processing , deploy custom controls and understand WebParts. So le...

Microsoft Confirms Plans to Release Free Anti-Virus Service

Image
If Morro provides good protection, it could "provide a significant value for users." From Microsoft's perspective, Morro, the free anti-virus software could improve user experience with Microsoft-based products and could help them to improve their charged-for enterprise products. As it gets ready to launch a new operating system, Microsoft confirmed Wednesday that it is getting ready to release a free anti-virus service later this year. The new service is currently code-named Morro, apparently after the Morro de Sao Paolo beach area in Brazil. Observers are expecting the free service to compete directly with McAfee and Symantec, two of the leading companies in this field. A Microsoft spokesperson told news media that the software giant is currently internally testing the new software among its employees, and then it will offer a public beta at some unspecified point in 2009. The software is expected to be available for computers running Windows Vista, XP, an...

How to Identify and Delete Duplicate SQL Server Records

Recently, I was asked to help someone clean up their database after they had double loaded an import file. The problem they were having in identifying and deleting the duplicate information was the fact that a timestamp is applied to each row of data as it is inserted into the table. While the rest of the row of data was duplicated, the timestamp made the row unique. It was this uniqueness that caused the simple methods of determining and deleting duplicate data to fail. They needed a way to delete data from a table in which they determine the criteria of what made the data duplicate. After helping them out with their problem, I decided to write a short article to show the simple solution I came up with to delete the duplicate data from a table, even if that data is considered unique by SQL Server. I know there are many ways to delete duplicate data, but bear with me as I explain my way. As always, if you have another way, great write it up and let us know about it. If not, look over t...

PRB: Log Reader Agent Does Not Function and You Receive an Error Message During Transaction Replication

When you use transaction replication to distribute the data, you may experience the following symptoms:Log Reader Agent does not replicate the data and it displays the following error message: The process could not execute 'sp_replcmds' on servername. The log file contains the following information: Status: 2, code: 0, text: 'The process could not execute 'sp_replcmds' on servername'. The process could not execute 'sp_replcmds' on servername. Status: 2, code: 0, text: 'Timeout expired'. Disconnecting from Publisher servernameThe agent failed with a 'Retry' status. Try to run the agent at a later time. CAUSE: To facilitate transactional replication, Log Reader Agent moves the transactions that are marked for replication from the transaction log on the publisher to the distribution database. You may receive this error message when Log Reader Agent cannot move the transaction log within the time limit that you set in the Log Reader Agent Qu...

Differences between DataSet and DataReader

Differences between DataSet and DataReader The DataSet object is central to supporting disconnected, and distributed data scenarios with ADO.NET. The DataSet is a memory-resident representation of data that provides a consistent relational programming model regardless of the data source. It can be used with multiple and differing data sources, used with XML data, or used to manage data local to the application. The DataSet represents a complete set of data including related tables, constraints, and relationships among the tables. I think this is something that gives the advantage upon the older ADO. ADO.NET DataReader to retrieve a read-only, forward-only stream of data from a database. Using the DataReader can increase application performance and reduce system overhead because only one row at a time is ever in memory. How do I know which one to use? When deciding whether your application should use a DataReader (see Retrieving Data Using the DataReader) or a DataSet (see Creating and ...

Top Five ASP.NET Web Services Tips

In this article, we explore some tips and tricks for using the Microsoft .NET framework for developing Web services. In the first section, I'll provide a brief comparison between ASP.NET Web services and .NET remoting, and then I'll delve into five tips I've found useful for developing ASP.NET Web services. Before You Build: ASP.NET Web Services Versus .NET Remoting ASP.NET Web services and .NET remoting are two separate paradigms for building distributed applications using Internet-friendly protocols and the .NET framework. Each has its advantages and drawbacks, which are important factors in deciding which one to use for your application. Web services typically use SOAP for the message format and require that you use IIS for the HTTP message transport. This makes Web services good for communication over the Internet, and for communication between non-Windows systems. Web services are a good choice for message-oriented services that must support a wide range of client plat...

Web Services with ASP.NET

Web Services are the underpinning of Microsoft's .NET strategy. The concepts and the innovations behind this initiative have struck a chord with developer's building the next generation of Internet applications. In this month's column, we're going to take a look at the features within ASP.NET to enable Web Services. Before we dig into the technical details let's start with an overview of Web Services. Web Services Overview A Web Service is programmable application logic accessible via standard Web protocols. One of these Web protocols is the Simple Object Access Protocol (SOAP). SOAP is a W3C submitted note (as of May 2000) that uses standards based technologies (XML for data description and HTTP for transport) to encode and transmit application data. Consumers of a Web Service do not need to know anything about the platform, object model, or programming language used to implement the service; they only need to understand how to send and receive SOAP messages (HTTP ...