Archive

Archive for the ‘Dont Forget’ Category

Opening Test Results Pane in Visual Studio Error

February 8th, 2010

Attempting to either run a unit test or open the Test Results pane in Visual Studio 2008 generates the following error on my machine:

“Exception has been thrown by the target of an invocation”

Following these instructions i have gotten around the issue. Sometimes I had to shut down a couple times and potentially be on the Team Explorer pane.

1. Close all the instances of Visual Studio
2. Open a VS (Without opening the solution).
3. Go to Test -> Windows -> Test Results.
4. Now open the solution and vsmdi.
5. Tests would run as usual

/via http://social.msdn.microsoft.com/Forums/en/vstsprofiler/thread/8bd8da75-76d2-4257-aeee-d040e6167bf9

Dont Forget

Sharepoint Central Administration Page not responding

November 10th, 2009

In Windows 2008 Server removing the DynamicIpRestrictionModule will allow the page to work.

Dont Forget ,

IE and ContentEditable Attribute

September 1st, 2009

Ran into an issue today using jQuery with IE and setting ContentEditable=’true’ on a click command. First I created a div with ContentEditable set to true without jquery and ran it in IE. Ok, it’s working. Now to try and add the attribute dynamically. I removed the attribute and replaced it with this bit of javascript:

$(function(){
$("#test").click(function() {
$(this).attr({ ContentEditable: "true" });
});
});

This did not work. Even though IE would allow the Cap “C” to set to true without jQuery, it would not work in doing so dynamically. Changing to:

$(function(){
$("#test").click(function() {
$(this).attr({ contentEditable: "true" });
});
});

Works perfectly.

Dont Forget, Tips and Tricks