Friday, June 15, 2007

Conversion from ASP.NET 1.1 to ASP.NET 2.0

ERROR
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS

Solution
Remove web.config from the backup folder created by Visual Studio.

Changing the Configuration database server in MOSS 2007

To change the configration database server in MOSS 2007 do the following
1. Shutdown the servers in the farm
2. Copy all the configuration database to the new database server
3. Turn on the servers and execute stsadm -o renameserver -olservername -newservername
4. You should reboot the server
5. Execute these steps on all the servers in the farm