web analytics

Tagged: .NET

Import Google Contacts –  ASP.NET 2

Import Google Contacts – ASP.NET

How can we download our google address book to some local DB, file etc? One of the coolest things google has provided for developers is the Google Data API for integration of user and...

Cloud Computing – ASP.NET 0

Cloud Computing – ASP.NET

Following are some of pros and cons for Cloud Computing Architecture for ASP.NET: Advantages: Cost cutting More storage for Data. Mobilitiy of Data Easy Disaster Recovery Disadvantages Implementation of session Implementation of authentication Migration...

SqlBulkCopy – Bulk Insertion in SQL Server from .NET 0

SqlBulkCopy – Bulk Insertion in SQL Server from .NET

Many a times there come a scenario when you have to insert large number of records in sql server. There are number of ways to implement this scenario: through looping techniques to call insert...

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 25

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154

Sometimes when working with office Interop assemblies the above mentioned error occurs. I had also got the same when using Microsoft Excel interop assembly and adding its reference in my ASP.NET application.    ...

Registering an Assembly through code 0

Registering an Assembly through code

Many times we have to register an assembly and only one thing came in mind "regasm" command line utility. But for this also we have to manually type this command and it parameters (assembly...

Register an assembly through a setup project 0

Register an assembly through a setup project

In your setup project, make sure you selected the option to add an assembly and not the option to add a file. After you add the assembly, select it in the view pane and...

Uploading a file using libcurl.net 3

Uploading a file using libcurl.net

Following is the code to upload a file to a ftp server through libCurl.NET library. using System; usingSystem.IO; usingSeasideResearch.LibCurlNet; class Upload { public static void Main( String [] args) { try { Curl .GlobalInit((...

Debugging Stored Procedures in SQL Serrver 2005 0

Debugging Stored Procedures in SQL Serrver 2005

Pre-requisites 1. Find the .exe file under the directory, C:\Program Files\Microsoft SQL Server\90\Shared\1033\rdbgsetup.exe or similar path where the SQL Server was installed. The file rdbgsetup.exe stands for ‘RemoteDeBuGsetup’. Look for the emphasis on letters....

Add an entry to event log in C# 2

Add an entry to event log in C#

EventLog is a good place to write your applications log. Here is an example to show how to do this: If ( !EventLog.SourceExists("TestCategory")) EventLog.CreateEventSource("TestCategory","TestLog"); EventLog evtLog = new EventLog(); evtLog.Source = "TestCategory"; evtLog.WriteEntry("This is...