Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

RE: Re: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'DomainServiceModule'

$
0
0

I have Silverlight web site running under DefaultWebSite\MyWebSite (C:\InetPub\wwwroot\mywebsite)

I have WCF service as develpoed as separat application. But i under IIS  im trying to setup under MyWebSite, so copied the"myservice" folder including bin and paste it under C:\Inetpub\wwwroot\mywebsite\myservice. in IIS i converted "myservice" into application. 

So now i have DefaultWebSite\MyWebSite\MyService

But when i try to browse myservice (ie. DefaultWebSite\MyWebSite\MyService\someservice.svc) i get the following error

Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'DomainServiceModule'

i dont see DomainServiceModule in web.config of MyService application. However I notice that in web.config of "mywebsite"

How do i  resilve this


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>