SQL Server 2005, "5(Access Denied)" Error

I got the following error this morning trying to restore a SQL Server backup file:

Additional information: System.Data.SqlClient.SqlError: The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\[my database name].mdf'. (Microsoft.SqlServer.Express.Smo)

And a little bit of Googling brought me to a page which set me straight; it turns out SQL Server was trying to put the files into the wrong directory. You can read more about it here, in the original post where I found the info.

 

WebGL Musical Solar System with HTML5 & WebGL

Ajaxian.com has a good post today about an example program for HTML5 + WebGL, that really shows what we're going to be able to do with the web in the future. The video above is a recording of the actual program that runs in the browser. There is no flash, just stuff that HTML5 + WebGL can accomplish, when we finally get to have them in our browsers.

Plus I really just love the music.

Read more at Nihilogic Blog

 

Weird ColdFusion 9 ORM Error

I'm trying to get a feel for the new ColdFusion 9 ORM setup, and I ran into an error message that I'd not seen before stating that "[Macromedia][SQLServer JDBC Driver][SQLServer]'FK3498A0CE621DF1' is not a constraint." This isn't too daunting, since I'm used to weird SQL errors, but when I refreshed the error I got back "[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot find the object "post" because it does not exist or you do not have permissions." instead.Take a look at the particulars, and see if you can help me out.

 

ColdFusion Snippet Stumper

I ran across this bit of CF code in a project that I'm working on upgrading, and I was so completely confused by the it that I thought I might throw it up here to see what people think of it.

 

Make the Logo Bigger

Found a very funny song about web design while looking for good articles today. Perhaps it will give you a laugh too, since I found it so sadly familiar. Click here for 'Make the Logo Bigger' (warning, it autoplays).

 

UX Rule: Fixed Content Width

When you're laying out a site, one of the most basic questions you can ask is "Do we make this liquid or fixed width?" Do you let your site fill the user's browser, or do you hold it to a single fixed width? It's a good question, but let me make a suggestion, nay, let me suggestion a rule: Always use a fixed width for your content.

 

More Entries

Jon Hartmann, July 2011

I'm Jon Hartmann and I'm a Javascript fanatic, UX/UI evangelist and former ColdFusion master. I blog about mysterious error messages, user interface design questions, and all things baffling and irksome about programming for the web.

Learn more about me on LinkedIn.