Wednesday, July 15, 2009

"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection"

If you are using a third party host like discountasp.net and you are trying to host a wcf service
within your web application and you get this error message:

"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection"

you will need to add the following web.config key:

<servicehostingenvironment>
<baseaddressprefixfilters>
<add prefix="httplinktoyoursite">
</baseaddressprefixfilters>
</servicehostingenvironment>

If you have any tips, tricks or resources you would like to share with the group please email them to Susan Fischer at susan@clinchportal.com

Tuesday, July 7, 2009

Setting the default browser in visual studio

I keep forgetting how to do this and alway have to search for it so I thought I would post the answer here.

Step 1: Open any .aspx file
Step 2: From the File menu choose Browse With:
Step 3: Select the browser from the list and choose set as default.

Voila that is all. Thanks Steve for the answer.
http://stevenharman.net/blog/archive/2007/08/02/setting-a-default-browser-for-visual-studio.aspx