Quantcast
Channel: Cranky Bit » Microsoft
Browsing latest articles
Browse All 20 View Live

Backup and Restore Your SQL Database

It's easy to backup or restore your database directly with SQL. backup database MyDatabase TO DISK='c:pathtoMyDatabase.bak' with INIT The syntax is pretty self-explanatory once you see it. Backup the...

View Article


640k is Enough For Anyone

Back in the day, I used to always love mentioning the supposed quote from Bill Gates, which would have marked him as significantly short-sighted: "640k is more memory than anyone will ever need", or...

View Article


Resetting Terminal Services Connections

A few days ago at work, I went to connect to a headless server at work, and it indicated that I couldn't connect because all the Terminal Services connections were in use. What now? There are graceful...

View Article

Pogue on Windows Vista Copying OS X

If you haven't seen it yet, David Pogue's video discussing whether Windows Vista copies Mac OS X is pretty entertaining material...for Mac enthusiasts, anyway. Even though I think it is pretty blatant,...

View Article

Windows 2003 Upgrade Caused “500 NULL” Error in CFMX 7

I was testing an OS upgrade from Windows 2000 to Windows 2003 on a ColdFusion webserver earlier this week, and I experienced only one hiccup, although it was a momentary show stopper. The ODBC services...

View Article


Image may be NSFW.
Clik here to view.

Introducing WriteRoom

We've worked so hard at enabling our computers to multitask effectively--and increasingly faster--that we have far surpassed the human ability to multitask. Don't get me wrong; being able to continue...

View Article

Uninspiring Vista

Steve Jobs has revealed that nearly 50% of all Mac sales are from "Switchers", individuals who did not previously own a Mac. So it isn't news to hear about someone getting fed up with Windows and...

View Article

Keep Your cid: in Lowercase for Outlook!

I was pulling my hair out on Wednesday trying to figure out why certain inline images in an email I was generating would not display in Outlook, whereas others would. What's more irritating is that all...

View Article


A Better Way to Handle CSS Issues in IE

All web developers are familiar with the need to tweak their CSS so that it will look presentable in both IE and other more standards-compliant browsers. Many people have declared, some more infamously...

View Article


Free Command-Line Zip on Windows

Both Linux and Mac OS X have zip, gzip, and bzip2 command-line tools. What about Windows? If you're trying to do some scripting to automate some archiving or backup, and you want it to be a classic,...

View Article

Windows Vista and Samba Not Getting Along: NTLMv2 is the Culprit

After installing Windows Vista, I could not connect to my Samba fileshares. I'm running Samba v3.0.10 on CentOS v4.4. It turns out that NTLMv2, the authentication protocol, is required by default on...

View Article

Backward Use of CASE in SQL

I was updating an old app to use SQL on a new SQL Server database rather than an older Access database. As any database programmer is aware, there are irritating inconsistencies between Access SQL and...

View Article

Upgrading Subversion Requires a Bindings Update for Trac!

My Subversion/Trac server was at Trac v0.9.6 and Subversion v1.3.x because those were the latest stable releases when I set up the server. I decided it would be relatively quick and painless to at...

View Article


Why That Batch For Loop Isn’t Working

Time for another fun foray into Windows batch scripts. Perhaps you've used the FOR /F command to loop through the contents of a file (for instance, perhaps some data that was redirected to a text file...

View Article

Microsoft Access 2007 and ColdFusion 8

With Microsoft Office 2007, Microsoft strikes again and implements a new format for their Access database standard. I do not recommend using Microsoft Access databases for production applications. In...

View Article


Using SQL to Retrieve SQL

At work, someone made a request that required me to look through potentially hundreds of views in dozens of databases on our SQL Server. I certainly didn't want to examine each one at a time. How could...

View Article

Combining Repositories Into One Large Repository

I keep all my projects in separate Subversion repositories. I did this because it feels a lot cleaner this way, there is less risk in the event of repository corruption, and I use corresponding Trac...

View Article


Shrink the Unshrinkable SQL Transaction Log

Various reasons may cause SQL Server to get in a rut and not empty the transaction log of a database. In my case, our database backups were failing without our knowledge for several weeks, so the...

View Article

Separating a Large Repository

A few months ago, I posted an article about combining multiple Subversion repositories into one large repository. Some folks have expressed an interest in doing the opposite--separating one large...

View Article

Redirecting Errors to a File in Windows Batch Scripts

In my post on Redirecting Output to a File in Windows Batch Scripts, I discussed the basics of output redirection into a text file and how this can be used for logging, including error logging by using...

View Article
Browsing latest articles
Browse All 20 View Live