Tuesday, November 23, 2004

Kannan's DOTNET Lounge

DOTNET reinstall script - a handy tool

*****This Script Corrects broken dll links, handy script if ur DOTNet installation does something funny......*****
*****write copy the entire script and save as a batch file.
***if u r typing from the command prompt, ignore the lines that start with 'Echo', type only the commands below the Echo line.

Echo Stop IIS
iisreset /stop

echo '----------------------'

echo 'Deleting the ASPNET account.'
net user ASPNET /delete

echo '----------------------'

echo 'Reregistering ASP.NET and the ASPNET account.'
aspnet_regiis -i

echo 'Restarting IIS.'
iisreset /start

echo '----------------------'"