Click here to Skip to main content
14,769,975 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to deploy a Silverlight 4 app to an IIS7 server on the same machine. One would think this would not be that difficult however I keep getting a 500.19 Internal Server Error. The config error messsage is Cannot add duplicate collection entity of type 'add' with unique key attribute 'name' set to Domain Service Module.

I tried to zip up the whole package and its huge. Basically I just took the adventureworks_lt database added a model and a domain service. Then I just addeda silverlight grid on the home page bound to the products table witha ria domain source. The app runs fine on the VS2010 server. I then Compiled the app into a deployment package and then used IIS 7 Import Application which worked fine.

I can send the code to anyone interested. I don't see a way to upload it to attach to this post.

Larry
Posted
Updated 24-Apr-10 7:52am
v2

Hi Larry,

You can upload to SkyDrive[^] and post the link here.
   
<pre lang="sql">I finally got it working, no thanks to Microsoft. Now we have to deal with the Silverlight 4 expired message. Unbelievable. I intend to write up my experience but basically I din&#39;t realize that the config file was not being published to the website so any changes I was making were not being sent to where the application was published. Thanks for your offer of assistance.
Larry</pre>
   
Once we upgraded to VS2010 through MSDN. Download Silverlight 4 relase 2. Recompiled and reinstalled everything on the sever it actually worked. The only other things I ended up doing were changing the framework release to the latest 4.03... or whatever.

Hope this helps someone who wnet through what I did.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900