Aspnet_regiis -i command is failing
Error and solution for Aspnet_regiis -i command is failing
Situation: I have VS2008 and IIS5 (also you can try with IIS 6). I have installed IIS after installing dotnet and SQL Server. So I now run aspnet_regiis -i from dotnet command prompt to install ASP.Net with IIS. But the installation says that setup has detected some errors during the operation. The output of the command is as below.
dotnet command prompt> aspnet_regiis -i
Start installing ASP.Net <2.0.50727>
.............................
Finished installing ASP.Net <2.0.50727>
Setup has detected some errors during the operation. For details please read the setup log file D:\.....\ASPNetSetup_00001.log
Error: The error information in the log file is as below:
IsDomainController failed with HRESULT 80070842. 'The Server Service is not started.'
Solution: For some companies the server service will be disabled. So for that You have to raise exception to enable server service through service request.