How to use the command line tool to install .net 4 in IIS

I am trying to deploy my WCF RIA services application on our internal server for testing. I follow the instructions and comments on this blog: http://timheuer.com/blog/archive/2009/12/10/tips-to-deploy-ria-services-troubleshoot.aspx

In the end, someone points out this question:

How to resolve HTTP Error 404.3 - Not Found "Error?"

I try to run the same tool with .net 4.0, but it keeps giving me an error:

[Warning]The HTTP namespace reservation already exists. 

I am running the exe version that I found inside C:\Windows\Microsoft.NET\Framework\v4.0.21006

There is also C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation , which has (what I assume) the same exe in it, and I can use it just fine. I tried to uninstall version 3.0 before installing version 4.0, but I still get the same warning and failure. Has anyone successfully done this with .net 4.0?

+7
silverlight wcf wcf-ria-services
source share
1 answer

I finally managed to get this to work. I followed the instructions found here , and I removed the HTTP namespaces that referred to Temporary_Listen_Addresses. after that I was able to successfully run the ServiceModelReg tool and install the material using .NET 4.0

In a nutshell:

 netsh http show urlacl netsh http delete urlacl url=INSERT THE RESERVED URL NAME HERE 
+12
source share

All Articles