Have you ever created a Database project and after some time you are not able to load it in the Visual Studio? Probably you might be getting following error:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact [...]
While importing (drag/drop) your webpart to any SharePoint page, if you receive an error stating “Cannot import webpart” or “unable to add selected web part(s)”! here is the check list you should look for:
Make sure the webpart class is inherited either from Microsoft.SharePoint.WebPartPages.WebPart or System.Web.UI.WebControls.WebParts.WebPart
The webpart class needs to be declared public.
Safe controls entry [...]
I was playing through SharePoint object model and somewhere (don’t remember right now!) got an exception stating “ServerContext not set to an instanceâ€.
My solution for this: Installed SSP (Shared Services Provider) and this problem is solved!
[ Edited:2008-03-24
I got this error while playing with stsadm.exe command
]
Few frequently asked question for ASP.NET developers:
The Identity Selector dialog box is displayed only for SSL protected pages. Therefore you are required to deploy your application on a Web server and install a SSL Certificate.
Windows CardSpace does not work with [...]
It’s a best practice to add comment when you do check-in to the source control. A text comment is associated with the change you made to the item. Some of the times you need to find a particular comment, but the View History tool available with Visual Studio/TFS is limited that you can’t make a [...]
Hmmm… a new tool in my hands
… and following equation makes me crazy about it!
C# 2.0 + ADO.NET = LINQ = C# 3.0
In simple words Language Integrated Query (LINQ) exposes the power of SQL queries within C# syntax. This technology along with its tools allows you to connect to SQL database, extract metadata, build typed [...]
My presentation on WebServices Basics is available for download to the *valuable visitors* of my blog. Here is the content:
Web services – Definition: A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Characteristics
Demo: Writing [...]
These days I’m writing a tool for Visual Studio that integrates with Team Foundation Server. This post is about how to retrieve/fetch history of a file from source control server using TFS-SDK. Following function takes server name and file path as input and returns an enumerator holding Changeset objects.
public static IEnumerable FetchHistory(string serverName, string filePath)
{
TeamFoundationServer [...]
One nice feature of WPF (Windows Presentation Foundation, .Net 3.0) is the integration of 3D library with the existing framework. Today I worked with Viewport3D class. This class handles it all for managing 3D views. The “Hello World” example I coded here basically demonstrates three features:
Loading XAML dynamically at runtime
Playing with 3D objects using Viewport3D [...]
I love writing extensions for applications and filling gaps in between making the world simpler (interacting with each other, giving users flexibility in switching from one application to another.) The power of any application (especially Internet Browsers) lies in how features enriched it is. One of the way to achieve this is to lay down [...]