Interested in Sitecore?
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"
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
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
Tuesday, June 30, 2009
Theme not being applied for a certain page
Solution: You probably overrode the Page.OnInit event and did not call the base.
NOTE: If your page derives from a base page be sure to check if it is overriding properly by calling base.OnInit(e)
The Page.OnInit method does the following
protected internal override void OnInit(EventArgs e)
{
base.OnInit(e);
if (this._theme != null)
{
this._theme.SetStyleSheet();
}
if (this._styleSheet != null)
{
this._styleSheet.SetStyleSheet();
}
}
Obviously by not calling the base.OnInit method on my derived Page class would ignore the inclusion of theme files.
The original answer was found here: http://forums.asp.net/t/1028417.aspx
If you have any tips, tricks or resources you would like to share with the group please email them to chrisw_88@hotmail.com or susan@clinchportal.com and we will add them here.
Friday, May 22, 2009
Forcing a Refresh from JavaScript
http://devel.lubong.com/2007/06/24/javascript-how-to-force-page-to-reload/
They are using the window.location.reload(true); much like I am in my code.
However I did not realize why we use true instead of false. but he explains it so well:
The reload method accepts a boolean value, which, when it is true, causes the page to always fetch document from the server. When none is specified, it defaults to false, which may reload the page from its cache.
The issue I am having and if any of you know the answer is that in firefox on the second call to this I get a popup that says:
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
If you have any ideas on why please post them to this blog posting.
Thursday, April 16, 2009
Debugging a windows service
System.Diagnostics.Debugger.Break()
Hope this helps you as well.
If you have any tips tricks, resources you would like to share with the group please email them to Susan Fischer at susan@clinchportal.com
Saturday, April 11, 2009
Error when browsing to wcf service .svc
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
SOLUTION: This usually means that WCF is not registered with IIS. You can manually register it by clicking on start and run and running the following command:
C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\servicemodelreg.exe -i
If the directory does not exist then it means the proper version of the .net framework is not installed. You can install the proper version from the Microsoft site.
If you have any tips, tricks, or resources, please email them to Susan Fischer at susan@clinchportal.com and we will post them.
Thursday, April 9, 2009
Session keeps timing out when debugging iis7
In IIS7 on the Application Pool, there are ping settings that will kill a session if it gets not response. This is great for production as it keeps iis running slim but when debugging in Visual Studio and stopping on a breakpoint that is nasty.
I found an article that explains how to disable the ping or extend the timeout period.
Application Pool Ping setting in IIShttp://technet.microsoft.com/en-us/library/cc725836.aspx
If you come across any tips, tricks or resource you think the group will find helpful please email them to Susan Fischer at susan@clinchportal.com and we will post them here.
Friday, March 6, 2009
Agile Development and Jack Milunsky
person you want to get to know is Jack Milunsky. He is currently a blog author at:
http://agilesoftwaredevelopment.com/
You can also check out Jack Milunsky Agile development blog at blog.agilebuddy.com
Jack Milunsky is currently working at www.agilebuddy.com
They have a great tool to help keep your agile development on track.
Monday, March 2, 2009
asp.net cheat sheets
As most developers do not like to memorize charts of definitions, we may tend to hit google a lot for those common charts such as date format string, etc. Below are a list of those common charts. by bookmarking this blog entry you can easily find them all instead of trying to remember what search term yo used to find that specific chart.
If you have a chart you would like to see listed here please email Susan Fischer at susan@clinchportal.com and she will add it to the list below:
Date and Time Format Strings:
Friday, February 20, 2009
Where are the debugging visualizers from 2005? Why are they not in 2008? I found them!!!
Here is an article with a link to the dlls and how to integrate them:
http://www.codeplex.com/WCFVisualizer
Hope this helps you. If you have any tips, tricks, or resources that you think the group would be
interested in please email them to Susan Fischer at susan@clinchportal.com
Thursday, January 15, 2009
Error - The web services enumeration components are not available
Error - The web services enumeration components are not available
Published by
Joel Alexandre
1 year, 10 months ago
in .NET, Programming, Web and Windows.
In Visual Studio 2005, if you get this following message - The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application - try running this from the prompt: devenv /resetskippkgs
Wednesday, January 7, 2009
Lots of Windows Tools
Thanks to the B.B. the Guitar Hero for this one.
List of utils:
http://bhandler.spaces.live.com/blog/cns!70F64BC910C9F7F3!1231.entry?wa=wsignin1.0
List of stuff for Vista:
http://bhandler.spaces.live.com/blog/cns!70F64BC910C9F7F3!1844.entry
If you have any tips, tricks, resources you would like to share with the guild please email them to Susan Fischer at susan@clinchportal.com and we will post them.