Setting .Net version in IIS
-
Hi Is there any ways to set the .Net version in IIS through some scripts like Batch file etc? Thanks
-
Hi Is there any ways to set the .Net version in IIS through some scripts like Batch file etc? Thanks
You can use the aspnet_regiis batch file from the version of .NET that you wish to set in IIS. It would register ASP.NET from that version of .NET as the default version for your IIS.
-
You can use the aspnet_regiis batch file from the version of .NET that you wish to set in IIS. It would register ASP.NET from that version of .NET as the default version for your IIS.
Yeah i did try this out before i post it but it throws an error Coommand:- C:\WINDOWS\Microsoft.NET\Framework\v4.0.20506>aspnet_regiis.exe -s "E:\App path\Apps\Azure\SQL_Azure\SQLServerApp" Error Message:- Installation stopped because the specified path (E:\App path\Apps\Azure\SQL_Azure\SQLServerApp) is invalid. The path is exactly what i see in IIS local path. Thanks
-
Yeah i did try this out before i post it but it throws an error Coommand:- C:\WINDOWS\Microsoft.NET\Framework\v4.0.20506>aspnet_regiis.exe -s "E:\App path\Apps\Azure\SQL_Azure\SQLServerApp" Error Message:- Installation stopped because the specified path (E:\App path\Apps\Azure\SQL_Azure\SQLServerApp) is invalid. The path is exactly what i see in IIS local path. Thanks
I made it C:\WINDOWS\Microsoft.NET\Framework\v4.0.20506>aspnet_regiis.exe -sn "W3SVC/1/ROOT/SQLAzureApp" SQLAzureApp - the virtual path Thanks
-
Yeah i did try this out before i post it but it throws an error Coommand:- C:\WINDOWS\Microsoft.NET\Framework\v4.0.20506>aspnet_regiis.exe -s "E:\App path\Apps\Azure\SQL_Azure\SQLServerApp" Error Message:- Installation stopped because the specified path (E:\App path\Apps\Azure\SQL_Azure\SQLServerApp) is invalid. The path is exactly what i see in IIS local path. Thanks