Thursday, April 24, 2008

Change default namespace of .NET application

Change default namespace of .NET application (VS 2008)

This is one of the thing for which I did browsing, searching, asking for help from friends but no scuccess until I had a look into ".csproj" file. So one can "change the default namespace for a .NET application" by just changing the value of "" element of "" root to the desired value.

If you are looking into the Properties of .NET application (specially VSTO) then you will always find the option disabled for default namespace.

Simant.

Wednesday, April 23, 2008

com.microsoft.sqlserver.jdbc.SQLServerException

Error while connecting to MS SQL Server 2005 database from a Java client
"com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect"
Solution : This happends besause TCP/IP is not enable. You need to enable the protocol and RESTART the "SQLServer" services.