views:

503

answers:

2

I'm trying to deploy my WCF RIA services application to our in-house server for testing. I've been following the instructions and comments from this blog site: http://timheuer.com/blog/archive/2009/12/10/tips-to-deploy-ria-services-troubleshoot.aspx

At the end someone points to this question:

http://stackoverflow.com/questions/1528324/how-to-solve-a-http-error-404-3-not-found-error

I've been trying to run that same tool with .net 4.0 but it keeps giving me an error:

[Warning]The HTTP namespace reservation already exists.

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

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

+2  A: 

I finally managed to get this to work. I followed the instructions found Here and I removed an HTTP namespaces that was referencing Temporary_Listen_Addresses. after I did that I was able to successfully run the ServiceModelReg tool and install the stuff with .NET 4.0

In a nutshell:

netsh http show urlacl
netsh http delete urlacl url=INSERT THE RESERVED URL NAME HERE
thepaulpage
A: 

If you're running Windows Server 2003, that won't work. I have a blog entry that shows how to fix this: http://aurirahimzadeh.spaces.live.com/blog/cns!F5CF78DEA3328162!3985.entry

Auri Rahimzadeh