Recent Posts

<< Page 1 of 20 >>

Jul 15 Tue

Connecting to the Virtual Server COM interfaces on a x64 Machine

Shawn Cicoria writes I messed up a set of VHD files that were based upon differencing disks...I killed the parent drive - so, any child drives are useless...how do you know which drives are differencing disks and what is their parent?...Visual Studio is 32 bit and the COM registration on x64 machines is not visible via the WOW64 Registry redirection. So, a simple fix...

more 
Jul 14 Mon

Microsoft is Thinking About Monetizing Developer Products!

Scott Dorman writes Absolutely not! While I understand the desire to monetize every "product" coming out of Microsoft, it sometimes ends up hurting the community as a whole...The other problem is that you then start sending mixed signals to the community. On one hand you say that running static code analysis is a best practice but you then restrict that capability to companies/developers willing to spend $10K+ on a Team System SKU. This makes it hard for the community to recognize the real value since it becomes seen as a restricted/ elite/ enterprise-only feature. It also makes it harder for us to talk about things...

more 
Jul 11 Fri

Have You Been Looking for Activity Monitor?

Dan Jones writes Yes, we did kill off Activity Monitor. No, it's not totally gone. Well, the old one is totally gone. But the totally new one is there but we moved the launch point. It's now launched from the toolbar and the context menu off of the server. See the screen shots...I'll let you in on two cool things...

more 
Jul 8 Tue

Workaround for Using ScriptManager with other Frameworks

Bertrand LeRoy writes...ScriptManager isn't really usable without Microsoft Ajax because it includes the Microsoft library... The workaround is a simple control derived from ScriptManager and that enables the replacement of the MicrosoftAjax.js reference with a script of your choice:..This should broaden developer choice in terms of client framework while keeping the great benefits of ScriptManager. Hope that helps.

more 
Jul 7 Mon

Creating Event Handlers in C# using VS

Keith Elder writes Here is how you create an event handler in C# using Visual Studio. Here is a form I built in a matter of seconds....How many key strokes was that? Let's see. I had to type in my form the characters: this.Lo += TAB TAB. Easy quick and simple.

more 
Jul 4 Fri

What is the Benefit to Using IsNullOrEmpty?

Scott Dorman writes ...I know that every time I need to perform this test it is executing the exact same code in the same order. I don’t have to worry about someone accidentally testing “Length == 0” before the “!= null” and causing a NullReferenceExcpetion... Here is a more complete NullObjectExtensions class:

more 
Jul 3 Thu

Adding references - WebSite versus WebApplication

Geert Verhoeven writes When adding a reference to dll A using the WebSite template, Visual Studio automatically adds a reference to all dll’s that dll A references. This is done to ease the deployment but it can give some unwanted side effects. To make this clearer, I’ve created a simple solution structure that shows this issue...

more 
Jul 1 Tue

Virtual Earth Wrapper for Silverlight aka VIEWS refined and ready

Marc Schweigert writes The idea of being able to use managed code instead of JavaScript to build your Virtual Earth applications is very appealing to many...There is an interim solution for those of you dying to write some managed code in the browser instead of JavaScript...Hop on over to...get your hands on VIEWS

more 
Jun 30 Mon

Creating your base Virtual Machine

Keith Elder writes The purpose of this setup is to configure Windows Server 2008 as a development platform using VMWare...When starting from scratch I always create what I call a base virtual machine (VM). This VM serves as my base image for all of my needs and will be re-used for various setups. There are few things you need to keep in mind when you create a base image...

more 
Jun 27 Fri

4 SQL Injection Rules when Implementing URLScan 3.0

Steve Schofield writes It is good to be aware when you are implementing URLScan 3.0 and sql injection rules, what to actually check for. These 4 options are outlined in the sample rules offered in the URLScan 3.0 docs. I posted a sample rule...showing where they show-up.

more 
Jun 25 Wed

How to choose the right SQL Server Agent job step type

Matthew Roche writes Microsoft has provided two different SQL Server Agent job step types that you can use...Now which one leaps out at you as being ideal for running SQL Server Integration Services packages?...the answer...

more 
Jun 24 Tue

What happened to the Silverlight Watermark?

Kathy Kam writes One breaking change you may have noticed between Silverlight 2 Beta 1 and Beta 2 is that WatermarkedTextBox is no longer available in the Silverlight SDK...Because the update to TextBox will not happen until a future version of Silverlight feel free download and use the WatermarkedTextBox source code and unit test in the mean time... Here is an example on how to use it:

more 
Jun 23 Mon

How to add your own files to the VS Import/Export Settings

Sara Ford writes If you go to the Reset page on the Tools – Import / Export Settings Wizard, you’ll see the list of files you can reset to. These settings files are the ones created by the VS teams. But, let’s say that one of the default files just has some small option that just annoys you...or you want to add your own to the list...

more 
Jun 20 Fri

Frustrating error solved in Performance Point Monitoring

Darren Gosbell writes I could have solved this without having to resort to a web search. I have found that PerformancePoint has a few other non-specific error messages like this which are quite frustrating. I know there is the concept of not putting too much detail in the error messages for security reasons, but this error message is almost useless. Another interesting development that I stumbled across is that the Dashboard Designer does not even seem to know that it stores this setting...

more 
Jun 19 Thu

The SQLPS Firestorm

Dan Jones writes Within the PowerShell community there's a firestorm raging over SQLPS.exe our mini-shell that we're introducing in SQL2K8....I'm very proud of the work the team did in SQL2K8. Is everything perfect? Absolutely not. Are we adding a ship load of value to the product? Absolutely. If you don't like what we've down with PowerShell you're free to roll your own. PowerShell is an open environment for which you can register your own providers and build your own cmdlets. There's no restriction that states you must use sqlps.exe....

more 

<< Page 1 of 20 >>