Tuesday, March 9, 2010

How to set default website to ASP.NET 2.0


The following will set the default website to ASP.NET 2.0:
C:\windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -sn W3SVC/
Child applications inherit the ASP.NET setting from the parent, so all children will have the new setting.

Remote connection to MSSQL server on a specific port

If you use specific port (not 1433 by default) for MSSQL server remote connections, then when you want to connect trough SQL Server Management you must specify the new port in server name with comma, e.g.:
Server name: www.yourserver.com,3281