Monday, October 11, 2004

DOTNET reinstall script

*****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 "----------------------"

1 comment:

Anonymous said...

Actually, this only reinstalls ASP.NET by creating all the mappings again - far from reinstalling the entire dont net framework

Sriram Krishnan